Overview
Artifact ID: | a6e011b10861bbe4eee9b59ecde15369f7fd892d |
---|---|
Ticket: | d01ec103c0a87efb1ea6204eb9a7c0be4c981d0d
After "wm withdraw .;wm state . iconic", "wm state ." always returns "withdrawn" |
User & Date: | oehhar 2014-01-23 14:05:19 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
<H1>Issue</H1> When a tk window is started by the sequence "wm wtihdraw .;wm state . iconic", the command "wm state ." will return "withdrawn" and not "iconic". <H1>Environment</H1> * Linux CentOS 6.5 64 bit * WM: Gnome * Tk 8.5.7, 8.6.0, 8.6.1 <H1>Demonstration</H1> Having a file "wmt.tcl" like: <verbatim> package require Tk proc showstate {} { puts [wm state .] after 1000 showstate } wm withdraw . wm state . iconic after 1000 showstate </verbatim> And starting by: <verbatim> wish wmt.tcl </verbatim> The printed result of "wm state ." is constantly "withdrawn". Even if the window state is changed by the user by deiconifying the window, it still shows "withdrawn". Only an explicit command "wm state . normal" will change the returned state.
- foundin changed to: "8.6.1"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "67. Unix Window Operations"
- title changed to:
After "wm withdraw .;wm state . iconic", "wm state ." always returns "withdrawn"
- type changed to: "Bug"