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 190330 - [regression] Select In popup menu is absent in editor
Summary: [regression] Select In popup menu is absent in editor
Status: CLOSED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 192655 197287 197962 (view as bug list)
Depends on:
Blocks: 189320
  Show dependency tree
 
Reported: 2010-09-13 10:51 UTC by Vladimir Voskresensky
Modified: 2011-05-05 22:26 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-09-13 10:51:22 UTC
"Select In" submenu is absent in editor's popup menu, instead of it only one "Select in project" remains on top level
Comment 1 David Strupl 2010-09-13 12:49:41 UTC
I will check this.
Comment 2 David Strupl 2010-09-13 13:37:58 UTC
What you call a regression is caused by Jesse's fix of #189320. Assigning to Jesse to evaluate/discuss this issue. Putting Ondra on Cc: to make sure he is aware of this discussion.
Comment 3 Vladimir Voskresensky 2010-09-13 20:19:03 UTC
thanks, David.
It's definitely a regression, because we have lost Select In Classes, Select in Files, Select in Favorites
Comment 4 Jesse Glick 2010-09-16 15:41:22 UTC
Yes, intentionally removed and replaced with only Select in Projects, the most commonly needed action (which now does not require traversing a submenu). Other actions are still available in main menu and keyboard shortcuts.
Comment 5 Jesse Glick 2010-12-06 16:34:17 UTC
*** Bug 192655 has been marked as a duplicate of this bug. ***
Comment 6 tboerkel 2010-12-06 17:04:29 UTC
That's unfortunate. I was always using "Select in files" and never "Select in projects".
Comment 7 Jesse Glick 2010-12-06 17:51:39 UTC
(In reply to comment #6)
> I was always using "Select in files"

Still available via C-S-2 and main menu, just not in context menu.

BTW it is possible to customize the editor context menu, just not through the GUI: create $userdir/config/Editors/Popup/org-netbeans-modules-project-ui-SelectInFiles.shadow and a .nbattrs in the same dir with

<attributes version="1.0">
    <fileobject name="org-netbeans-modules-project-ui-SelectInFiles.shadow">
        <attr name="originalFile" stringvalue="Actions/Window/SelectDocumentNode/org-netbeans-modules-project-ui-SelectInFiles.instance"/>
        <attr name="position" intvalue="9001"/>
    </fileobject>
</attributes>
Comment 8 tboerkel 2010-12-06 18:13:10 UTC
Thanks for the info. But I still think, it should be there as default.
Comment 9 Jesse Glick 2010-12-06 18:37:37 UTC
There's always something that some users will want in a particular part of the UI that is not there by default. But there is a cost for everything that is added, in visual complexity, screen pixels, etc.; the submenu just made it more awkward to find and use its contents. Up to UI people to define what the defaults should be.

(Ideally the UI would start to automatically show things in prominent places that you have been using recently, but this would require a more sophisticated action infrastructure than we have.)
Comment 10 Jesse Glick 2011-04-05 00:28:01 UTC
*** Bug 197287 has been marked as a duplicate of this bug. ***
Comment 11 Marian Mirilovic 2011-04-05 07:08:30 UTC
verified/closed
Comment 12 Jesse Glick 2011-05-05 22:26:14 UTC
*** Bug 197962 has been marked as a duplicate of this bug. ***