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

            Bug ID: 528962
           Summary: Dodge Windows panel stops dodging permanently after
                    creating a new window on Wayland
    Classification: Plasma
           Product: plasmashell
      Version First 6.7.5
       Reported In:
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

**Title:** Dodge Windows panel stops dodging permanently after creating a new
window on Wayland

**Environment**
- Operating System: Kubuntu 26.10
- KDE Plasma: 6.7.5
- KDE Frameworks: 6.29.0
- Qt: 6.11.2
- Kernel: 7.3.0-10-generic (64-bit)
- Graphics Platform: Wayland
- CPU: AMD Ryzen 7 5800HS
- GPU: AMD Radeon Graphics
- RAM: 12 GiB

**Steps to Reproduce**

1. Configure a Plasma panel with the "Dodge Windows" visibility setting.
2. Restart Plasma Shell using `systemctl --user restart
plasma-plasmashell.service`.
3. Drag an existing application window over the panel.
4. Observe that the panel correctly dodges the overlapping window.
5. Create a new window, either by launching an application or pressing `Ctrl+N`
in an already-running Dolphin instance.
6. Drag any application window over the panel.

**Expected Result**

The panel should continue dodging overlapping windows, including newly created
windows.

**Actual Result**

After a new window is created, the panel stops dodging all windows and remains
visible over them, behaving as though "Always Visible" were enabled.

The panel's configured visibility mode remains "Dodge Windows."

**Additional Findings**

- The issue occurs whether the newly created window is maximized or not.
- Creating a second Dolphin window using `Ctrl+N` reproduces the problem, so
launching a new application is not required.
- Opening the application launcher, searching, and dismissing it with Escape
does not trigger the issue.
- Closing the newly created window does not restore correct behavior.
- Changing panel visibility from "Dodge Windows" to "Always Visible" and back
does not restore correct behavior.
- Restarting `plasmashell` restores normal operation until another window is
created.
- Focus stealing prevention is set to Low.
- The issue is not specific to fullscreen applications or games.

**Workaround**

Restart Plasma Shell:

```bash
systemctl --user restart plasma-plasmashell.service
```

This temporarily restores Dodge Windows functionality.

**Suspected Cause**

The behavior suggests that the panel's window-overlap tracking or visibility
recalculation stops functioning after a new Wayland toplevel window is created.
The precise cause has not been established.

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

Reply via email to