Red Hat Bugzilla – Bug 150695
Transient windows don't stay on top anymore
Last modified: 2007-11-30 17:11:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
Description of problem:
Before (in Fedora 1), the tk command "wm transient window parent" would cause the window always stay on top of its parent window. After going to Fedora 3, this command seems to have no effect.
I've tried this on an X server running on Fedora 3, connected to a Fedora 1 box running the tcl/tk program and the bug is NOT manifest. This is (some) evidence that the problem lies with TK rather than with the new X.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Run the attached wish script
Actual Results: The toplevel window with the HI button in it (the transient window) does not stay "on top" of the parent window (the blank box).
Expected Results: The transient window should always stay on top of its parent. Also, depending on the window manager, the transient should get decorated differently than its parent. This is not happening either.
This is a big problem for TCL/TK software that creates pop-up menus since they fall back behind their parent.
Created attachment 111819 [details]
I'm reproduce this with tk-8.4.11 in FC devel.
How about FC4 which has tk-8.4.9?
This post discusses a workaround that worked for me:
> How about FC4 which has tk-8.4.9?
I reproduced it on FC4. Also the workaround (an update before the transient
call) works on FC4.
Ok, I was testing interactively, which explains why I didn't see it.
However sounds like fixing this might break compatibility.