[Wayland-bugs] [Bug 771112] some applications windows to grow on startup (with CSD)

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 16 22:00:19 UTC 2016


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

Kai Willadsen <kai.willadsen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kai.willadsen at gmail.com

--- Comment #11 from Kai Willadsen <kai.willadsen at gmail.com> ---
(In reply to Emmanuele Bassi (:ebassi) from comment #7)
> Querying the window size and then setting it with GtkWindow API is perfectly
> fine.
> 
> Querying the window size with GtkWidget API and then setting it with
> GtkWindow API, *or* querying the window size with GtkWindow API and then
> setting it with GtkWidget API, is *not* okay, and only worked up until now
> with server-side decorations only on X11.

In the current GtkWindow docs for gtk_window_get_size(), the second and fourth
notes directly contradict each other, and I'm pretty sure the first paragraph
is now also incorrect. I don't know what these other apps do, but Meld's
implementation here listens for configure-event and uses those sizes, which is
pretty much exactly what the first note there tells you to do.

Pushing this issue on to applications by suggesting that they've been doing
something unsupported this whole time is not a very reasonable position to
take.

-- 
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/20160916/783a3901/attachment.html>


More information about the wayland-bugs mailing list