Skip to content

"Mouse" or "Sloppy" Window Focus Mode prevents PaperWM from switching window focus on GNOME 50 #1160

@Filip-K

Description

@Filip-K

Describe the bug
On GNOME 50, PaperWM window focus switching (invoked via a keyboard shortcut or when opening a new window) does not work if GNOME Window Focus Mode is set to "Mouse" or "Sloppy". The focus switches for a split second, but then jumps back to the window under the mouse pointer. With these options active, focus is effectively pinned to the window under the mouse pointer and cannot be switched away from it.

To Reproduce
Steps to reproduce the behavior:

  1. In GNOME Tuner, switch the Window Focus Mode from Click to Mouse or Sloppy.
  2. Try switching the focus to a different window using PaperWM shortcuts.

I would need to double-check this, but I have the impression that the bug is sometimes not present for a while after boot and only starts happening a few minutes into the session, after which it persists.

Expected behavior
Same behavior as in GNOME 49: With Window Focus Mode set to "Mouse" or "Sloppy", focus follows mouse when the pointer crosses a window boundary, but the focus can nevertheless be manipulated with PaperWM keyboard shortcuts and switches to a new window when one is open.

Screenshots
If applicable, add screenshots to help explain your problem.

System information:

Distribution: Bazzite 44.20260501.0 (Silverblue)
GNOME Shell: 50.1
Display server: Wayland
PaperWM version: 50.0.1
Enabled extensions:
- hide-cursor@elcste.com
- paperwm@paperwm.github.com
- just-perfection-desktop@just-perfection
- blur-my-shell@aunetx
- caffeine@patapon.info

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesirable behaviorgnome-50Specific to GNOME Shell 50

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions