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

Summary: Sort opened documents list by project a little bit broken
Product: platform Reporter: arittner <arittner>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal CC: arittner
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Unsorted and sorted document drop down list
Possible unrelated exception
Wrong assignment of java files (<no project>)

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