Tk Source Code

View Ticket
Login
Ticket UUID: 220430
Title: The focus -force command does not work if the window has been iconized
Type: Bug Version: final: 8.0.5
Submitter: welch Created on: 2000-10-31 23:27:44
Subsystem: 65. Generic Window Operations Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2000-11-01 06:27:44
Resolution: Fixed Closed By: welch
    Closed on: 2000-10-31 23:27:44
Description:
OriginalBugID: 1176 Bug
Version: 8.0.5
SubmitDate: '1999-02-10'
LastModified: '1999-08-15'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: All
OSVersion: NA
Machine: NA
FixedDate: '1999-08-15'
FixedInVersion: 8.2


Test script:

after 6000 reraise

proc reraise {} {
    after 6000 reraise

    wm deiconify .
    raise .
    focus -force .
}

Run this test script and minimize the window. Notice that it will not pop up above all other ones as it should. When it does pop up, it does not have the focus.



This works as expected in 8.2.0.  A change was made to deiconify
for Windows in 8.2b3 that makes raise and focus superfuous. 
-- 08/15/1999 hobbs