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

Gnome 48 support #1002

Open
inducer opened this issue Mar 6, 2025 · 2 comments · May be fixed by #1003
Open

Gnome 48 support #1002

inducer opened this issue Mar 6, 2025 · 2 comments · May be fixed by #1003
Labels
bug Undesirable behavior gnome-48 Specific to GNOME Shell 48

Comments

@inducer
Copy link

inducer commented Mar 6, 2025

Describe the bug
Many keyboard shortcuts stop working in Gnome 48. (Specifically, "window left" and "window right").

To Reproduce
Steps to reproduce the behavior:

  1. Open two windows.
  2. Hit Windows+Right arrow.
  3. Observe an error on the gnome shell console and no window movement.
Mär 06 15:25:41 arc gnome-shell[3019]: JS ERROR: TypeError: binding.is_reversed is not a function
                                        preview_navigate@file:///home/andreas/.local/share/gnome-shell/extensions/[email protected]/navigator.js:549:27
                                        asKeyHandler/<@file:///home/andreas/.local/share/gnome-shell/extensions/[email protected]/keybindings.js:368:51
                                        @resource:///org/gnome/shell/ui/init.js:21:20

System information:

Distribution: Debian GNU/Linux
GNOME Shell: 48.rc
Display server: Wayland
PaperWM version: 47.1.0
Enabled extensions:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- native-window-placement@gnome-shell-extensions.gcampax.github.com
- [email protected]
@inducer inducer added the bug Undesirable behavior label Mar 6, 2025
@inducer
Copy link
Author

inducer commented Mar 6, 2025

I was able to recover the functionality I care about by, um, editing these lines (in ~/.local/share/gnome-shell/extensions/[email protected]/keybindings.js)

PaperWM/keybindings.js

Lines 404 to 406 in 07214b0

keyHandler = opensNavigator
? asKeyHandler(Navigator.preview_navigate)
: asKeyHandler(handler);

to read

keyHandler = asKeyHandler(handler);

I'm guessing this loses preview functionality, but 🤷 I don't want that anyhow, and it beats not being able to switch windows without a mouse. 🙂

@inducer
Copy link
Author

inducer commented Mar 6, 2025

Ah, dang. That doesn't seem to suffice. The window highlight switches, but then there's an assertion failure:

Mär 06 15:42:28 arc gnome-shell[3054]: meta_window_is_focusable: assertion '!window->unmanaging' failed

(And the new window does not get focused.)

@Thesola10 Thesola10 added the gnome-48 Specific to GNOME Shell 48 label Mar 7, 2025
@Thesola10 Thesola10 linked a pull request Mar 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesirable behavior gnome-48 Specific to GNOME Shell 48
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants