[ BUILD # : 200509261930 ]
[ JDK VERSION : 1.5.0_05 ]
Summary: Navigator does not always display the correct view of its apparent internal state, so what-you-see-is-not-what-you-get when selecting.
1. Open nbbuild/build.xml in the editor.
2. Double-click the target "real-clean" in the Navigator (so both windows are synced and scrolled down).
3. Click on some other editor tab.
4. Click back on the nbbuild/build.xml tab. You will see the Navigator window restored so that real-clean is visible. Try to click on it in the Navigator pane.
As soon as the mouse button is pressed,
the Navigator window immediately scrolls to the beginning and the selection changes.
Assigning to core/navigator. Dafe, please re-assign as needed.
Yes, reproduced, confirmed. I guess bug in Ant navigator support, passing.
Can reproduce. No idea what causes it; could be a bug in ListView or something.
AntNavigatorPanel is not doing anything unusual to my knowledge. For me, after
clicking back to build.xml, actually the first target ("all") is selected,
though the scroll position still shows real-clean. But then in a different test,
real-clean *was* selected after switching back. I don't know what causes it to
behave one way or the other.
Does not occur when using Nav in sliding mode; Ctrl-7 rescrolls to top.
does not help. Do not know what cause is or how to solve.
Downloaded build 200510031800 and the problem seems to be solved.
It's not solved in build 200510031800.
Sorry about last comment.
Cf. issue #97169.
BTW, this exists in the latest daily builds (e.g. 200810111401). As anyone who works with Ant (which is hard to avoid
when using NetBeans) knows, this may be minor but it's really annoying.
This affects the navigator component for any Ant build file across multiple platforms, JREs and platforms.
I've disabled automatic selection of the first list element when there is otherwise no selection, which may help. I only
use Navigator in sliding mode and using keyboard only (using typeahead find) so I have little feel for how mouse users
expect it to work. Contributions welcome.
Integrated into 'main-golden', will be available in build *200811071401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jesse Glick <firstname.lastname@example.org>
Log: #65795: do not rescroll navigator window.
If people experiencing this can verify the fix (VERIFIED) in 7.0 Milestone 1 or dev builds, this may be a
Verified under the following configuration:
Product Version: NetBeans IDE Dev (Build 200901150201)
Java: 1.6.0_10; Java HotSpot(TM) Server VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Thanks! We'll see if it is accepted.
*** Issue 120770 has been marked as a duplicate of this issue. ***