EDIT: I copied this over to the GitHub because I hadn't realized that bug reports had moved there.
I recently discovered that I actually have a third-party Snap installation of Joplin installed on my system. In addition to the basics of Snap packaging, there seems to be one single difference between the Snap version and the official version, namely changes to
joplin.desktop that allow Joplin to properly display its AppIndicator (AKA "tray icon") on Ubuntu. You can view the changes here:
This specifically fixes the bug referenced in the Joplin code here:
The link in the code suggests there's a fix:
I did some further digging online, and
XDG_CURRENT_DESKTOP=Unity appear to be two known workarounds for the AppIndicator not working in Ubuntu.
The main reason I discovered that Joplin's official distribution doesn't support the AppIndicator is that the AppIndicator for the Snap version is full-color, standing out from and kind of clashing with the monochrome AppIndicator icons adjacent to it:
I guess my questions are as follows:
- Could the AppIndicator fix from the Snap be integrated into the official Joplin distribution?
- Could the AppIndicator icon on Linux (or at least Ubuntu, idk about other distros) be changed to use the same resource as the Menu Bar icon on macOS?
Note: this function appears to be where it happens:
- Though this is kind of off-topic, would it feasible or realistic for Joplin to have an official Snap and/or Flatpak/Flathub distribution? (Having both would be ideal because different Linux distros have different preferred "app stores"; Ubuntu, for example only ships with Snap, and Flathub must be added manually.)
FWIW the Menu Bar icon also seems slightly out of scale with its neighbors on Big Sur, though this problem also affects Nextcloud Desktop:
(If you figure out the icon scaling issue, I might suggest the same fix over at Nextcloud.)