Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide high-resolution versions of Windows icon #268

Open
1 of 6 tasks
rocapz opened this issue Jun 10, 2024 · 3 comments
Open
1 of 6 tasks

Provide high-resolution versions of Windows icon #268

rocapz opened this issue Jun 10, 2024 · 3 comments

Comments

@rocapz
Copy link

rocapz commented Jun 10, 2024

Relevant components

  • Standalone tray application (based on Qt Widgets)
  • Plasmoid/applet for Plasma desktop
  • Dolphin integration
  • Command line tool (syncthingctl)
  • Integrated Syncthing instance (libsyncthing)
  • Backend libraries

Environment and versions

  • Versions of syncthingtray, qtutilities and c++utilities: 1.5.4
  • Qt version: ?
  • C++ compiler (name and version): ?
  • C++ standard library (name and version): ?
  • Operating system (name and version): Windows 11

Bug description
The .exe icon (and all of its shortcuts) looks blurry and pixelated.

Expected behavior
It should look smoother and high resolution, like other program icons.

Screenshots
Screenshot 2024-06-09 083607
Screenshot 2024-06-10 082820

Additional context
I believe this is happening because the program icon is only available in one resolution (there should be icons in 16x16, 24x24, 32x32, 48x48, 128x128 and 256x256 stored in the program to display) and Windows is trying to scale it to fit the desired icon size, which it can't do well.

My screen resolution is 1920x1200 if that helps.

@rocapz rocapz added the bug label Jun 10, 2024
@Martchus Martchus added enhancement and removed bug labels Jun 10, 2024
@Martchus
Copy link
Owner

You have your UI quite big so this is expected as I have never put any effort into providing icons of different sizes. Not sure how much sense it makes considering it'll bloat the binary size even further. It would be nice if one was able to use SVG just like under GNU/Linux (maybe that's actually possible as of some Windows update?).

@Martchus Martchus changed the title Program icon looks blurry and pixelated Provide high-resolution versions of Windows icon Jun 10, 2024
@rocapz
Copy link
Author

rocapz commented Jun 10, 2024

I don't think it'll add too much bloat personally (at most 50KB if done correctly) but I understand if you decide not to. It's not that big of a deal.

@soredake
Copy link

You have your UI quite big so this is expected

Screenshot from 100% scaling and 1080p resolution, scaling is not the problem:
изображение

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants