YaLTeR / niri

A scrollable-tiling Wayland compositor.
https://matrix.to/#/#niri:matrix.org
GNU General Public License v3.0
2.83k stars 79 forks source link

Cannot open Waybar system tray popup more than once #311

Open Supreeeme opened 2 months ago

Supreeeme commented 2 months ago

Clicking a tray icon that has a popup menu only causes the popup menu to appear once. If you try and click it again, the menu will not appear. However, if you click a different icon with a menu, that menu will appear, and then if you click the first one again, the menu will appear.

System Information

YaLTeR commented 2 months ago

I can also reproduce. That's weird though, pretty sure it worked before. Also it seems if I close the menu by clicking on a different window then it opens fine the next time?

YaLTeR commented 2 months ago

Seems to work fine in sway.

nebulosa2007 commented 2 months ago

I can also confirm this bug. I thought it was a waybar issue and not so annoying for me, only for one application I use.

I test like this: when I left-click on the app icon, the menu always appears, but when I click on some item in menu, it no longer appears after that on left-click. Only restart the app helps.

niri 0.1.5 (6a80078)

SalmanFarooqShiekh commented 1 week ago

I also faced this issue, but it seemed intermittent in my case, not sure about the reproduction steps but definitely present.

lost-melody commented 2 days ago

I'm facing the same issue, and I've noticed that the menus of tray icons have two kinds of behavior:

Each of the two states seems to last for a while, and the shift to the other state, but I'm not sure under what condition it would shift.