After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 762600 - Save window size properly
Save window size properly
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-24 11:52 UTC by Matthias Clasen
Modified: 2016-02-24 13:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Save window size properly (1.24 KB, patch)
2016-02-24 11:52 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2016-02-24 11:52:16 UTC
This is following the current best practice as layed out in
https://wiki.gnome.org/HowDoI/SaveWindowState. It is important
to use gtk_window_get_size, otherwise the window will grow
under Wayland.
Comment 1 Matthias Clasen 2016-02-24 11:52:19 UTC
Created attachment 322231 [details] [review]
Save window size properly
Comment 2 Ignacio Casal Quinteiro (nacho) 2016-02-24 11:53:22 UTC
Review of attachment 322231 [details] [review]:

Looks good to me.
Comment 3 Matthias Clasen 2016-02-24 13:07:55 UTC
Attachment 322231 [details] pushed as f7918d9 - Save window size properly