Skip to content

[Bug] Custom shortcuts for "Switch between open windows" don't auto-dismiss on modifier release #2138

@thmsnhl

Description

@thmsnhl

The "Switch between open windows" shortcut only auto-dismisses the switcher and confirms the selection when the default Super+Tab binding is used. Any custom shortcut does not auto-dismiss — the user must explicitly click a window or use the number key assigned to it.

To reproduce

  1. Open COSMIC Settings → Keyboard → Keyboard Shortcuts
  2. Find "Switch between open windows" and set a custom shortcut (tested with Ctrl+Tab and Shift+F)
  3. Press the shortcut — the switcher opens and highlights a window
  4. Release the keys
  5. The switcher remains open; no window switch occurs

Expected behavior

Releasing the modifier key (or the shortcut keys) should confirm the highlighted window and dismiss the switcher, consistent with the behavior of the default Super+Tab binding.

Actual behavior

The switcher stays open after releasing the keys. The only way to confirm a selection is to click a window or press the number assigned to it (e.g. Ctrl+1).

Additional context

The default Super+Tab shortcut works correctly — releasing Super immediately switches to the highlighted window.
This behavior appears to be hardcoded specifically for Super+Tab and is not applied to custom bindings.

  • OS: Pop!_OS 24.04 LTS
  • Desktop: COSMIC (Wayland)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions