YaLTeR/niri

Cannot open Waybar system tray popup more than once

Supreeeme opened this issue · 8 comments

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

  • niri version: latest git
  • GPU: RX 6600
  • CPU: Ryzen 7 5700X

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?

Seems to work fine in sway.

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)

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

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

  • State A:
    • I cannot close the menu by clicking on a window or on the workspace background.
    • I can close a menu by clicking on one of its items or on the waybar icons.
    • I can always open the menu by clicking on the tray icon.
  • State B:
    • I can close the menu by clicking on a window or on the background.
    • I can still close it by clicking on its items or on the waybar icons, but this way the menu won't open on the following clicks.
    • If I click on another tray icon to open its menu, the menu of the previous one can then be opened by clicking.

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.

I also face the same issue. I noticed that sometimes when hiding the popup, the border remains on the screen, and I can't interact with the area inside the border. Is this related to the issue?
Screenshot from 2024-07-10 18-50-11

Huh, weird

I can also confirm this issue.

In my case, I have two monitors (so waybar appears once on each), and the menu will function normally as long as I click on the icon alternating the bars.