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 257067 - First time selecting a project in the Project tab loses focus
Summary: First time selecting a project in the Project tab loses focus
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2015-12-09 07:42 UTC by wvreeven
Modified: 2015-12-10 17:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description wvreeven 2015-12-09 07:42:33 UTC
This looks like bug #13673 but the behaviour is slightly different. When a project is selected in the Projects tab for the first time after starting NetBeans, the tab loses focus. I use the keyboard as much as possible and use CMD-1 (I am on OS X) to select the Projects tab and then want to browse my projects using the arrow keys. After opening NetBeans I need to press CMD-1 twice before I can use the arrow keys. Please fix.
Comment 1 Tomas Stupka 2015-12-10 14:30:32 UTC
cannot reproduce with dev build. 
maybe this is a side effect of #257066 where the project got resorted after open

could you please verify if this still occurs with a current dev build?

Comment 2 wvreeven 2015-12-10 17:11:08 UTC
I tried this with NetBeans Dev 201512100002 and the Projects tab still loses focus, however the behaviour is slightly different than before. It seems that the Projects tab remembers which was the last selected Project. That Project is selected immediately after resorting the Projects (#257066, for which the sorting now works fine by the way).

It seems the behaviour is slightly erratic. On one occasion the selected Project remained selected and kept the focus. On another occasion the Project remained selected but the focus was lost.

If I right click in the Projects tab, then all Projects loose focus since the context menu is opened. That is fine. When I then immediately close NetBeans and restart, no Project gets selected. Pressing CMD 1 and then the down arrow shows that the Project does get selected but loses the focus again, just like before.