[linux] system tray icon cannot be smaller than a fixed size at 32x32 pixels #88
Labels
client
Affects the Client project
enhancement
New feature or request
linux
Linux
wontfix
This will not be worked on
This is an issue on some linux system trays because the SQRL icon is imposing a limit on the size of the task bar. Which in turn impinges on the title bar of windows and break the desktop layout.
This is especially true when the Desktop System Tray is configured to use 24px or 16px icon sizes... which are both smaller than 32px.
Looking at your code here it would appear that the system tray icon that sqirrel client is using is this one:
https://github.com/sqrldev/SQRLDotNetClient/blob/master/SQRLDotNetClientUI/Assets/SQRL_icon_normal_32.png
However it might be a better idea would be to instead use the SVG icon. For example:
https://github.com/sqrldev/SQRLDotNetClient/blob/master/SQRLDotNetClientUI/Assets/SQRL_icon_normal.svg
Which then will permit the desktop environment to do its own scaling of the icon properly. And without introducing any bitmap artefacting. This is expecially true when dealing with these smaller icon sizes.
Not sure how you create this system tray icon in your DotNet code. If it is in turn calling out to QT5 or GTK2 library. However I believe it should be possible to rectify this.
The text was updated successfully, but these errors were encountered: