| Description: |
OriginalBugID: 5324 Bug
Version: 8.3.1
SubmitDate: '2000-05-02'
LastModified:
Severity: LOW
Status: UnAssn
Submitter: techsupp
OS: Windows NT
OSVersion: 4.0sp5
Name:
Vince Darley
Extensions:
Winico 0.3
ReproducibleScript:
# type this into a wish shell
package require Winico
# you need a .ico file
set icon [winico create myIcon.ico]
winico setwindow . $icon
# Now the window has a nice icon
wm resizable . 0 0
# Not any more!
ObservedBehavior:
The standard Tk icon replaces 'myIcon'.
Note that there are other related 'icon replacement' problems. For example, the following script, when double-clicked on, fails to set the window's icon:
package require Winico
set icon [winico create myIcon.ico]
winico setwindow . $icon
Or for a similar effect, type this into a shell:
toplevel .t ; winico setwindow .t $icon
DesiredBehavior:
I expect setting a toplevel's icon to be a permanent change, and not for Tk to reset the icon when it sees fit...
I don't think these bug existed in, e.g., Tk 8.1 but I'm not sure.
|