In KDE4 there was a "Hide window title bar" option in KWin rules which in Plasma 5 become "No titlebar and frame". Could be possible to split this rule into two? I don't want titlebars, but I want borders and shadows. Reproducible: Always Steps to Reproduce: 1. Set the no titlebar option in the Windows Rules. 2. Windows have no borders. Actual Results: Windows have no titlebars neither borders or shadows. Expected Results: Windows have not title, but borders. kwin 5.1.0.1
fyi, it's still the very same rule. What you want requires extension to the Deco API (and support by the deco plugin) - the core cannot handle this. However, what the core *could* provide was "invisible" borders (for resizing), "external" shadows could be provided by a client hint. Is this possibly to work around bug #333554, ie. (broken[1], btw.) Gtk3 CSD? [1] The rely on the motif interpretation of metacity/mutter which significatly differs from original MWM (which would *draw* borders, but you could not move or resize the window...)
could you please explain the use case? Especially given that Oxygen provides per-window rules for setting the border size?
(In reply to Martin Gräßlin from comment #2) > could you please explain the use case? Especially given that Oxygen provides > per-window rules for setting the border size? Ah, I see now. Oxygen has the rules in its settings, while Breeze uses KWin's one? I guess this is really confusing IMHO. Anyway, using the Oxygen window rule as in KDE 4 times I fixed my "issue", but I guess "invisible borders" should be provided by KWin as Thomas said.
The question still is "what is your issue" (it's simpler to spot the "proper"/best solution if we know the problem ;-)
> The question still is "what is your issue" (it's simpler to spot the > "proper"/best solution if we know the problem ;-) especially as I'm just again working on KDecoration2. If you explain your use case and I see that it makes sense, it could be quite fast to tweak the API to support it :-)
Created attachment 89226 [details] Screenshot of KDE 4 Well, in KDE 4 I didn't use to have titlebars as in this screenshot. In Plasma 5, when using Breeze with the "No titlebar and frame" option enabled for every windows, it's not possible to resize the windows and then this rule it's unusable. Using Oxygen the problem went away because it works exactly as before. So, I'm not sure anymore whether this is a bug in KWin or Breeze.
thanks. That's then missing in the theme. I'll set to WONTFIX as I don't see a need for KWin core.
you apparently want a titlebarless decoration plugin, not special casing (rules purpose) that's not very hard to do (but better wait for KDecoration2 api to be settled)