[Wayland-bugs] [Bug 757530] GtkWindow reacts on maximize action even if it is fixed-width

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 5 04:41:29 PST 2015


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

--- Comment #12 from Olivier Fourdan <ofourdan at redhat.com> ---
(In reply to Olivier Fourdan from comment #10)
> [...]
> Anyhow, I added this patch for the sake of completion, it's not required to
> fix this current issue, if we get attachment 314814 [details] [review] and
> attachment 314815 [details] [review] into gtk+ this is less likely to happen.
> 
> Of course, if an app calls gtk_window_maximize() on a window which is not
> resizable (or not resizable enough) it will still fail on Wayland without
> attachment 314813 [details] [review] but it's a slightly less probable
> scenario (and one could argue that the app itself sets its window constrains
> so if the app tries to maximize a window while not allowing for it using
> constrains, it would be a bug in the app itself).

Actually, no, I'm wrong here.

If an app calls gtk_window_maximize() it will translate to
gdk_wayland_window_maximize() and we shall receive an event configure from the
compositor, and we'll get a chance to deny it with attachment 314814 if the
constrains do not allow for it.

So we can forget about attachment 314813, it's not needed.

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


More information about the wayland-bugs mailing list