|
2014-01-30
| ||
| 14:51 | • Ticket [d01ec103c0] After "wm withdraw .;wm state . iconic", "wm state ." always returns "withdrawn" status still Open with 4 other changes artifact: 6d817241b7 user: anonymous | |
|
2014-01-25
| ||
| 16:25 | • Ticket [d01ec103c0]: 4 changes artifact: 183bb68fc6 user: oehhar | |
|
2014-01-24
| ||
| 14:27 | • Ticket [d01ec103c0]: 3 changes artifact: b2d430be6a user: jenglish | |
|
2014-01-23
| ||
| 14:05 | • New ticket [d01ec103c0]. artifact: a6e011b108 user: oehhar | |
| Ticket UUID: | d01ec103c0a87efb1ea6204eb9a7c0be4c981d0d | |||
| Title: | After "wm withdraw .;wm state . iconic", "wm state ." always returns "withdrawn" | |||
| Type: | Bug | Version: | 8.6.1 | |
| Submitter: | oehhar | Created on: | 2014-01-23 14:05:19 | |
| Subsystem: | 67. Unix Window Operations | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Open | Last Modified: | 2014-01-30 14:51:47 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
IssueWhen a tk window is started by the sequence "wm wtihdraw .;wm state . iconic", the command "wm state ." will return "withdrawn" and not "iconic".Environment
DemonstrationHaving a file "wmt.tcl" like:
package require Tk
proc showstate {} {
puts [wm state .]
after 1000 showstate
}
wm withdraw .
wm state . iconic
after 1000 showstate
And starting by: wish wmt.tcl 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. | |||
| User Comments: |
anonymous (claiming to be sbron) added on 2014-01-30 14:51:47:
I reproduced the reported behavior on OpenSUSE 13.1, Tcl/Tk 8.6.1, KDE 4.11.2. It also happens when using [wm iconify .] instead of [wm state . iconic] oehhar added on 2014-01-25 16:25:25: Thank you, Joe, for the quiestions: What window manager are you using?I tested it on two systems Thin Client with Ubuntu and Openbox and TCL 8.6.0Virtual PC with CentOS and Gnome and TCL 8.5.7 and 8.6.1When I click "About" in the gnome desktop, it returns:
After [wm state . iconic], does the window actually reappear iconified (in the task bar, usually), or does the WM leave it withdrawn?The window appears iconified. The issue is that "wm state ." returns "withdrawn" but it should return "iconified". jenglish added on 2014-01-24 14:27:23: What window manager are you using? After [wm state . iconic], does the window actually reappear iconified (in the task bar, usually), or does the WM leave it withdrawn? Cannot replicate on my desktop (Gnome 2.28, metacity). | |||