Hello, There is no shadows for CSD windows. I don't know if it's a kwin or gtk or gnome problem but if it's not a kwin problem can you tell me where I should report the issue. Thanks !
KWin provides an API for applications to add shadows. This is e.g. used by KRunner which is also a CSD application.
Is it a KWin specific API or a "standard" one ? AFAIK CSD apps have shadows on other DE.
Martin, maybe you could provide some infos here, on the GTK bug report ? https://gitlab.gnome.org/GNOME/gtk/issues/100
(In reply to jeremy9856 from comment #3) > Martin, maybe you could provide some infos here, on the GTK bug report ? > > https://gitlab.gnome.org/GNOME/gtk/issues/100 Sorry, but I'm not interested. Bad history
Well I can imagine that, Gnome dev can be "difficult" to work with I guess. Maybe we can put that aside in the interest of a better experience of the KDE and start by providing the infos they need ? We have a great desktop environment and there is so much momentum at the the moment it's too bad to block on such basic things.
Sorry, but no. That would create a stress level for me which I would not able to handle. Just answering right no already increases my pulse.
Ok no problem. I hope that it can be eventually fixed. Thank you.
Some CSD applications drop shadows under Wayland session. Try gnome-disk-utility on Plasma Wayland for example.
*** Bug 400634 has been marked as a duplicate of this bug. ***
We all know that gnome developers are doing wrong because they build a DE based on their view imposed to the commumity rather than listening to the needs of the community. We also know that they regularly break standards and eve their own code as a theme valid for one version of gtk is not valid any more for the next. It is for this reason that, after many years of unity and xfce I moved to kde, I was tired to debug my theme every month... This said I kindly ask to Martin to tell us how we can approach gnome community so that they fix the standard. I mean we can be many KDE users and if we push all together on the same point maybe we can get the result. Gianluca
I reported about 20 bugs in gnome's bug tracker when Dad broke. None got fixed. Do you really think it would change if users report it as well?
(In reply to Martin Flöser from comment #11) > I reported about 20 bugs in gnome's bug tracker when Dad broke. None got > fixed. Do you really think it would change if users report it as well? CSD not dad. Autocorrection...
First of all I apologize for the late reply @Martin You are right indeed Gnome developers are difficult to convince. I have a question. If we use gtk-nocsd package (in Archlinux AUR) we get server side decorations and shadow on the window. But I still miss the shadow under the menus in gtk apps. Looking at kwin code I see there is a piece of code in client.cpp void Client::readGtkFrameExtents(Xcb::Property &prop) { m_clientSideDecorated = !prop.isNull() && prop->type != 0; emit clientSideDecoratedChanged(); } which I'm trying to hack into void Client::readGtkFrameExtents(Xcb::Property &prop) { m_clientSideDecorated = true; emit clientSideDecoratedChanged(); } Am I going nowhere by forcing the compositor to treat gtk windows as normal windows? Regards Gianluca
Going nowhere indeed :(
(In reply to Gianluca Pettinello from comment #13) > But I still miss the shadow under the menus in gtk apps. Widget style/GTK has to upload shadows. See https://community.kde.org/KWin/Shadow
What you mean that gtk has to upload the shadow? Has gtk to fill an atom with the properties of the shadow? Sorry if I say something wrong but I'm not an expert.
(In reply to Gianluca Pettinello from comment #16) > What you mean that gtk has to upload the shadow? Yes. KWin has no idea what shadows tooltips and other popups have to have.
You can check how breeze does it: https://cgit.kde.org/breeze.git/tree/kstyle/breezeshadowhelper.cpp#n502
But can we trap a gtk window and let breeze make the shadow its own way? So we get also consistency in the shadow rendering, while csd is against consistency. Silly question: is it breeze or kwin who says if the shadow has to be drawn?