Tk Source Code

View Ticket
Login
Ticket UUID: 1030445
Title: Topmost window changes with wm attributes -alpha
Type: Bug Version: obsolete: 8.5a2
Submitter: patthoyts Created on: 2004-09-18 20:05:27
Subsystem: 68. Win Window Operations Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-09-19 07:13:20
Resolution: Works For Me Closed By: hobbs
    Closed on: 2004-09-19 00:13:20
Description:
In tkchat I added a slider on a dialog to play with the
-alpha transparency gimmick :)

However, when we transition to or from opaque to
transparent the main toplevel always becomes topmost.

In the slider command handler I fixed it by adding a
[raise $dlgname]
User Comments: hobbs added on 2004-09-19 07:13:20:
Logged In: YES 
user_id=72656

I have confirmation that the Z order stuff is working
correctly from RockShox, so I'm not sure why it doesn't seem
to be working for you.

hobbs added on 2004-09-19 04:09:24:
Logged In: YES 
user_id=72656

Are you working off the patch of the latest CVS code?  One
issue with UpdateWrapper is that it always forced the new
wrapping to the toplevel.  I added a patch that called
SetWindowPos to correct the Z order on the transition.  If
this isn't working, then that's an issue, but I did even add
a test for this in winWm.test.  What exact platform are you on?