Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sghhhh
Copy link
Contributor

@sghhhh sghhhh commented Jan 9, 2026

feat: Add desktop scaling and fix linux postinst

Description

This PR introduces global interface scaling for the desktop version and fixes issues with the Linux installation scripts.

Desktop Scaling:
** allowing users to adjust the interface size manually for better readability.**

  • Implemented desktop interface scaling in main.dart using FittedBox.
  • Added a new UI option in Settings to adjust the desktop scaling factor.
  • Updated storage preferences to save the desktopScale value.

Linux Fixes:

  • Fixed typos and corrected logic in the Linux postinst script.
  • Updated piliplus.desktop to include StartupWMClass (fixes taskbar icon).

Screenshots

1. Settings Interface

Settings UI
ui

2. Scaling Effect Demo

Default Scale 100% Custom Scale 200%
100 200

3. Linux Icon fix

Task Dock error Task Dock fixed
error_dock_icon Screenshot from 2026-01-10 01-02-05

Testing Checklist

  • Tested on macOS Linux Windows desktop .
  • Verified that scaling settings are saved and restored correctly.

sghhhh and others added 3 commits January 3, 2026 16:06
- Add delete-event callback that properly quits the application when window is closed
- Implement desktop interface scaling in main.dart using FittedBox.
- Add desktop scaling setting UI.
- Add desktopScale to storage preference.
- Fix typos and logic in Linux postinst script.
- Update piliplus.desktop with StartupWMClass.
@sghhhh sghhhh marked this pull request as ready for review January 9, 2026 18:35
Signed-off-by: dom <[email protected]>
@bggRGjQaUbCoE bggRGjQaUbCoE merged commit 28b69a0 into bggRGjQaUbCoE:main Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants