Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4392518
Votes 3
Synopsis Incorrect window (swing) handling with Gnome/enlightenment
Category java:classes_awt
Reported Against 1.3 , 2.0fcs , merlin-beta
Release Fixed 1.4(merlin-beta)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 4381311 , 4390137 , 4393054 , 4412643 , 4451831
Submit Date 27-NOV-2000
Description




java version "1.3.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)

Running the SwingSet2 demo on Linux (Redhat Red Hat Linux release 6.2 (Zoot),
Kernel 2.2.14-5.0 on an i686) under gnome (the version that comes with 6.2)

The About window always shows the first time. Close with OK and try to open a
second time, it now appears minimized.

It does show non-minimized under KDE (and/or with the  customer  JVM in both cases), as
it ought to.
(Review ID: 112856) 
======================================================================
Work Around
N/A
Evaluation
I am able to reproduce this bug under my test system.  I wonder if this happens with all dialogs or if this is a bug in the demo...
  xxxxx@xxxxx   2000-11-27

This happens under merlin as well.  This only happens with dialogs that are
hidden then shown again.  JDialog is using show from Dialog so I am reassigning
this to AWT.  I attached a test case to reproduce this.
  xxxxx@xxxxx   2001-03-26

Commit to fix in merlin.  Possibly fixed by Valeriy's WM work? 
  xxxxx@xxxxx   2001-04-02




  xxxxx@xxxxx   2001-04-03

Looks like a duplicate of
  4390137 Frame is not getting visible in Linux once hidden
  4393054 hidden frames fail to be reshown under linux - they stay iconised

Reproducible on 1.3.1 and recent Merlin builds.  No longer
reproducible on recent AWT workspace after my WM putback.  Since AWT
was integrated on Monday, Apr 2 - next Merlin build should not have
this problem.

Let's choose this bug id for tracking, close others as duplicates and
close this one as integrated.

======================================================================



  xxxxx@xxxxx    2001-04-03

Here are more duplicates
  4381311 Window appears iconified after changing visibility with Linux twm
  4412643 Using setVisible(true/false) native WM_Flags not consistant

======================================================================
Comments
  
  Include a link with my name & email   

Submitted On 18-JAN-2001
parc1
Similar problems experience with enlightenment under gnome on solaris 8


Submitted On 13-JUN-2001
nancyWolf
You will also see this with Dialog and Frame objects under 
gnome on Redhat 6.2


Submitted On 18-JUN-2001
gaillard
Why is this marked "fixed"?  It still happens in the jdk 1.3.1 release.


Submitted On 22-JUN-2001
nancyWolf
This bug should not be marked fixed, it still occurrs in 
1.3.1 under gnome.  Test case upon request, but it should 
be fairly simple to write a setVisible(false), setVisible
(true) example to test this.  


Submitted On 22-JUN-2001
nancyWolf
A workaround of "don't use gnome" is not acceptable, seeing 
as gnome is the default desktop for the largest selling 
linux implementation.  Are you really expecting us to tell 
customers this?


Submitted On 08-AUG-2001
habermann
Same thing under SuSE Linux 7.2, KDE 2.1.2 running the Java
IDE AnyJ (http://www.netcomputing.de/). JDialogs with parent
set to (Main-)JFrame do not show up again once they were
hidden (hide()).
Interestingly: If you use Alt-Tab to switch to a different
Window, and use Alt-Tab again to switch back. The JDialog
appears (but does not have input focus).I'd really
appreciate a fix to this problem.


Submitted On 10-SEP-2001
klunde
Same problems under SuSE Linux 7.0/7.2 with KDE 2.0 and
fvwm/fvwm2, JDK 1.3.1. The problem occurs with every file
chooser or dialog - really annoying! Why is it marked
"fixed"?!


Submitted On 16-SEP-2001
janne.jalkanen
I'd like to point out that this still occurs under KDE2 
(2.2.1 to be exact) and JDK1.4.0beta2 (as well as 1.3.1).  
Considering that KDE2 and Gnome are probably the most 
common environments currently being shipped, I think this 
bug should be given priority...  Or at least opened so 
that I can vote on it.



Submitted On 19-SEP-2001
muligan
Re-Open this bug.  It is not fixed.


Submitted On 26-SEP-2001
rmyorston
Right, so this bug has been independently discovered at
least six times (this report, four duplicates mentioned
above, and my own rediscovery of it this week), but Sun
don't consider it important enough to fix in the current
production release.  And we've been waiting nearly four
years for them to do something about 4102292.  Anyone would
think they didn't /want/ Java to be taken seriously for
graphical applications.


Submitted On 09-OCT-2001
gat
This problem did happen when one runs the JCK tests for the
jdk. It showed up on the 2nd and more uses of the
file-dialog option on the JCK's menu. The first time u use
the filemenu, the menu appears. The rest are all iconified.
I had traced this to the awt/notify ( I think,as i remember
) under the ifdef linux switch ( removal made the menu show
up all the time ) .  I had reported this to the project
supervisor. I do not know what happened to the report. 
I no longer have access, so I can no longer say with any
further authority.



PLEASE NOTE: JDK6 is formerly known as Project Mustang