|
Quick Lists
|
|
Bug ID:
|
5077738
|
|
Votes
|
0
|
|
Synopsis
|
Changing system preferences after switching from GTK L&F causes L&F mixup
|
|
Category
|
java:classes_swing
|
|
Reported Against
|
tiger-rc
|
|
Release Fixed
|
mustang(beta),
5.0u3(b05) (Bug ID:2119504)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
|
|
Submit Date
|
23-JUL-2004
|
|
Description
|
Changing the system font or theme, changes the appearance of SwingSet2 demo in Motif and Java L&Fs. The Frame and the toolbar appear to be rendered in Motif / Java L&Fs but the tabs appear to be rendered in GTK L&F. Please see the attached image. This has been occuring from b49 onwards on Linux / Solaris.
Also when JOptionPane demo is selected and JOptionPanes are displayed, the following messages are printed in the console:
com. xxxxx .java.swing.plaf.gtk.GTKLookAndFeel/icons/Question.gif not found.
Steps to reproduce:
1. Launch SwingSet2 demo
2. Switch to GTK L&F
3. Switch back to Motif or Java L&F
4. In GNOME settings, change the application font
5. Switch to some other demo in SwingSet2. It can be seen that the demo tab is rendered in GTK L&F.
|
|
Work Around
|
N/A
|
|
Evaluation
|
It appears that the PropertyChangeListener that is added to the Toolkit by GTKLookAndFeel, although a WeakReference, is not being removed when the look and feel is switched.
xxxxx@xxxxx 2004-07-23
======================================================================
This bug was determined not to be a Tiger showstopper. It will be addressed in the Tiger release notes. xxxxx@xxxxx , if your investigation reveals a serious reason why this should go back in Tiger, please let me know.
xxxxx@xxxxx 2004-07-23
The PCL should make sure the current look and feel is the same as what the PCL was created with, if it isn't this should remove the PCL and do nothing.
The same problem exists with com.sun.java.swing.plaf.windows.DesktopProperty although the Window's DP won't cause any problems, it'll just force a reload of the UIs.
xxxxx@xxxxx 2004-07-23
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |