locked
Windows 7 SERIOUS bug that appears VERY frequently RRS feed

  • Question

  • When a maximized application window opens a modal dialog (the dialog that freezes all the background windows waiting for the user to answer) and the user chooses to show the desktop (let's say by pressing WinKey+D) and then he tries to go back to the application he can't!

    The modal dialog is hidden (perhaps it has to do with z-order) and the rest of the app's windows are disabled!

    The only hackish solution I found for not loosing your work is to open SysInternals Process Explorer and try restoring the main window from in there...

    It doesn't reproduce with MessageBoxes.

    Just write a simple WPF app and do this:


    MyDialog dlg = new MyDialog();

    if ((bool)dlg.ShowDialog() == true){...}

    That would reproduce it.

    Setting the owner (dlg.Owner = this;) seems to fix the problem but I think that Windows should not hide like that a modal dialog, no matter what.

    This can be fixed at an OS level, can't it?

    I'm hearing your thoughts...



    • Edited by Kostas0 Friday, November 9, 2012 11:14 AM
    Friday, November 9, 2012 11:07 AM

All replies

  • Hi,

    I suggest you check if this problem still occur in Clean Boot mode:

    How to perform a clean boot to troubleshoot a problem in Windows Vista or Windows 7

    http://support.microsoft.com/kb/929135


    Alex Zhao

    TechNet Community Support

    • Marked as answer by Cloud_TS Thursday, November 15, 2012 8:54 AM
    • Unmarked as answer by Kostas0 Tuesday, November 27, 2012 3:04 AM
    Monday, November 12, 2012 6:25 AM
  • I have just tried reproducing this in Clean Boot mode and nothing changes.
    It is still there (the bug).

    Just write and run this code in WPF:

    MyDialog dlg = new MyDialog();
    dlg.ShowInTaskBar = false;
    if ((bool)dlg.ShowDialog() == true){...}

    ...where MyDialog is a custom dialog window and the main window is maximized (so that you can't see the dialog to bring it to the foreground later),
    then once the dialog (MyDialog) appears, hit WinKey+D to show the desktop,
    then click on the application's button on the Windows task bar to restore it.

    By doing that, the apps main window appears but the dialog does not (it is behind the main window). Of course the main window is disabled and you can do nothing about it... :|

    (Windows 7, Automatic Updates Enabled, Core i7, NVIDIA GEFORCE with CUDA)

    Also, another small annoying bug in Windows 7 is that the icon tray popup (containing the hidden icons -- appearing near the clock at bottom right) sometimes does not get hidden after it has been opened.

    (I could make a living out of reporting bugs in the Windows UI...)



    • Edited by Kostas0 Wednesday, November 28, 2012 8:44 PM
    Tuesday, November 27, 2012 2:07 AM
  • So, are there any news on this?
    Did anyone reproduce this bug?
    Will MS fix this?

    Thursday, December 6, 2012 7:05 AM