[Wayland-bugs] [Bug 764413] Wayland: not fullscreenable gtk+ apps can be fullscreened

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 4 07:07:42 UTC 2016


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

--- Comment #4 from Olivier Fourdan <ofourdan at redhat.com> ---
(In reply to Matthias Clasen from comment #3)
> At the end of that bug, you said: forget about that patch, it's not needed.
> 
> Now it is needed after all ?

It was not needed for the original issue in bug 757530 in its initial
description.

There are two slightly different issues, one is the app requesting to
fullscreen/maximize state by itself, although its own constraints wouldn't
allow for it, that was bug 757530 which was addressed with attachment 314815
(ie teach gtk+ not to try to switch its state to maximized if the window
cannot).

There is another issue that I found out while working on bug 757530 which is
with the Wayland compositor trying to switch a window to fullscreen/maximized
while the window itself should not be allowed (again, due to its constraints),
this would be this bug 764413 here instead, and attachment 314814 was to
address this (other) particular issue - As attachment 314814 did not really
reached a consensus, I preferred to move forward as this wasn't required for
bug 757530.

The problem with Wayland is that we don't have a way for the client to tell
what should be the maximum size if a given window, so the compositor might
always try to maximize/fullscreen a window, and its then up to the client to
deny the change.

Either we take the approach followed in attachment 314814 or we (try to) add
some hints[*] in xdg-shell that would allow an application to tell the
compositor that some window states such as maximized/fullscreen should not be
possible.

[*] by the lack of a better word here, some people do not like the word "hint"
for this and would avoid it, but I use it here as this is what X uses so we
have a broader common understanding...

-- 
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/20160404/405c8ce0/attachment.html>


More information about the wayland-bugs mailing list