https://bugs.kde.org/show_bug.cgi?id=466135
Bug ID: 466135 Summary: Cascading windows should be more intuitive Classification: Plasma Product: kwin Version: 5.27.0 Platform: unspecified OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: core Assignee: kwin-bugs-n...@kde.org Reporter: s+...@erdbeermil.ch Target Milestone: --- SUMMARY Windows are now being cascaded after https://bugs.kde.org/show_bug.cgi?id=58063 was implemented for 5.27. This feature can currently be a bit unexpected in some specific scenarios, and I'd like to suggest changing it slightly to take care of this. As an example scenario, consider this: a user has opened a Dolphin window with a relatively small window size. They have opened a maximized terminal emulator above this Dolphin window. They then open System Settings, and its window is larger than the Dolphin window. The System Settings window is then being cascaded, despite Dolphin being behind the (maximized) terminal emulator. My proposal would be: do not consider windows that are already being covered by other existing windows when deciding whether a new window is being cascaded or not. In the example scenario above, the System Settings window is being cascaded, even though the Dolphin window that triggers this behavior is not currently visible to begin with. STEPS TO REPRODUCE 1. Set window placement to "Centered" 2. Open a small window 3. Open or move a maximized window in front/on top 4. Open a window that would cover the previously opened small window OBSERVED RESULT The window opened last is being cascaded, therefore being off center. EXPECTED RESULT The window is not being cascaded, because cascading it does not prevent the small window being covered in this case, as it had already been covered before. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.27.0 ADDITIONAL INFORMATION This may also be of relevance: as of this change, forcing a centered window placement via "Window Rules" -> "Initial Placement" can also cascade the window. This may be unwanted behavior, assuming the user actually wants to force the window to be in a centered position. -- You are receiving this mail because: You are watching all bug changes.