ironbar icon indicating copy to clipboard operation
ironbar copied to clipboard

system tray menus do not work when opened with right click

Open michaelBelsanti opened this issue 1 year ago • 3 comments

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:

  • Distro: NixOS Unstable
  • Compositor: Hyprland
  • Ironbar version: 0.15.0-pre (master)

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

michaelBelsanti avatar Mar 29 '24 07:03 michaelBelsanti

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.

JakeStanger avatar Mar 29 '24 13:03 JakeStanger

Eh I still see this behavior, does not seem fixed

Sway 1.9
Ironbar 1.16.0-pre

ToxicMushroom avatar May 31 '24 14:05 ToxicMushroom

Re-opened, will investigate.

JakeStanger avatar May 31 '24 15:05 JakeStanger

lol im so stupid

JakeStanger avatar Nov 05 '24 13:11 JakeStanger

There's two signals - I updated one of them but not the other. Resolved now :upside_down_face:

JakeStanger avatar Nov 05 '24 13:11 JakeStanger

ty :)

ToxicMushroom avatar Nov 05 '24 13:11 ToxicMushroom