JakeStanger / ironbar

Customisable Wayland gtk bar written in Rust.
https://crates.io/crates/ironbar
MIT License
486 stars 36 forks source link

system tray menus do not work when opened with right click #513

Open michaelBelsanti opened 3 months ago

michaelBelsanti commented 3 months ago

Describe the bug Both right clicking and left clicking opens the menu for items in the system tray, but if you open the menu with a right click, the buttons do not work.

To Reproduce Steps to reproduce the behavior:

  1. Right click on icon in system tray
  2. Click a menu option
  3. It doesn't work

System information:

Configuration https://github.com/michaelBelsanti/nixconfig/blob/main/modules/nixos/desktops/hyprland/ironbar.nix

JakeStanger commented 3 months ago

It seems the default behaviour of the GTK 'activate' signal is that it is only called when you click a menu item with the same button you click to open the menu. I've switched it to use a button click signal that seems more consistent.

ToxicMushroom commented 1 month ago

Eh I still see this behavior, does not seem fixed

Sway 1.9
Ironbar 1.16.0-pre
JakeStanger commented 1 month ago

Re-opened, will investigate.