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 696187 - Window size not restored on hide+show with set_default_size
Window size not restored on hide+show with set_default_size
Status: RESOLVED DUPLICATE of bug 696882
Product: gtk+
Classification: Platform
Component: Widget: Other
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-03-20 12:32 UTC by Stéphane Démurget
Modified: 2013-05-31 22:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Micro example using gjs (433 bytes, application/javascript)
2013-03-20 12:38 UTC, Stéphane Démurget
Details

Description Stéphane Démurget 2013-03-20 12:32:55 UTC
I've got an application with a window that has a default size.

Before commit [b495ce5 widget: Give some meaning to "visible"], calling hide() and then show() would result in the window having either the default size or the size changed by the user, which was really useful.

After the commit, the size is not restored when the window is programmatically shown again, is this a bug?
Comment 1 Stéphane Démurget 2013-03-20 12:38:16 UTC
Created attachment 239352 [details]
Micro example using gjs

Here's a very short test program using gjs that changes the visibility of a dummy window periodically to show the problem.
Comment 2 Benjamin Otte (Company) 2013-05-31 22:25:27 UTC
This is fixed in master and 3.8.2.

*** This bug has been marked as a duplicate of bug 696882 ***