Tk Source Code

View Ticket
Login
Ticket UUID: 2901053
Title: iconified toplevel cannot be restored (Windows only)
Type: Bug Version: obsolete: 8.5.8
Submitter: traum Created on: 2009-11-20 10:20:06
Subsystem: 65. Generic Window Operations Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Open Last Modified: 2009-11-20 17:20:06
Resolution: None Closed By:
    Closed on:
Description:
The attached example causes the following problem:

1. Start: wish desktop.tcl
2. Press Button "Dialog" -> Application modal toplevel appears
3. Iconify all existing windows using the "Show Desktop"-Button right next to the Start-Button of the Taskbar
4. Start another Application (eg. firefox)
5. Try to restore the iconified TK-App using its icon in the taskbar -> nothing happens !!!!


Workaround:
The only way to restore the dialog is to push it to the foreground with the Windows Task Manager. 
But this can mean that it is shown everytime another application is started. 

Comment:
The problems only occurs if the dialog is application-modal. The grab command 
seems to cause the problem.The example has been taken 
from the Iwidgets Shell Widget class and has beem changed so that it runs without 
Itk, Itcl and Iwidgets. The implementation is very similar to the TCL script 
implementation of the tk_messageBox dialog for Unix.
User Comments: traum added on 2009-11-20 17:20:06:

File Added - 351798: desktop.tcl

Attachments: