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.
Summary: | Options dialog has incorrect size | ||
---|---|---|---|
Product: | platform | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Window System | Assignee: | mslama <mslama> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mmirilovic, pzavadsky, rmatous |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Skrivanek
2003-05-26 10:02:43 UTC
Confirmed in May 30th build under OS/2, JDK 1.4.1_02. This bug is still open. Marian please can you check. I use dev build on Linux RH 7.1, KDE 2.1.1 and never saw this. I saw it only on Windows XP, Gili on OS/2. It is probably platform dependent issue. Note: If Options window (it is NOT dialog) would have zero size nothing would be shown. As at least title bar is shown it has nonzero size. It seems OptionsPanel returns incorrect preferred size. I found reason. As Peter did separation of window system to separate module he removed call of ((WorkspaceImpl) w).addToShownTcs(optionPanel); so now optionsPanel returns incorrect preferred size: It causes incorrect position of newly created Options window. But this should not prevent Options window from showing. Jiri are you able to reproduce it reliably? I could send you patch with logging to see what is wrong. Yes, it is easy to reproduce. I can test it with patch. Yes this is regression caused by removing call of componentShowing() from OptionsAction.performAction when Options window is displayed for the first time. (It happened when Peter did separation of window system to module.) I put explicit call of componentShowing() to initialize GUI of Options panel sooner. Fixed in main trunk. core/src/org/netbeans/core/actions/OptionsAction.java r.1.51 Verified in build 20030604-0018. |