Windows have only borders if __GTK_FRAME_EXTENTS is not supported by WM

Bug #1305016 reported by Leo Iannacone
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

gtkwindow >= 3.10 has new features about client side decoration (csd) and custom titlebar.

 The problem with those is that when you're going to assign a
 custom titlebar to the GTK window, gtk itself checks if
 Window Manager supports __GTK_FRAME_EXTENTS (which permits to have csd)
 and then does the follow:

if csd_supported:
   make window with no decoration
 if csd_not_suppoted:
   make window only with WM borders

 This is wrong. If csd is not supported you should still
 decorate window according with WM choices.

 This simple patch handle with this, unset custom_title
 does exactly this behavior and permits to WMs
 (which have no support for csd) to resize and move windows correctly.

Revision history for this message
Leo Iannacone (l3on) wrote :
Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Leo Iannacone (l3on)
summary: - Windows have now decoration also if __GTK_FRAME_EXTENTS are unsupported
- by WM
+ Windows have only borders if __GTK_FRAME_EXTENTS is not supported by WM
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for the debdiff, but this looks like an issue that should be fixed upstream.

Could you please report this bug to the GTK project, and attach your patch here:
https://bugzilla.gnome.org/

Once you've done that, please add a link to the upstream bug here.

Unsubscribing ubuntu-sponsors for now, please subscribe again if the patch is accepted upstream.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.