Bug 150695

Summary: Transient windows don't stay on top anymore
Product: [Fedora] Fedora Reporter: Kyle Bateman <kyle>
Component: tcltkAssignee: Jens Petersen <petersen>
Status: CLOSED UPSTREAM QA Contact: Bill Huang <bhuang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-04 04:43:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Demonstrates bug none

Description Kyle Bateman 2005-03-09 19:19:48 UTC
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):
tk-8.4.7

How reproducible:
Always

Steps to Reproduce:
1.Run the attached wish script
2.
3.
  

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.

Additional info:

This is a big problem for TCL/TK software that creates pop-up menus since they fall back behind their parent.

Comment 1 Kyle Bateman 2005-03-09 19:20:56 UTC
Created attachment 111819 [details]
Demonstrates bug

Comment 2 Jens Petersen 2005-10-03 06:51:27 UTC
I'm reproduce this with tk-8.4.11 in FC devel.
How about FC4 which has tk-8.4.9?

Comment 3 Kyle Bateman 2005-10-03 18:11:23 UTC
This post discusses a workaround that worked for me:

http://aspn.activestate.com/ASPN/Mail/Message/2524722


Comment 4 Kyle Bateman 2005-10-03 18:14:57 UTC
> 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.


Comment 5 Jens Petersen 2005-10-04 04:43:39 UTC
Ok, I was testing interactively, which explains why I didn't see it.
However sounds like fixing this might break compatibility.