| Ticket UUID: | 492259 | |||
| Title: | wm-stackorder-5.1 fails | |||
| Type: | Bug | Version: | obsolete: 8.4a4 | |
| Submitter: | dgp | Created on: | 2001-12-12 23:45:34 | |
| Subsystem: | 65. Generic Window Operations | Assigned To: | mdejong | |
| Priority: | 7 High | Severity: | ||
| Status: | Closed | Last Modified: | 2002-01-19 07:38:22 | |
| Resolution: | Fixed | Closed By: | mdejong | |
| Closed on: | 2002-01-19 00:38:22 | |||
| Description: |
Using the current HEAD Tcl and Tk on Solaris 8,
CDE window manager:
==== wm-stackorder-5.1 overrideredirect does not change
stackorder FAILED
==== Contents of test case:
catch {destroy .t}
toplevel .t
wm overrideredirect .t 1
update
raise .
wm stackorder . isabove .t
---- Result was:
0
---- Result should have been:
1
==== wm-stackorder-5.1 FAILED
| |||
| User Comments: |
mdejong added on 2002-01-19 07:38:22:
Logged In: YES user_id=90858 I check in these modified tests on 2002-01-18. I think this will fix things. If this problem shows up in another configuration this bug should be reopened. The tests may need to be rewritten so that they do not assume a stacking order for windows with the overrideredirect bit set. dgp added on 2001-12-20 04:11:45: Logged In: YES user_id=80530 Both of those tests pass on the platforms I've tested. mdejong added on 2001-12-19 13:38:19: Logged In: YES
user_id=90858
This is very interesting. I did some more poking around
with this test under Linux running the WindowMaker wm
and found that if you place the update after the raise
the results are inverted. I am not sure this is an issue
of the toplevels appearing in the "same stackorder".
This seems to be more an issue of can the wm ignore a
raise command that would place a normal toplevel above
an overrideredirect toplevel. It would seem that it can
and does in this case. It is strange since it seems the
lower command works just fine. Could you guys try these
two tests on the systems you mentioned and see if they
pass? They both pass on my Linux box.
test wm-stackorder-5.1 {A normal toplevel can't be raised
above
an overrideredirect toplevel } {
catch {destroy .t}
toplevel .t
wm overrideredirect .t 1
raise .
update
wm stackorder . isabove .t
} 0
test wm-stackorder-5.2 {An overrideredirect window can be
explicitly lowered } {
catch {destroy .t}
toplevel .t
wm overrideredirect .t 1
lower .t
update
wm stackorder .t isbelow .
} 1
hobbs added on 2001-12-19 05:14:59: Logged In: YES user_id=72656 This test also fails for Sol2.8 when pointed to a Linux WindowMaker wm. dkf added on 2001-12-13 22:00:20: Logged In: YES user_id=79902 It looks to me like the test depends on an assumption that do not hold universally; i.e. that managed and unmanaged windows are maintained in the same stack, which window managers are not required by the ICCCM to respect. IOW, the test is Just Plain Wrong or maybe just non-portable. dgp added on 2001-12-13 06:51:16: Logged In: YES user_id=80530 Same test fails on Linux/Alpha using GNOME/Enlightenment. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki