[bug-notifications] [windowmaker 0001593]: window content display is slow with wm 0.92 and java swing apps on Sol-10

Mantis Bug Tracker noreply at opencsw.org
Sun Jun 3 11:05:57 CEST 2012


The following issue has been ASSIGNED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=1593 
====================================================================== 
Reported By:                porezag
Assigned To:                maciej
====================================================================== 
Project:                    windowmaker
Issue ID:                   1593
Category:                   other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2006-05-03 16:50 CEST
Last Modified:              2012-06-03 11:05 CEST
====================================================================== 
Summary:                    window content display is slow with wm 0.92 and java
swing apps on Sol-10
Description: 
I have noticed a strange behavior with windowmaker 0.92 on Solaris 10 when
using swing based java apps. When a java application opens a second, third,
etc. window, the window shows up right away but stays gray for about 5
seconds. Only after these five seconds the content is displayed. There is
no CPU hogging or anything like this going on during these 5 seconds,
everything appears to be normal. truss also doesn\'t show anything
extraordinary.

I have reproduced the bug with a windowmaker 0.92 compiled from scratch
without using any of the CSW packages. The bug is NOT present in
windowmaker 0.91. CDE and Gnome as shipped with Solaris-10 are OK as well.
I haven\'t checked any other Solaris releases, but I have confirmed that
the bug is present with XSun X server AND via vnc using the Xvnc X server.
Also, the version of JRE doesn\'t matter, I checked several 1.4 and 1.5
versions.

Our environment:
- SunFire 280R with Solaris 10 Sparc 01/06
- up-to-date patches
- windowmaker 0.92 from CSW
- Xsun or Xvnc X server

How to reproduce:
Use e.g. JMoneyAtHome (http://freshmeat.net/projects/jmoneyathome)
as test application. Start the app using \"java -jar j*.jar\".
The main window show up OK, then use the \"Help>About\" menu
to display a window with \"about\" information. With wm 0.91 the
window contents are displayed right away, with wm 0.92 one has to wait. The
bug is really annoying if one has to work with java apps that open a lot of
windows.

It would be great to at least have the wm 0.91 package available until this
is fixed.

Thanks,
Dirk 
====================================================================== 

---------------------------------------------------------------------- 
 (0003446) porezag (reporter) - 2006-05-09 17:09
 https://www.opencsw.org/mantis/view.php?id=1593#c3446 
---------------------------------------------------------------------- 
The bug disappears when the Java option -Dawt.toolkit=sun.awt.X11.XToolkit
(available starting with java 1.5.0) is used. This employs the new XToolkit
for AWT instead of the old MToolkit. The easiest way to automate this is by
setting the environment variable AWT_TOOLKIT=sun.awt.X11.XToolkit.



More information about the bug-notifications mailing list