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 702764 - Mutter doesn't respect decorations settings when WM_TRANSIENT_FOR flag is set.
Mutter doesn't respect decorations settings when WM_TRANSIENT_FOR flag is set.
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2013-06-20 17:43 UTC by Erick Perez Castellanos
Modified: 2013-09-06 22:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (1.21 KB, text/plain)
2013-06-20 17:43 UTC, Erick Perez Castellanos
  Details
window: Don't force attached dialogs to be border-only (1.72 KB, patch)
2013-06-24 18:19 UTC, Florian Müllner
committed Details | Review

Description Erick Perez Castellanos 2013-06-20 17:43:54 UTC
Created attachment 247366 [details]
testcase

Using Gtk+ master when over a dialog is called gtk_window_set_transient_for and gtk_window_set_titlebar simultaneously mutter set the decorations of the window.

The attachment below shows the issue.
Comment 1 Florian Müllner 2013-06-24 18:19:44 UTC
Created attachment 247665 [details] [review]
window: Don't force attached dialogs to be border-only

Originally attached dialogs did not have a titlebar, which the code
still assumes though it hasn't been true for a while; nowadays, the
actual look of attached dialogs is controlled by the theme.
As GTK+ recently gained the ability to set custom titlebars, we need
to support attached dialogs with either full borders (WM decorations)
or border-only (GTK+ titlebar).
Just remove the left-over assumption to make it work as expected.
Comment 2 Jasper St. Pierre (not reading bugmail) 2013-06-24 18:39:51 UTC
Review of attachment 247665 [details] [review]:

OK.
Comment 3 Florian Müllner 2013-09-06 22:24:45 UTC
Oops, this was committed months ago, but I forgot to close this ...

Attachment 247665 [details] pushed as 2103ff6 - window: Don't force attached dialogs to be border-only