-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Activating a window with the foreign toplevel management protocol does not work #4829
Comments
likely 17339e0 you need to:
if you issue an activate while you still have a keyboard-exclusive LS open, it will be ignored. |
@vaxerski thanks, that was it and it looks like our use case mostly fits in pattern (destroy layer shell before focusing). However, maybe this constraint is too limiting? Focus and keyboard interactivity can be orthogonal. For example if someone wants to replicate a MS Windows' alt-tab like tool which activate windows on entry selection and stays displayed on screen. Disabling keyboard interactivity temporarily during the switch would be awkward in this case. I could not really follow from the linked issues discussion if this new constraint is preventing some class of bugs / misuse? |
make your layer's focus model ON_DEMAND then and not EXCLUSIVE. |
Well, in this case it mostly works (there is an issue with repeating key presses that I haven't really looked into) but then applications can steal the keyboard interactivity if the user clicks on them and that is not necessarily desirable for this kind of application. Disabling |
precisely an app launcher.
that's why technically this should be a privileged protocol. The reason you even get it exposed is because I am kind enough to ignore that. I don't see anything wrong here. Everything is done per-spec, you say it works, so I'll be closing this. The behavior won't change. ON_DEMAND exists. |
Sure, thanks for spelling that out. |
Hyprland Version
System/Version info
Bug or Regression?
Regression
Description
As reported in lbonn/rofi#117 and prasanthrangan/hyprdots#848, switching windows with rofi wayland does not work anymore.
Most likely it is a regression that appeared between 0.34 and 0.35.
Some WAYLAND_DEBUG=1 logs
activate()
has no effect here, focus does not change.How to reproduce
rofi -show window
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: