This forum has been archived. All content is frozen. Please use KDE Discuss instead.

No shadows with gtk qt engine theme for menus

Tags: None
(comma "," separated)
ngativ
Registered Member
Posts
66
Karma
0
OS
It seems that there's no shadows for contextual menus while using the gtk theme engine. Is this intentional, a bug or just a missing feature?
luebking
Karma
0
Missing feature in Gtk - the applications resp. GUI styles don't hint the need/interest to be shadowed.
ngativ
Registered Member
Posts
66
Karma
0
OS
i didn't know ( i don't think) that kde and qt applications were able to use the gtk toolkit.
luebking
Karma
0
By "gtk theme engine" you meant "kwrite --style gtk+"?
Same issue (doesn't set resp. hints) but other addressee - it's a Qt built-in style.

That aside, of course you can link Qt and gtk+ at the same time, eg. the gtk-qt style does so.
ngativ
Registered Member
Posts
66
Karma
0
OS
Ok then, this seems to be a kwin bug due to lack of interest . Kwin can't properly detect a menu.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
As previously mentioned, this is a Gtk bug, not a KWin bug as applications need to indicate which areas are menus - the window manager has no idea what the application itself is, or where elements are positioned within it.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
luebking
Karma
0
The problem is not to know whether a Window is a menu, but to know whether the window wants to be shadowed at all (very simple case: it paints "shadows" etc. internally)
Next problem for KWin is to know about the light concept of the current theme (mostly N-S vs. NW-SE) why we require the UI elements to indicate that
a) they want a shadow drawn by the WM
b) what this shadow looks like and where to place it
ngativ
Registered Member
Posts
66
Karma
0
OS
Shouldn't the composite window manager have the last word on how, where and when shadows should be rendered?. The rest of the window managers can do it properly.
luebking
Karma
0
Last word - sure.
General claim? No.

We removed the generic shadows since there were strong reservations in the oxygen team about their visual appeal. So we enabled the clients to hint:
- shadow me
- make it look this way

Show me how the "Other window manager" *properly* shadow the oxygen transparent theme with rounded borders....


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar