Scrolling with vertical scrollbar selects text in source:
1. Click on an item in Explorer
2. Click and hold vertical scrollbar of Source Editor and
move it around and, as misaligned as some of us are, while
moving around have your mousecursor accidentally moving
over a part your source text, and hey! Stupid mouse, don't
select my text while I told you to scroll...
It would be very kind if this were to be fixed, 'cos
otherwise my mouse would end up hanging somewhere out of
the window sooner or later... ;) TIA
Are you using jdk1.3 or jdk1.4?
Do you use SDI or MDI mode?
I've tested on 1.4 on Redhat7.1 with Gnome1.4 and the problem does not
appear there. IMHO the AWT treats whether the mouse events are sent to
the scrollbar only or whether they "leak out" to the neighbour
components too when the mouse button is held.
I keep having the problem on my Windows XP (Build
2600.xpclnt_qfe.010827-1803) as I work with Netbeans IDE
3.3.2 (Build 200206050332) with Java HotSpot Client VM
1.4.0-b92. And it happens only in MDI-mode and not in SDI-
so, I was trying to reproduce this problem. I tested WinXP,
JDK1.4.0, Forte 4.0CE. I reproduced the problem. Comments:
1. The step with focusing an item in explorer seems to be necessary.
Probably the focus is not set on the right place?
2. The same behaviour occurs when using Output window or after
uninstalling the editor (therefore when using std. swing components, I
3. I was able to reproduce it on the Solaris too (just a simple test,
no editor disabling, ...).
IMO, this is probably not bug in editor. The problem may be in the
NetBeans core (it may handle events incorrectly in this case), or
Java/Swing problem. I recommend to move this bug to "core/AWT&Swing".
I don't know whether it's up to the submitter of the issue
to move around the issue, but hereby I move this issue
from "editor/ui" to "core/AWT&Swing"
Jan (& Mila probably), can you put some debug prints to editor code to
see what kind of messages do you receive in mentioned case?
I don't have access to WinXP and don't know editor code at all. Core
and openide is doing nothing with messages coming from swing AFAIK, so
I expect this to be jdk/swing problem.
Yes, Jan, can you test against Swing demo or some simple swing app
using editor pane? This would help me. Thx, Dafe.
changed owner Dafe -> Peter Z.
reassign to Tim, new owner of AWT/Swing
I've lately installed a later version of NetBeans and the
problem doesn't seem to occur anymore. I'm quite happy
now, good work, thank y'all.
Product Version: NetBeans IDE 3.4
IDE Versioning: IDE/1 spec=2.23.1 impl=200208222340
Operating System: Windows XP version 5.1 running on x86
VM: Java HotSpot(TM) Client VM 1.4.1_01-b01
Vendor: Sun Microsystems Inc.
System Locale: nl_NL
As described Ronny above, it works fine now, so I close this issue.
If problem occurs again please reopen. Thanks.
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.
This issue had *1 votes* before move to platform component