Bug 150695 - Transient windows don't stay on top anymore
Summary: Transient windows don't stay on top anymore
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: tcltk
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Bill Huang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-09 19:19 UTC by Kyle Bateman
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-10-04 04:43:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Demonstrates bug (80 bytes, text/plain)
2005-03-09 19:20 UTC, Kyle Bateman
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.