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.
I find I almost always resize the Add Module Dependency dialog whenever I open it - I've seen other users do this too. Two issues here: - It's particularly frustrating that it does not remember the size I resized it too the last time - I often end up slowly and painfully manually multi- selecting things rather than typing a class name, just so I don't have to keep reopening and resizing the dialog - It should probably have a somewhat bigger default size
I've already make default size little larger (since the "Show Non-API modules" checkbox were added). Remebering would be nice - at least during the IDE session.
The "Rectangle" is kept per IDE session. ui/customizer/CustomizerLibraries.java; 1.44 -> 1.45;
This was *not* fixed in 5.0u1 as of the freeze point.
Backported
Suggest you also keep the screen size, and if it is not the same as when the rectangle was recorded, ignore the rectangle - otherwise this can cause problems when switching displays, resolutions, etc. (if you do a lot of demos on projectors it can be really embarrassing if a dlg shows up with all its edges off screen).
> Suggest you also keep the screen size, and if it is not the same as when the > rectangle was recorded, ignore the rectangle Umm, no. I do not count (with) screensize at all. Since the user can hardly resize a dialog out of screensize bounds - which solves 99% per IDE session cases <- so dialog bounds (Rectangle) are kept per IDE session size. So when you start NetBeans later with another resolution, the dialog appears with the original size and after you resize it, it will be remembered in the session. I would create simple method in UIUtil.getRemeberedSize(Class key) or something like this which would handle resolution (since now I handle all (two) cases separerately... which is not nice) - if such a simple method doesn't exist already? (I filed issue 72380)
works if dialog is acessed from customizer, but if not via libraries node: 1)create some module 2)invoke dialog via libraries node, resize it, add some dependency, close it 3)invoke again ->size is not remembered
Right, should be easy to fix. For similar general "discussion" see issue 72380.
src/org/netbeans/modules/apisupport/project/ui/LibrariesNode.java; new revision: 1.20; previous revision: 1.19 src/org/netbeans/modules/apisupport/project/ui/customizer/AddModulePanel.java; new revision: 1.43; previous revision: 1.42 src/org/netbeans/modules/apisupport/project/ui/customizer/CustomizerLibraries.java; new revision: 1.52; previous revision: 1.51