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 247216 - Sort opened documents list by project a little bit broken
Summary: Sort opened documents list by project a little bit broken
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-17 12:42 UTC by arittner
Modified: 2015-05-20 08:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Unsorted and sorted document drop down list (33.64 KB, image/png)
2014-09-17 12:42 UTC, arittner
Details
Possible unrelated exception (2.93 KB, text/plain)
2014-09-17 12:44 UTC, arittner
Details
Wrong assignment of java files (<no project>) (88.98 KB, image/png)
2014-09-17 14:56 UTC, arittner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arittner 2014-09-17 12:42:23 UTC
Created attachment 149299 [details]
Unsorted and sorted document drop down list

"Sometimes" the editor-mode documents are *not* sorted. I've activated the option "Sort opened documents list by project". If I click on one of the items the drop down reorders the items and shows the grouped project names.

This is a regression after a update from 8.0 to 8.0.1
Comment 1 arittner 2014-09-17 12:44:25 UTC
Created attachment 149300 [details]
Possible unrelated exception

I've only one exception in my log - IMHO unrelated.
Comment 2 arittner 2014-09-17 14:56:38 UTC
Created attachment 149304 [details]
Wrong assignment of java files (<no project>)

Much more problems. The drop down box shows missing assignments to projects.

After close and reopen the list, it's looks ok.
Comment 3 Stanislav Aubrecht 2014-09-19 07:47:36 UTC
The project lookup is asynchronous so in some cases the project of a given file isn't available yet so it is sorted as 'unknown' file.
I'll check if I can improve project caching but at least the initial project lookup may still trigger this problem. The alternative is event queue blocking because project lookup could take a few seconds to complete.
Comment 4 arittner 2014-09-19 09:33:37 UTC
An asynchronous problem I have also suspected. But this visible behavior is since 8.0.1. Never seen before.
Comment 5 arittner 2014-09-19 13:14:19 UTC
Another hint: The problem repeats itself throughout the day. I have about 190 open Maven projects. I open not later more projects.
Comment 6 arittner 2015-05-20 08:36:35 UTC
still valid in 8.0.2