Skip to content

[linux] system tray icon cannot be smaller than a fixed size at 32x32 pixels #88

@dreamcat4

Description

@dreamcat4

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientAffects the Client projectenhancementNew feature or requestlinuxLinuxwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions