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 511040 - Hidden menus and popups redisplayed after minimize + restore
Hidden menus and popups redisplayed after minimize + restore
Status: RESOLVED DUPLICATE of bug 504984
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-01-21 14:33 UTC by Toralf Lund
Modified: 2008-01-21 15:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Source code of a very simple test program (1.27 KB, text/plain)
2008-01-21 14:35 UTC, Toralf Lund
Details
Screenshot of dock area with the window minimized (5.87 KB, image/jpeg)
2008-01-21 14:53 UTC, Toralf Lund
Details
Screenshot of the application window just after restoring it (2.91 KB, image/jpeg)
2008-01-21 14:54 UTC, Toralf Lund
Details

Description Toralf Lund 2008-01-21 14:33:41 UTC
Please describe the problem:
If I minimize, then restore a Gtk main window, any windows that are transient for the window, that have been shown, then hidden (but not destroyed) throughout the lifetime of the window, will re-appear, but with their contents hidden. That is, what is displayed are "blank" windows with the shape, size and position of the windows shown earlier.

The same thing happens for pulldown menus, which I presume (without having studied the code) are implemented as transient windows without decorations.

Steps to reproduce:
1. Build and start the test application to be attached.
2. Click the "File" button so as to "pull down" the file menu.
3. Hide the menu by clicking outside the window.
4. Press the Minimize icon on the window frame.
5. Restore the window by pressing its button in the Windows toolbar


Actual results:
The window is correctly restored, but an additional gray box appears where the file"menu was displayed after step 2. If "File" is selected again, this box is replaced by the proper file menu.

Also, after step 4, an additional "box" appears at the bottom of the screen, presumably indicating that an additional window was minimized.

Expected results:
The main window (only) is minimized and restored.

Does this happen every time?
Yes

Other information:
I have a simple test application only for menus, but I've seen what I interpret as another symptom of the same problem for dialog windows.

The problem may actually be reproduced with just about any Gtk application.
Comment 1 Toralf Lund 2008-01-21 14:35:49 UTC
Created attachment 103340 [details]
Source code of a very simple test program
Comment 2 Toralf Lund 2008-01-21 14:37:45 UTC
I'm using the binaries from http://www.gimp.org/%7Etml/gimp/win32/downloads.html when testing.
Comment 3 Toralf Lund 2008-01-21 14:53:57 UTC
Created attachment 103341 [details]
Screenshot of dock area with the window minimized

Note that if I press the box labelled "gtkctest,exe", the (empty) menu only is displayed.
Comment 4 Toralf Lund 2008-01-21 14:54:55 UTC
Created attachment 103342 [details]
Screenshot of the application window just after restoring it
Comment 5 Cody Russell 2008-01-21 15:28:57 UTC

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