Skip to content

Window selection from dock overview doesn't focus the chosen window #2676

@lobre

Description

@lobre

Edit

The issue is not strictly related to Reduce Motion being enabled, as I can reproduce it when disabled. But it is way easier to reproduce with Reduce Motion enabled. Like the problem happens every 2 clicks when enabled, while only "sometimes" when disabled.

What Happened?

With "Reduce Motion" enabled in system settings, clicking an app in the dock that has multiple open windows shows the expected window overview, but selecting a window often doesn't focus it. The overview closes and I'm returned to whatever window I was previously on. Sometimes repeating the action a few times eventually works, but it's inconsistent.

I'm not sure if this belongs to the dock or to Gala, but I'm reporting it here first.

Steps to Reproduce

  1. Enable "Reduce Motion" in system settings.
  2. Open Firefox in workspace 1.
  3. Open two Terminal windows in workspace 2.
  4. From either workspace, click the Terminal icon in the dock to show the window overview.
  5. Click one of the Terminal windows. You will see that most times, it won't switch workspace and focus that window.

Expected Behavior

The selected window should be focused immediately, regardless of the workspace, just like when animations are enabled.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfirmedVerified by someone other than the reporter

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions