Bug 436854 - Window rules "no titlebar and frame" no longer works
Summary: Window rules "no titlebar and frame" no longer works
Status: RESOLVED DUPLICATE of bug 429171
Alias: None
Product: kwin
Classification: Plasma
Component: rules (show other bugs)
Version: 5.21.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-10 06:20 UTC by Tommi Kyntola
Modified: 2021-09-03 17:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommi Kyntola 2021-05-10 06:20:25 UTC
SUMMARY


STEPS TO REPRODUCE
1. Add a window rule for "window class match" with substring match for konsole
2. Add "No titlebar and frame" set to "Yes" to Appearance & Fixes
3. Set it to "force"
4. "Apply"

OBSERVED RESULT
- already open konsole windows lose their titlebar
- new konsole windows still open up with titlebar

EXPECTED RESULT
- new konsole windows should open up without titlebar

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 34
KDE Plasma Version: 5.21.5
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I've tried "apply initially", "force", "remember", but try as I might I can't get new konsoles to open up without titlebar. Adding a set active opacitity 50% for example along with the "no titlebar" rule _does work_, so the rule clearly gets activated, but evens so every new window comes with title bar. I tried same thing for firefox and same thing, oapcitiy worked but titlebar was there.
Comment 1 Tommi Kyntola 2021-05-10 06:56:36 UTC
Not sure if related, but also the firefox mic and cam poplet that pops up when in a meeting now has borders, too, and naturally that used to be borderless.
Comment 2 Tommi Kyntola 2021-05-10 09:09:26 UTC
This seems to be related to the plasma-workspace-wayland, since after I switched back to x11-plasma this works as expected and the same goes for the firefox popup.

I'm not easily switching back to waylad plasma, since xcape won't work there. I know there are evdev alternatives, but it'll take before I have the actual time to make the switch to those.
Comment 3 Ismael Asensio 2021-09-02 20:40:08 UTC
So the specific rule "No titlebar and frame" doesn't work on new windows when using Wayland, but it works as usual on X11. Did I understand right?

If so, I think this is duplicate of https://bugs.kde.org/show_bug.cgi?id=429171
Comment 4 Ismael Asensio 2021-09-03 17:40:51 UTC

*** This bug has been marked as a duplicate of bug 429171 ***