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 36404 - Scrollbars should scroll faster
Summary: Scrollbars should scroll faster
Status: REOPENED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: ivan
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2003-10-02 23:57 UTC by _ gtzabari
Modified: 2010-08-10 20:33 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2003-10-02 23:57:02 UTC
dev build 200310010100

   Some scrollbars in Netbeans (output window for
one) scroll way too slowly.. I think they're set
to scroll one unit at a time. I would like to see
this value increased to 30 or 50 units at a time.

   Example usage: try to select text found in the
output window by dragging the mouse from left to
right and having the horizontal bar auto-scroll to
the right. It scrolls very slow on long texts.
Comment 1 _ gtzabari 2003-11-12 17:48:17 UTC
Hello? Any movement on this issue? Sounds like something that's easy
to fix and it's getting rather annoying on my end. I need to
copy/paste large amounts of text from the output window at least 50
times a day and I keep on having to scroll horizontally one unit at a
time to do this.

Please evaluate this issue soon.
Comment 2 mslama 2003-11-13 13:15:29 UTC
Assigning to terminal emulator which should handle autoscroll step
size I think.
Comment 3 _ tboudreau 2003-11-13 14:47:04 UTC
Cc'ing Ivan, since he told me he plans to be making some changes in Term 
soon. 
Comment 4 ivan 2003-11-13 22:43:38 UTC
Just to confirm ...
Are you specifically unhappy with _auto_ scrolling or is
the granularity of scrollbutton and scroll bubble actions also
troublesome?
Comment 5 _ gtzabari 2003-11-13 23:10:38 UTC
I'm unhappy with the granularity of horizontal scrolling on the 
output window (OW) when I:

Clear on text in the OW
Drag the mouse to the right of the OW, causing the selection to 
extend to the end of the line

   While I'm dragging in step 2, the granularity is way too small. 
It's scrolling one character at a time while I expect maybe 15.
Comment 6 ivan 2003-11-13 23:23:35 UTC
Is it OK for vertical scrolling?
Comment 7 _ gtzabari 2003-11-14 00:12:18 UTC
Currently it is ok for vertical scrolling because personally I have
never had a need to highlight a lot of text vertically. I can image,
though, in the future if someone wishes to highlight say 200 lines of
output it might be annoying to scroll one line at a time vertically too.

I would experiment with changing both the horizontal and vertical
scrolling rates and giving it a try. I think a good idea is to make
the scroll rate a percentage of the window size in that direction. For
example, if the window is very wide, the scroll horizontally should be
fast. If a screen is very short (vertically) it should scroll downward
slowly. And the scrolling rate should adjust as the window size
changes at runtime. That would be the ultimate solution in my opinion.
Comment 8 _ tboudreau 2003-12-15 17:41:12 UTC
Setting this issue to target milestone future - I've got enough to do
with winsys and property sheet and html rendering infrastructure, that
I'm not likely to get to this.

Ivan, you'll probably be the one to address this anyway - if you think
you can do something on it in time for 3.6, reassign this issue to
yourself and set it as you wish.
Comment 9 ivan 2003-12-17 00:06:05 UTC
Until we agree on a common solution changed the rate from 50 to
10 milli-seconds per frame.
Comment 10 ivan 2004-01-09 21:08:37 UTC
After discussions on nbui here's the plan based on DavidJohn
recommendation:

scrolling rate relative to the distance of mouse from edge.
this is apparently a common idiom.

not quite clear whether rates should be different for
vertical and horizontal scrolling

rate proportional to distance from edge as opposed to ratio
of distance from edge to width of window (but experiment anyway :-)

rate _linearly_ porportional to distance from edge. (BUt
experiment with other functions?)

rate should manifest itself as alteration of millisecond
delay as opposed to altering the number of columns shifted/lines
scrolled.

Comment 11 _ gtzabari 2004-01-10 05:22:33 UTC
Ivan,

   Sounds like a good idea. Please apply this algorithm to vertical
selection as well as horizontal.
Comment 12 _ tboudreau 2004-01-10 23:48:38 UTC
Since you seem to be handling this, Ivan, in a devious attempt to
reduce my open bug count, I'm going to assign this issue to you :-O

Comment 13 Petr Nejedly 2004-07-16 16:19:16 UTC
Not an issue anymore with the new output window implementation for 4.0
Comment 14 Marian Mirilovic 2005-07-15 07:49:49 UTC
closed
Comment 15 ivan 2005-07-15 23:25:16 UTC
While the terminalemulator is not in active use in NB proper,
it is being used in sunstudio so bugs against it are still
relevant and shouldn't be closed just because there's OW2.
Comment 16 Marian Mirilovic 2005-07-18 07:39:14 UTC
Hi Ivan,
just short explanation why this issue has been verified/closed :

we closed all already resolved issues, so did this one. It was fixed on
16/07/2004 by pnejedly with TM=4.0, so we've verified this resolution.

Because you've reopened it again, it seems like it had never been solved before
... that's another reason why we did it, some of issues already resolved for
long time are still valid and nobody knows about it....

Comment 17 _ alexlamsl 2005-08-15 01:03:41 UTC
due to lack of response from the reopener...
issue closed =P
Comment 18 ivan 2005-08-15 22:36:28 UTC
What do you want me to say?
The terminalemulator _still_ has slow scrollbars and that is _still_
an issue for SunStudio.
The bug is filed against core/terminalemulator, not output window.
So, yes while OW's scrolling problem has been resolved by switching 
to OW2, the bug in core/terminalemulator is still there and
I still need to do something about it one of these days.
Comment 19 _ gtzabari 2008-02-05 13:00:02 UTC
Ivan, has anything changed in 2 years or does this bug still exist?
Comment 20 ivan 2008-02-05 19:32:25 UTC
Yes.
But the terminalemulator is no longer used in regular netbeans, only in sunstudio.
Are you impacted by this when using sunstudio or plain NB?
Of only when using plain NB then please file a separate IZ against core/output.
Comment 21 _ gtzabari 2008-02-05 19:57:11 UTC
Ivan, I use plain NB and it works fine. I was just asking whether this was fixed in sunstudio so we could close this
issue but I guess this isn't the case.
Comment 22 Alexander Pepin 2010-08-10 13:49:07 UTC
Is not reproducible in the fresh NB
Comment 23 ivan 2010-08-10 20:33:03 UTC
The nature of this IZ is that of an RFE.
The scrolling speed during selection is supposed to be proportional to
distance from window. That's how it is, for example, with the NB
text editor.
This RFE hasn't been implemented yet so the issue still stands.