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 200384 - Disabing/enabling source roots causes the source root list to jump to top
Summary: Disabing/enabling source roots causes the source root list to jump to top
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0
Hardware: PC Other
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-26 10:13 UTC by Erno Mononen
Modified: 2011-11-16 14:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2011-07-26 10:13:17 UTC
Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02
System: Windows 7 version 6.1 running on amd64; Cp1252; fi_FI (nb)


Steps:
1. have such a long list of source roots that they don't all fit into to the source roots window (i.e. scrolling is required)
2. scroll down a bit
3. start disabling/enabling source roots => after two clicks the window refreshes and you're taken to the beginning of the list again

May sound like a minor issue but believe me it's very annoying in practice; just try disabling a dozen source roots that are in the middle of a long list.
Comment 1 Martin Entlicher 2011-11-16 14:01:06 UTC
It looks like this is fixed in recent dev builds.
It might be fixed by batch processing of changes introduced by http://hg.netbeans.org/main/rev/a130b52ac3d2