This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 122073 - Wrong sized or unusably truncated dialogs in Tools->options , Tools->Plugins
Summary: Wrong sized or unusably truncated dialogs in Tools->options , Tools->Plugins
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: JDK_SPECIFIC
: 123297 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-15 23:24 UTC by amotz
Modified: 2011-06-09 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot of malformed dialog (50.90 KB, image/png)
2007-11-15 23:30 UTC, amotz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description amotz 2007-11-15 23:24:45 UTC
On a 4-core computer running Mandriva 2008, a new install of NetBeans 6 RC1 on a new computer:
Two types of error:

1. The initial dialog (Tools->options or Tools->plugins) appears with a size that is too small, and seems to bear no
relation to its previous size. However, it can be resized successfully.

2. The next dialog, however, (Tools->options->advanced or Tools->plugins->install) appears mostly grayed out. If the
dialog is made large enough, a portion of the real dialog appears in the top left corner, and its size tracks any
movements of the bottom or right borders of the dialog window. In this state the dialog is unusable.

This does not happen every time.
A screen snapshot has been saved, and will be supplied on request.
Comment 1 amotz 2007-11-15 23:30:32 UTC
Created attachment 53088 [details]
Screen shot of malformed dialog
Comment 2 Jiri Rechtacek 2007-11-27 14:15:40 UTC
It looks as JDK bug. Try to run the IDE on JDK1.6.0 what works better for me.
Comment 3 Jiri Rechtacek 2007-12-05 15:50:31 UTC
*** Issue 123297 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Rechtacek 2007-12-05 15:55:36 UTC
Need to find existing/file a newone bug in http://bugs.sun.com/bugdatabase/
Comment 5 amotz 2007-12-05 17:34:26 UTC
The problem still persists in the 6.0 release.
There are two failure modes:
1. The dialog may come up all gray, with a wrong size.
2. Usually when a larger wrong size appears, the dialog may show some of the correct data, at the top left corner.

The problem is dynamic. If a wrong dialog appears, it is usually possible to re-try, occasionally many time, until the
dialog appears as intended. The dialog may cycle through both failure modes.

To me, all that screams "race condition!!!". Just as an anecdote, I bought the quad-core specifically to find race
conditions in my code. Within a day, I actually found and fixed one. The only one so far, but I think it was worth it.
I'm sure you need a quad-core. You can quote me to your manager.
Comment 6 Jiri Rechtacek 2007-12-06 14:08:52 UTC
Both dialogs on quad-core machine (but on MacOS) works correctly. Just a question: what is your window manager? Or any
patched AWT toolkit? I'm currently running on duo-core laptop with Ubuntu7.10 and works fine for me.
Btw there is new one JDK6u3 at http://java.sun.com/javase/downloads/?intcmp=1281
Comment 7 amotz 2007-12-06 18:47:01 UTC
Mandriva 2008, 64-bit, GNONE & KDE, JDK6u3.

Perhaps I did not emphasize enough that it may happen in ANY dialog, even the lowly Ctrl-g (go to line number).

Standard AWT, Swing, Sun libraries.

Perhaps it's the 64 bit thing?
Comment 8 Jiri Rechtacek 2007-12-06 20:32:44 UTC
In recent month many problem with Beryl or Compiz window manager were reported agains Sun JDK. JDK6 updates since u3
contain several fixes specific for Compiz.
Comment 9 amotz 2007-12-08 20:38:55 UTC
I now use JDK 6u10 (b08). It solved other problems, but the NB6 dialog problem is still around, though it seems to
happen a bit less frequently. Still, the frequency is definitely not zero.
Comment 10 Lukas Hasik 2008-04-10 21:22:35 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 11 amotz 2008-04-10 21:41:29 UTC
At some point, after upgrading both KDE (Latest 3.5) and Java (6u10 about b10) the problem just disappeared. So Netbeans
does not appear to be involved at all. I apologize for not having closed this issue sooner.
Comment 12 Marian Mirilovic 2011-06-09 09:56:44 UTC
v/c