Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open Waybar system tray popup more than once #311

Open
Supreeeme opened this issue Apr 25, 2024 · 8 comments · May be fixed by #818
Open

Cannot open Waybar system tray popup more than once #311

Supreeeme opened this issue Apr 25, 2024 · 8 comments · May be fixed by #818
Labels
bug Something isn't working

Comments

@Supreeeme
Copy link
Contributor

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
@Supreeeme Supreeeme added the bug Something isn't working label Apr 25, 2024
@YaLTeR
Copy link
Owner

YaLTeR commented Apr 25, 2024

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
Copy link
Owner

YaLTeR commented Apr 25, 2024

Seems to work fine in sway.

@nebulosa2007
Copy link

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)

@salman-farooq-sh
Copy link
Contributor

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

@lost-melody
Copy link

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.

@mohammedbilalns
Copy link

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

@YaLTeR
Copy link
Owner

YaLTeR commented Jul 10, 2024

Huh, weird

@loop-rookie
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants