Ship with KWin script that adds window decorations for GTK3 CSD windows/apps
Open, WishlistPublic

Description

This thing works great! https://store.kde.org/p/1235093

I know it's a store.kde.org package and not a distro package, but is there any way we can ship with it anyway? Do we have some facility for automatically installing store.kde.org content?

ngraham created this task.Dec 24 2018, 9:18 PM
ngraham triaged this task as Wishlist priority.

I know it's a store.kde.org package and not a distro package, but is there any way we can ship with it anyway? Do we have some facility for automatically installing store.kde.org content?

No, and I don't think such a thing would be wise anyway. In the same way we don't and can't add 3rd party PPAs by default, as we can't vet the content, which may change outside our control.

We would have to package/install the script in settings package, or some other.

elcste added a subscriber: elcste.Jan 8 2019, 2:28 PM

There's also the gtk3-nocsd package. It seems to do the job without any problems in the little bit I've used it.

filipf added a subscriber: filipf.EditedJan 8 2019, 4:13 PM

It still has two titles so people would complain there's two titlebars.

I use this dirty hack to get rid of the gtk title: https://github.com/PCMan/gtk3-nocsd/issues/19

gtk3-mushrooms manages to patch it out by default.

Ah yes, that!

I pitched shipping with gtk3-nocsd a year ago, and we almost did it, but the double titlebar issue killed it. :( See T6818: Consider including gtk3-nocsd package in Kubuntu ISO/default install.

If that issue is solved in gtk3-mushrooms, we should consider shipping with that instead. I've used it and it's great! However I don't believe it's currently packaged in Kubuntu, so that would need to get done first.

filipf added a comment.Jan 8 2019, 8:20 PM

gtk3-mushrooms contains a lot of patches that change GTK3, so only the no-csd one would have to be applied .

But there is something I totally forgot about though. These modifications don't work on Wayland :(

With 'gtk3-nocsd' the situation may be even worse than with no patch because the titlebars fall back to having only the close button, although the shadows surprisingly work.