https://bugs.kde.org/show_bug.cgi?id=452240
Bug ID: 452240 Summary: wayland: "No titlebar and frame" rule doesn't force SSDs Product: kwin Version: 5.24.4 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: rules Assignee: kwin-bugs-n...@kde.org Reporter: k...@subraizada.com CC: isma...@gmail.com Target Milestone: --- SUMMARY I use the "No titlebar and frame": Force to "No" window rule to have KWin force server side decorations on some applications which use CSD by default. My rules were working in X11 - KWin would draw the titlebar above the application's CSD and would draw the Breeze theme's window shadows around the edges of the application. But the rules no longer work in Wayland. I've tested that the "Keep above other windows" rule is still applying properly to these applications in Wayland, so there's no issue with window matching. I can apply the rule in the opposite direction to remove SSDs on normal Qt/GTK applications like Konsole, Dolphin, Qalculate. That works fine in all scenarios. So force-removing SSDs works, but force-adding them doesn't. STEPS TO REPRODUCE 1. For an application which uses CSD, add a rule which has "No titlebar and frame" set to "Force: No" 2. Run the application under an X11 session or in XWayland: the rule works. Run the application under native Wayland: the rule has no effect. OBSERVED RESULT When the application is running under native Wayland, the application does not have SSD applied by KWin. SSDs are drawn in X11 or when using XWayland. EXPECTED RESULT The application has server side decorations applied by KWin even in native Wayland. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION I tested this with Gnome's Simple-Scan (any other CSD-using Gnome application should also reproduce) and also with some Electron applications. Electron applications will run under XWayland by default, so this needs to be added to the Exec line in their .desktop files to have them use native Wayland: " --enable-features=UseOzonePlatform --ozone-platform=wayland". Possibly related: https://bugs.kde.org/show_bug.cgi?id=429171 -- You are receiving this mail because: You are watching all bug changes.