Closed Bug 548124 Opened 16 years ago Closed 12 years ago

Autoscroll in select popup gives wrong scrolling behavior

Categories

(Toolkit :: UI Widgets, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martijn.martijn, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

See testcase, to reproduce, click on the select, then middle-click in the select drop-down popup. After that, autoscrolling goes wonky. It seems like the coordinates of the select drop-down popup are used, somehow, to indicate how autoscrolling should behave. Perhaps no autoscroll image should appear at all, when middle-clicking in a select drop-down popup.
Attached file testcase
What behavior do you see? In my case, the drop-down disappears and the page is autoscrolled. I only enabled autoscroll for "multiple" selects, otherwise it falls back to the next overflowing element, which in this case is the window.
Although the mouse s still above the autoscroll icon, the page scrolls to the bottom.
Yeah, the autoscroll speed is wrong. The speed seems to calculated against the select drop-down popup, not the window, it seems.
I'm unable to reproduce this.
I can reproduce. Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a2pre) Gecko/20100223 Minefield/3.7a2pre ID:20100223035408 in browser.xml Value of event.screenX and event.screenY are changed after the following sentences were called. this._autoScrollPopup.showPopup(...); I think that it seems core eventhandling issue.
I still can't reproduce this, neither on windows nor linux.
STR: - New profile; first run - Past testcase in locationbar and load the page - Click on selectbox dropdown arrow - middelclick on option 19 - move your mouse a little bit upwards Result: page scrolls downwards. Expected behavior: unknown. Not upwards in any case. :)
(In reply to comment #8) > Expected behavior: unknown. Not upwards in any case. :) ERR: Expected behavior: Not downwards.
I see another problem: STR: - Load testcase - Open selectbox dropdown - Middleclick on any option (the dropdown disappears, the autoscroll icon appears and scrolls the whole page correctly) - Click on the selectbox (autoscroll stops) - Click on the selectbox again to open the dropdown again - midleclick on any option (the dropdown does not disappear; the autoscroll icon is hidden behind it but does scroll the whole page correctly; the dropdown is scrolled too, but it floats above the browser window)
(That bug I can only reproduce on windows)
Can you still reproduce this?
No.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: