Mstdn
Mstdn copied to clipboard
Icon not displaying properly on system tray on Linux
In Kubuntu 16.10, the icon on the system tray looks like a black mess. Not sure what's going on there.

Note that the icon next to it in the screencap is a raster image, so I don't think this is related to these icons needing to be vectorised.
I think size of tray icons in this repository is wrong. Mstdn puts 34x36 tray icon to support retina display. This is generally not a problem because Electron recognizes pixel ratio automatically and shrinks the icon to half size if pixel ratio is 1. So icon should be shown as 17x18 image in environment where pixel ratio is 1. However, it looks to put 34x36 icon directly on your environment.
I think I need to prepare 17x18 icon and set it to tray if app is run in Kubuntu.
This may be specific to my setup, but setting normal_window to true sort of made this problem disappear. With that, the icon does not display at all in the system tray, and the icon displayed elsewhere shows correctly.
I'll leave this open since I guess this shouldn't happen even without a normal window.
I'm happy to hear that. Thank you for confirmation.
Then let's leave this issue open. If someone encounters this issue, please feel free to add a comment.