Hypr icon indicating copy to clipboard operation
Hypr copied to clipboard

Hypr doesn't give polybar system tray

Open 0xf0xx0 opened this issue 2 years ago • 6 comments

Please describe the bug Polybar can't get the system tray. It's either grayed out or outright missing.

error: Failed to reconfigure tray client, removing... (XCB_WINDOW (3))

Steps to reproduce:

  1. Disable Hypr bar.
  2. Start polybar.

Expected behavior Polybar should be able to use the system tray, and i should be able to interact with it.

Screenshots image

Anything else? confeeg

Log: loooooooooooooog

0xf0xx0 avatar Apr 13 '22 06:04 0xf0xx0

comment out the tray module, disable bar, relog into hypr and try again. I'll test your config on my machine later today when I get back home

vaxerski avatar Apr 13 '22 08:04 vaxerski

Should be fixed in ca432cc589b82b5c9142a4cb0b78eed6e95c3e58, the config option is bar:force_no_tray, set it to 1 and it should work.

vaxerski avatar Apr 14 '22 16:04 vaxerski

Should be fixed in ca432cc589b82b5c9142a4cb0b78eed6e95c3e58, the config option is bar:force_no_tray, set it to 1 and it should work.

Still not interactable, to confirm that I did it right it's force_no_tray=1 inside Bar {}?

0xf0xx0 avatar Apr 14 '22 17:04 0xf0xx0

yes. Make sure to restart Hypr after changing the setting.

vaxerski avatar Apr 14 '22 17:04 vaxerski

Its still not interactable.

0xf0xx0 avatar Apr 15 '22 19:04 0xf0xx0

I've tried to enable focus on NoInterventions, but didn't help.

Although all the icons are there for me, they indeed are not interactable. Perhaps configuring them would help? I'll look more into it in a bit.

I am not recieving (by I, I meant the WM) any ENTER events, which I guess should happen for input...?

vaxerski avatar Apr 20 '22 16:04 vaxerski