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.
Review how the ResultViewTopComponent should work with the new window system. Floating TopComponents will no more be supported, they will appear in the editor area by default (that's a suggestion of HIE). However we should consider also the possibility to have the results as non-modal dialog. See also issue 36119 which provides some suggestions. Issue 36489 lists some problems discovered so far (VCS outputs are mentioned). General guidelines are summarized in issue 36487.
See also issue 29836.
For the winsys2 merge to trunk I suggest to make the results window a dialog. Issue 36119 suggest to put it to editor, but I think it looks quite ugly there as it is designed now, neither it is very comfortable to use. I think floating non-modal dialog will work best for now. That's all what should be done for the merge. After the merge we will consider redesign of the results in accordance with possible redesign of the whole search feature.
Putting contents of the Search Results window into a floating non-modal dialog has been approved by Jano Rojcek (jrojcek@netbeans.org) which cares about UI changes of NetBeans. He also suggested that the buttons at the bottom of the window be not expanded along the whole bottom margin, but aligned to the right side of the margin.
Done in the trunk. ResultViewTopComponent was renamed to ResultView as it is not a subclass of TopComponent any more. It is a subclass of JPanel now. It is presented in the form of a non-modal dialog using method org.openide.DialogDisplayer.createDialog(...).
Would be nice to remember bounds of the dialog so the user need not move/resize it each time the search is performed. E.g. instead of having weak ref. to the results component the whole dialog could be held.
forgot to reopen, please consider what I wrote above
OK, I am already working on it.
Quick fix applied as I suggested. Look at: /cvs/utilities/src/org/netbeans/modules/search/SearchPerformer.java new revision: 1.23; previous revision: 1.22