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.
we are using Main Project concept. Now it's impossible to switch between Main projects if number of opened projects is big, because is just not visible in Run->Set Main Project and submenu is not scrollable
btw, it's extremely difficult to find project in Run->Set as Main list comparing to "Set as main" in project's context menu :-(
Good point, Swing does not automatically manage long menus well. If above a certain number of items, probably the submenu should break apart into subsubmenus, or show a dialog with a JList. (In reply to comment #1) > it's extremely difficult to find project in Run->Set as Main list > comparing to "Set as main" in project's context menu Intentionally - the entire concept was deemphasized in the GUI. There is nothing stopping you from restoring this context menu item for CND project types if you feel it is appropriate there; should be a one-liner.
> show a dialog with a JList I like this idea (though I admit it's really easy to have an opinion about UI).
Still valid, but lower priority after fix of bug #210148.
*** Bug 210177 has been marked as a duplicate of this bug. ***
*** Bug 222097 has been marked as a duplicate of this bug. ***
I just want to chime in to say that I too have this problem and don't get the motivation behind removing the 'main project' feature. An option is to add a checkbox inside the projects properties dialog. Noticed a bug related to this, appears the option to set main project is available once you have selected a random project in the drop down list under Run menu. I will not report this as I use it to get around the on-topic problem.
https://hg.netbeans.org/core-main/rev/b8233f4061b1
just fyi, on mac this seems to work ok as the main menu allows scrolling
Integrated into 'main-silver', will be available in build *201312050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b8233f4061b1 User: Martin Kozeny <mkozeny@netbeans.org> Log: #209973: Set Main Project submenu unusable when too long.
Change computation of menu size: https://hg.netbeans.org/core-main/rev/a499a27d182f
Integrated into 'main-silver', will be available in build *201312070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a499a27d182f User: Martin Kozeny <mkozeny@netbeans.org> Log: #209973: Set Main Project submenu unusable when too long.