Closed Bug 162337 Opened 22 years ago Closed 22 years ago

after middle click in text area scrollbar, jumps back to text cursor

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 70698

People

(Reporter: dsb, Assigned: rods)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1b) Gecko/20020722 BuildID: 2002072204 When you middle click on the vertical scrollbar of a text area, after the text area scrolls to the appropriate position, it then scrolls back to the position of the text cursor (i-beam cursor). Reproducible: Always Steps to Reproduce: 1. Go to a page with a text area. (E.g., http://www.dyncorp.com/working/apply.asp, although that probably requires setting up an account.) E-mail me if you'd like me to do a Save As and e-mail you the source. 2. Enter at least twice as many lines of text as the text area can display without scrolling. 3. Click somewhere near the bottom to set the text cursor position. 4. Middle-click (assuming default mouse mappings) at the top of the vertical scroll bar to try to scroll to the top of the text. Actual Results: After scrolling up to the top of the text, the text area scrolls back down to where the text cursor is. Expected Results: The text area should scroll according to the click position on the scroll bar, and should remain there until some other action. (I.e., it shouldn't jump back to the text cursor position unless the user does something like press an arrow key or enter text.) It scrolls up on mouse-down, and scrolls back on mouse-up, so the behavior shouldn't require using a slow-enough machine to see the behavior. It doesn't seem to matter whether the text cursor position is above or below the line specified by the click position within the scroll bar. A workaround is to move the scroll-bar "thumb" by means other than middle-clicking (although I haven't checked how many other options might have the same problem).
i believe this too in effect is a dup of bug 70698, by way of dup bug 82513) What happens if you have something on clipboard? For me, it will then jump - AND paste. I can reproduce that right here in the bugzilla comment form. If i don't have anything on clipboard, i only see the scrollbar "jump"
Behavior when you have something in your clipboard is a dupe of bug 70698. If you don't have anything in your clipboard it's probably just pasting an empty string. *** This bug has been marked as a duplicate of 70698 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.