dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud
GNU General Public License v2.0
42 stars 3 forks source link

Tray icon/menu only works in X #48

Open dshoreman opened 5 years ago

dshoreman commented 5 years ago

Tray menu works great in i3, less so on Sway. That is, nothing shows up at all.

Menus aren't supported just yet but theoretically tray icons by themselves should work.

Possible Causes

Worth Trying

dshoreman commented 5 years ago

Update: Done some testing, seems both possible causes were true.

Built Sway with tray enabled1 and installed both konversation and qt5-wayland. Ran QT_QPA_PLATFORM=wayland-egl konversation to force it to use the Wayland renderer2. Enabled tray icon in settings, and the icon shows up.

Yad on the other hand still did nothing, and doesn't even register any errors in the Swaybar debug output, so clearly it's not using the SNI3 protocol. Waybar also only worked with Konversation, not Nextshot.

Potential Options

1 May not have been required, seems to be set to auto in the meson_options.txt file 2 Running without this option resulted in blank UI 3 Status Notifier Item