[Wayland-bugs] [Bug 767052] Wayland: Iconifying a modal dialog makes the app unusable

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue May 31 13:31:09 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=767052

--- Comment #1 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 328802
  --> https://bugzilla.gnome.org/attachment.cgi?id=328802&action=edit
[PATCH] headerbar: do not show buttons for modals/transients

GtkHeadeBar checks the window type hint to determine if the regular
buttons such as menu, maximize or iconify should be visible in the
header bar.

However, an application may very well use a "normal" toplevel window and
set it transient and modal afterwards. In such a case, the iconify
button would remain visible, and the user can hide the window, but being
a modal, the parent window would remain insensitive.

Check for the window type, modality and transient relationship to decide
whether or not the regular toplevel buttons should be visible in the
header bar.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160531/7af59ed5/attachment.html>


More information about the wayland-bugs mailing list