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.
Created attachment 126230 [details] truncated quicksearch results The quick search results are truncated. See attached image for example: the beginning of the path is visible which is identical for all items. Possible solutions: a) autoresize the result popup b) allow user to manually resize result popup and save size c) omit the base path to project folder d) truncate in the middle and not at the end
The name is set by search provider GoToSymbolProvider in module jumpto. Reassigning. Please evaluate the solutions. Thank you.
The GoToSymbolProvider shows the information got from SymbolDescription, for Java it's a class FQN in fact the c) variant. For PHP it's absolute path which is too long. The path relative to project root (similar to the class FQN in java) seems to me better. Consider to add the a) or b) or reassign to PHP. I personally vote for b) as even the relative name may be large. Current workaround is to use Go To Symbol which provides the same information with better UI and performance.
Adding Ondra for PHP part.
Personally I'm for b) too (because of possible large names), but I can look at PHP implementation as well. But not sure if that "extra long" path isn't caused by CSL abstraction since we use IndexSearcher.Description. Will look at it...
IndexSearcher.Descriptor of course ;) Just another quick look into PHP module and I think that I can do something with it. Note4Me: PHPTypeSearcher.getContextName:297
OK, I'll try to implement solution b). Thank you for your comments.
Created attachment 126438 [details] Proposed Patch Patch that makes the QuickSearch pop-up resizable. I'm considering changing the issue type to Defect and applying the patch so that it gets into 7.3. What do you think?
> Created attachment 126438 [details] > Proposed Patch > > Patch that makes the QuickSearch pop-up resizable. Added upper limit for the pop-up width and integrated as http://hg.netbeans.org/core-main/rev/d75499c2e35e Thank you for your help.
Integrated into 'main-golden', will be available in build *201210270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d75499c2e35e User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #220468: Quick search results (with long paths) are truncated
*** Bug 210672 has been marked as a duplicate of this bug. ***
*** Bug 153854 has been marked as a duplicate of this bug. ***
*** Bug 224107 has been marked as a duplicate of this bug. ***
Jardo is it possible to autoresize that result window if longer items, then current window width, come? Because if I use it for the first time, longer items are being shown, but are not visible, because that window doesn't autoresize.
> Jardo is it possible to autoresize that result window... It should be possible. It's probably too late to fix it in 7.3, so I'd rather fix it in the next version. Would it be OK?
Definitely yes :)
(In reply to comment #13) > Jardo is it possible to autoresize that result window if longer items, then > current window width, come? Because if I use it for the first time, longer > items are being shown, but are not visible, because that window doesn't > autoresize. Fixed in http://hg.netbeans.org/core-main/rev/c1fa3fa1d5e1 The quick search is autoresized only if its width hasn't been set manually. Please check if this behavior is fine. Thank you.
Integrated into 'main-golden', will be available in build *201303072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c1fa3fa1d5e1 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #220468: Autoresize QuickSearch pop-up;
Seems to be quite ok for me :)