jbuchermn / newm

Wayland compositor
MIT License
958 stars 31 forks source link

Opening applications from waybar does not work #162

Closed AlexD97 closed 1 year ago

AlexD97 commented 1 year ago

When clicking on e.g. the volume indicator in waybar I want that pavucontrol opens. Instead, nothing opens visibly but the other applications slide under the waybar. In htop I can see that pavucontrol is open and if I kill it the applications that were partly under the waybar are now in place again.

jbuchermn commented 1 year ago

I can reproduce. This si something that used to work so I'm taking a look.

AlexD97 commented 1 year ago

Now it's indeed working. Unfortunately, waybar needs now a lot of time to start. I suspect that's due to xdg-desktop-portal-wlr. journalctl gives me

Portal service (wlroots implementation) was skipped because of a failed condition check (ConditionEnvironment=WAYLAND_DISPLAY).

Did you encounter the same behaviour? (I have copied my NixOS configuration mostly from yours.)

jbuchermn commented 1 year ago

I suspect this is unrelated. Indeed essbar sometimes takes a long time to start up, I've seen this as well.

AlexD97 commented 1 year ago

Do you mean it's unrelated to your fix or unrelated to xdg-desktop-portal-wlr?

jbuchermn commented 1 year ago

Unrelated to the fix (and possibly the compositor as such) - Portal sounds like a reasonable explanation.