Tk Source Code

View Ticket
Login
Ticket UUID: 800ca72a1c134686ae22cb47ebd3cbd42a52995d
Title: tcltk 8.5 deiconify doesn't work in RHEL7 gnome
Type: Bug Version: 8.5
Submitter: theomc Created on: 2019-03-08 14:23:15
Subsystem: None Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2019-03-13 20:21:28
Resolution: None Closed By: nobody
    Closed on:
Description:
Running tcl/tk 8.5 on RHEL7 (7.6) in gnome desktop. iconify works (minimizes window), but deiconify does not (window never expands).

This can be replicated with a simple:
wm iconify .   #works
after 1000
wm deiconify .   #does not work
User Comments: theomc added on 2019-03-13 20:21:28:
Confirmed - RHEL 7.6 with gnome desktop - deiconify does not work. Works with KDE desktop.

Simple script that demos issue:
#!/usr/bin/wish
wm title . "test"
wm iconify .
after 1000
wm deiconify .

button .button -text "cycle" -command {
        PHOTO
}
pack .button


proc PHOTO {} {
        wm iconify .
        after 1000
        wm deiconify .
}

Behavior is not consistent: 
- iconify/deiconify OUTSIDE of proc PHOTO does not work at all.
- pressing "cycle" button iconify's window, but does not deiconify

Also - tested using perl/tk and behavior was the same, so looks like a gnome/gtk/RHEL 7 issue more than a tcl/tk issue to me...

fvogel added on 2019-03-10 12:37:15:
Works for me on Linux Debian 8 (with KDE) with core-8-6-branch and even with core-8-5-branch.