After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509105 - Use window decorations, when drawing menu, tool and status bars.
Use window decorations, when drawing menu, tool and status bars.
Status: RESOLVED INCOMPLETE
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-01-13 09:17 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2013-02-03 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The screenshot from bug 500437. (43.71 KB, image/png)
2008-01-13 09:26 UTC, Mathias Hasselmann (IRC: tbf)
Details

Description Mathias Hasselmann (IRC: tbf) 2008-01-13 09:17:12 UTC
Inspired by the second screenshot of bug 500437 I think, that GTK+ should be able to use parts of the window decorations for painting menu, tool and status bars.

The _NET_FRAME_EXTENTS could help here.

Despite hacking and such, the route has to be choosen:

  a) GtkWindow sets some wm-spec property to allow the window manager to draw left and right window decoration
  b) GtkWindow uses the _NET_FRAME_EXTENTS to set its window's shape (or alpha channel in composited environments). Still a wm-spec property is needed to inform the window manager, to move its decoration window below the client window.
Comment 1 Mathias Hasselmann (IRC: tbf) 2008-01-13 09:26:23 UTC
Created attachment 102716 [details]
The screenshot from bug 500437.
Comment 2 Matthias Clasen 2008-01-13 15:22:24 UTC
Not going to happen, if you ask me. 

I don't see any reason why 
"GTK+ should be able to use parts of the window decorations" for its own purposes.

There are more important problems to solve than that.
Comment 3 Owen Taylor 2008-01-13 17:15:47 UTC
The only way you'd want to do this is if you moved the decoration drawing
to the application. (Which has various large advantages, however, it's not
clear how it could work in the world of multiple entirely unrelated window
managers.)
Comment 4 Matthias Clasen 2013-02-03 21:51:11 UTC
we have other bugs where client-side decorations are being worked on - closing this