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.
1. With a fresh user dir, go to the New Java Application wizard 2. Uncheck the Set as Main Project button 3. Click Finish => Task list does not show any entries, because it is by default set to "main project and projects it depends on" scope, and there is no main project. When you switch to Current File scope, one task is displayed (TODO). I would expect that this task will also be displayed when in "project" scope. Suggested solution: When no main project is selected, the middle scope should be changed to "selected project". I think this is a real usability problem, so entering as a P3 usability defect.
what does hie think about this?
I would rather suggest to change the function of the first button from Main project to All projects. Not just when there's no main project set, but as a permanent change.
you mean make the default scope 'all opened projects' instead of 'main project', right?
I would suggest just deleting the "main project and projects it depends on" scope. It is a pretty complicated concept. Is there a compelling reason for it to exist? Why wouldn't you just use "all open projects"?
good point, usability study shows that 'main project' is a strange concept for php developers anyway
> Why wouldn't you just use "all open projects"? Could performance be an issue? I can imagine that limiting the scope to the current project could improve performance. On the other hand, "all open projects" could be the default.
fixed - 'opened projects' is now the default scanning scope 9fb439d8589e
Thanks - this is definitely an improvement, however the behavior is still not fixed completely, because when I have no main project, and I manually switch to the middle scope (main project + open projects it depends on), it does nothing and is useless - I would expect it to show tasks for the current project. Reopening as P4 defect.
'main project' scanning now uses the 'current' project (if any) for task scanning
There is still one minor issue - reopening. Steps to reproduce: 1. Open/create a project and make sure no project is set as main 2. Switch the tasklist scope to "all opened projects" 3. Hover over the middle scope to display the tooltip - the tooltip says: "Show tasks for the main project and for the opened projects on which it depends This tooltip should not refer to the "main project".
(In reply to comment #10) > This tooltip should not refer to the "main project". You would prefer to show two different tooltips if the main project is set or not set?
I personally would, but this is mainly a question for Jano.
*** Bug 109549 has been marked as a duplicate of this bug. ***
Needs to be reevaluated in light of bug #166780.
This issue is not valid anymore, since the changes mentioned in http://wiki.netbeans.org/OldTasksWindow were implemented. fix http://hg.netbeans.org/core-main/rev/ccfe6270b994
Thanks, verified.
ccfe6270b994 changed labels but did not affect this behavior AFAIK; the bug was I think fixed earlier as part of the main project work. *** This bug has been marked as a duplicate of bug 166780 ***