Closed Bug 479765 Opened 17 years ago Closed 16 years ago

Fix the Scroll-Bar mechanism

Categories

(Skywriter Graveyard :: Editor, defect, P2)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: danzat, Assigned: danzat)

Details

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) Build Identifier: 7f876ef36055 Right now, the scrollbar isn't working properly. Reproducible: Always Steps to Reproduce: 1.Open a large enough file (so that scrolling would have a practical meaning, say > 100 lines) 2. Using the moust, click the arrow on the vertical scrollbar and hold it. 3. Release the mouse button. Actual Results: While the mouse is pressed over the arrow, the editor does not respond. On releasing the mouse button, the editor scrolls an entire page (once!) in the direction of the arrow. Expected Results: While the mouse is pressed over the arrow, the editor should scroll "smoothly" in the desired direction.
Currently I'm working on the fix, and I already have something. I just don't know how to assign the bug to myself, if anyone can help, I'd appreciate it very much.
The patch compensates the fact that when clicking a mouse button, only one "mousedown" event is fired. What happens now, is that when clicking (and holding) inside the scrollbar but not in the handle, the handle scrolls smoothly towards the mouse pointer, meaning that even if the mouse is moved (while holding the button down, of course), the scroll handle will follow the mouse.
Dany, This is fantastic! I will get the patch looked at and we can get it in! Really appreciate you doing this. Cheers, Dion
Assignee: nobody → danzat
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P2
Whiteboard: editor
Target Milestone: -- → 0.2
This is a mass migration from Mozilla Labs :: Bespin to Bespin :: Editor.
Component: Bespin → Editor
Product: Mozilla Labs → Bespin
QA Contact: bespin → editor
Whiteboard: editor
Target Milestone: 0.2 → 0.2.x
Target Milestone: 0.2.x → ---
I don't understand this issue; Bespin has continuously scrolled for as long as I can recall...
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: