Closed
Bug 548124
Opened 16 years ago
Closed 12 years ago
Autoscroll in select popup gives wrong scrolling behavior
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
284 bytes,
text/html
|
Details |
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.
| Reporter | ||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
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.
Comment 3•16 years ago
|
||
Although the mouse s still above the autoscroll icon, the page scrolls to the bottom.
| Reporter | ||
Comment 4•16 years ago
|
||
Yeah, the autoscroll speed is wrong. The speed seems to calculated against the select drop-down popup, not the window, it seems.
Comment 5•16 years ago
|
||
I'm unable to reproduce this.
Comment 6•16 years ago
|
||
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.
Comment 7•16 years ago
|
||
I still can't reproduce this, neither on windows nor linux.
Comment 8•16 years ago
|
||
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. :)
Comment 9•16 years ago
|
||
(In reply to comment #8)
> Expected behavior: unknown. Not upwards in any case. :)
ERR: Expected behavior: Not downwards.
Comment 10•16 years ago
|
||
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)
Comment 11•16 years ago
|
||
(That bug I can only reproduce on windows)
Comment 12•12 years ago
|
||
Can you still reproduce this?
| Reporter | ||
Comment 13•12 years ago
|
||
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.
Description
•