https://bugs.kde.org/show_bug.cgi?id=529064

            Bug ID: 529064
           Summary: Minimize animation goes to the task manager on another
                    screen when using one task manager per screen
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.7
       Reported In:
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager widgets
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

With one panel and task manager per screen ("Show only tasks from the current
screen" enabled), minimizing a window often animates it to the task manager of
a neighbouring screen instead of to its own button.
STEPS TO REPRODUCE
 1. Wayland session, two or more screens side by side, each with a panel
containing a Task Manager with "Show only tasks from the current screen".
 2. Open a small window on screen B.
 3. Move it to screen A, close to the edge it shares with B.
 4. Minimize it.

OBSERVED RESULT
 The window animates to screen B's task manager, where it isn't shown anymore.
Windows that were never on another screen also go without an animation target
until their task is clicked.

EXPECTED RESULT
 The window animates to its button in screen A's task manager.

ADDITIONAL INFORMATION
 - Task managers report button positions per panel with set_minimized_geometry,
but never send unset_minimized_geometry. When a task leaves a task manager, the
old entry stays in KWin. Window::iconGeometry() then picks the closest panel
among all entries, and the stale one can win.
 - With more than one task manager, positions were only published on
activation. That's an X11 leftover (one icon geometry per window). So the new
screen's panel had no entry until the task was clicked.
 - Proposed fixes: plasma/plasma-workspace!7419 and plasma/plasma-desktop!4249.
Related: plasma/plasma-desktop!4199 and KWin commit 36a51bdf (center-based
closest-panel calculation, 6.7).

 SOFTWARE/OS VERSIONS
 Operating System: Ubuntu 26.04.1 LTS
 KDE Plasma Version: 6.6.7 (plasma-workspace), 6.6.6 (plasma-desktop, KWin)
 KDE Frameworks Version: 6.24.0
 Qt Version: 6.10.2
 Kernel Version: 7.0.0-43-generic
 Graphics Platform: Wayland
 Graphics Processor: NVIDIA GeForce RTX 3070

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to