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 504984 - Problems with hiding/showing transient windows
Problems with hiding/showing transient windows
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.12.x
Other Windows
: Normal normal
: ---
Assigned To: Cody Russell
gtk-bugs
: 501596 507355 511040 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-12-22 04:20 UTC by Cody Russell
Modified: 2008-03-02 14:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed solution (623 bytes, patch)
2007-12-23 21:05 UTC, Cody Russell
committed Details | Review

Description Cody Russell 2007-12-22 04:20:18 UTC
When you hide and then show a transient child window (say, an about box or something) rather than destroying it and creating it again, we have problems.

1. Create window
2. Create transient child window
3. Hide child window (without destroying)
4. Minimize the main window
5. Restore the main window

This is obviously my fault as a result of bug #164537 and I'll try to get a fix in ASAP.
Comment 1 Cody Russell 2007-12-23 21:05:59 UTC
Created attachment 101520 [details] [review]
Proposed solution

show_window_recurse() needs to check if the window is mapped before doing SW_RESTORE or SW_MINIMIZE on it.
Comment 2 Erik van Pienbroek 2007-12-24 17:41:04 UTC
I think this is a dup of a bugreport I created about 3 weeks ago: #501596
I'm going to check if my bugreport is also solved by this fix
Comment 3 Cody Russell 2007-12-24 19:37:12 UTC
Sorry Erik, I didn't see your other bug report.  I need to find out how to get on the list of people who is CC'd Win32-related bugs.  I might have fixed this much sooner.
Comment 4 Cody Russell 2007-12-24 19:39:15 UTC
*** Bug 501596 has been marked as a duplicate of this bug. ***
Comment 5 Cody Russell 2008-01-06 04:12:58 UTC
*** Bug 507355 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Köhler 2008-01-06 22:45:42 UTC
Re comment 3, you might want to watch the user gtk-win32-maint@gnome.bugs.  Just select Account > Email Preferences from the top-level bugzilla menu.
Comment 7 Cody Russell 2008-01-07 00:21:22 UTC
Thanks, Andreas.  Yeah I do watch it now. :)
Comment 8 Cody Russell 2008-01-21 15:28:57 UTC
*** Bug 511040 has been marked as a duplicate of this bug. ***
Comment 9 Christopher 2008-03-02 14:29:30 UTC
It seems that this bug has been fixed, but I don't understand how to go about implementing the solution.  Can anyone offer some help?