GNOME Bugzilla – Bug 145481
popup and dnd windows appear in Windows Task Manager
Last modified: 2004-12-22 21:47:04 UTC
1. Open the Windows Task Manager and switchto the Applications tab. 2. Start a GTK+ application. Place the task manager and the application's window so that you can see both at once. 3. Open a menu in the gtk application, and leave it open for a second. 4. Note that a new entry, for the popup menu, has appeared in the task manager. This also happens for other GDK_WINDOW_TEMP type windows, such as those created during drag and drop operations. I will attach a patch that fixes this problem.
Created attachment 29252 [details] [review] Patch against gtk+-2.4.1 to fix this bug
Created attachment 29258 [details] [review] new version of the patch Oops, I shouldn't have had that CS_DROPSHADOW bit in there
Are you sure the WS_EX_TOPMOST bit won't cause any ill effects? What problem does adding it fix?
It probably shouldn't be in there. I was thinking that it wouldn't hurt, and might help keep menus above other windows. As this isn't actually a problem, I shouldn't have been trying to fix it.
Created attachment 30553 [details] [review] Trivial patch to include whole desktop in GDK root window.
Oops, attached that to wrong bug... Hmm, how does one obsolete an attachment...
Patch (except the WS_EX_TOPMOST bit) applied to HEAD and gtk-2-4.