Tk Source Code

View Ticket
Login
Ticket UUID: 2805928
Title: wm iconphoto -default in slave interp affects other interps
Type: Bug Version: obsolete: 8.5.7
Submitter: sbron Created on: 2009-06-13 15:04:00
Subsystem: 65. Generic Window Operations Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Open Last Modified: 2009-06-13 15:04:00
Resolution: None Closed By:
    Closed on:
Description:
After using the -default switch of the [wm iconphoto] command in a slave interpreter, new toplevels in other interps, including the master, get the icon specified in the slave. This seems at odds with the statement in the interp manual page that "[e]ach interpreter is independent from the others". Also the wm manual page does not mention this contamination between interps.

The best solution would be if each interp had its own concept of a default icon. But if that's not possible due to restrictions of the involved functions provided by the underlying window manager, there should be a clear warning about this in the wm manual page.

Tested with Tk 8.5.7 on OpenSuSE 11.1