[Wayland-bugs] [Bug 783901] Restoring maximized window state in Wayland results in tiny window
mutter (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jun 21 07:51:21 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=783901
Jonas Ådahl <jadahl at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jadahl at gmail.com
--- Comment #14 from Jonas Ådahl <jadahl at gmail.com> ---
(In reply to Olivier Fourdan from comment #13)
> Well, the reason is pretty obvious, calling meta_window_force_placement()
> from xdg_toplevel_set_maximized() will set "window->placed" to TRUE prior to
> call meta_window_maximize() and thus we shall not return early:
>
> https://git.gnome.org/browse/mutter/tree/src/core/window.c#n2729
>
> As a result, the "old" geometry is saved with a zero size...
>
> But reverting commit 7801df7 will re-introduce bug 782183 and bug 781353 so
> we should fix those differently, so we ought to find a different fix.
What size is sent on unmaximize? If it's anything other than 0x0, I think we
should change it so 0x0 is sent. We probably unmaximize to some calculated
"smart" fallback size, and that should probably be disabled on Wayland as the
client has a better idea of what to unmaximize to.
--
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/20170621/8e5229f3/attachment.html>
More information about the wayland-bugs
mailing list