|
Quick Lists
|
|
Bug ID:
|
5028924
|
|
Votes
|
2
|
|
Synopsis
|
AlwaysOnTop(RFE #4303256) don't work on linux flavours & solaris with XToolkit
|
|
Category
|
java:classes_awt
|
|
Reported Against
|
tiger-beta2
|
|
Release Fixed
|
7(b03)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4303256
,
6380835
,
6893222
|
|
Submit Date
|
08-APR-2004
|
|
Description
|
AlwaysOnTop behaviour introduced as implementation of RFE 4303256 doesn't work properly
in case of Linux
Following is the Linux flavor I have tested and it fails on all
Shrike (Red Hat 9) With metacity 2.4.3.4
Fedora (Red Hat Advance Server 3.0) metacity 2.4.55
Mercury(JDS) with metacity 2.4.55
Attached the testcase's which shows the failure
1) rfe4303256.java : This testcase tests extensibly this feature and this was developed
for testing of RFE 4303256, This is automated test and display in console the failed
scenario's.
2) TestOnTop_Bug.java : this is small testcase which creates two windows
a) JFrame : setAlwaysOnTop(true)
b) JWindow: setAlwaysOnTop(false)
Now if the output shows JWindow over JFrame that means a failure as we are setting
JFrame property alwaysOnTop so it should be on top of JWindow, and this is what happens
in Solaris Gnome and Windows, But not Linux
xxxxx@xxxxx 2004-04-08
-------------------------------------
In generation of baseline results its being discovered that this test fails
also on solaris 10(gnome with metacity) if we use XToolkit
i.e. awt.toolkit=sun.awt.X11.XToolkit
xxxxx@xxxxx 2004-04-14
|
|
Work Around
|
N/A
|
|
Evaluation
|
TestOnTop_Bug.java failes due to implementaiton of Window class on Linux. We use override_redirect to implement them, and override_redirect windows stay above all other windows on the desktop, including always-on-top windows.
xxxxx@xxxxx 2004-04-09
======================================================================
To eliminate bogus failures due to override_redirect behavior, I have modified test to remove testing of JWindow. Information below is presented related to this modified test.
KDE(3.1.4):
it fails because KDE has renamed _NET_WM_STATE_ABOVE property into NET_WM_STATE_STAYS_ON_TOP. If I rename this property accordingle in the workspace, modified test passes.
Gnome/Metacity(2.4.55): modified test passes.
xxxxx@xxxxx 2004-04-09
======================================================================
I've tested with newer kwin
:-) kwin --version
Qt: 3.3.4
KDE: 3.4.0 Level "b"
KWin: 3.0
and all works ok.
So, the only problem we have here is a (J|)Window's implementation.
Posted Date : 2006-01-23 15:51:51.0
fixed with 6380835.
Posted Date : 2006-10-10 10:06:27.0
|
|
Comments
|
Submitted On 29-APR-2004
rocketguy
The alwaysOnTop(boolean) method does not work in
a Motif enviroment. The window will always go behind
any other window.
Submitted On 11-AUG-2005
gat
so, like where is the sample test case?
I cant seem to get this to work on linux, irrespective of what toolkit i select :-(
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |