Closed
Bug 290921
Opened 20 years ago
Closed 20 years ago
Funky drop down box scroll bar behaviour
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: deleeuw+bugzilla, Assigned: roc)
References
(Depends on 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
|
2.35 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
asa
:
approval1.8b2+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050418 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050418 Firefox/1.0+
When I open prefs > content > fonts & colors > advanced, all the drop down boxes
in this dialog with scrollbars behaves very strangely when I use them.
For instance, clicking in the "thumb" when it is at its upmost position and
trying to drag it down, I seem to have to travel quite a distance down, until I
am no longer with the mouse pointer of the thumb, to be able to move the thumb down.
Reproducible: Always
Steps to Reproduce:
1. Open prefs > content > fonts & colors > advanced
2. Use the scrollbars in drop downs
3. Notice the funky behaviour
Comment 1•20 years ago
|
||
This works fine in the 20050417 build, fresh regression
Steps to reproduce
1. go to tools/options/content/font & colors/advanced
2. Expand the sans-serif dropdown
3. Scroll it using the scrollbar thumb, the cursor position will not be on the
scrollbar
Updated•20 years ago
|
Assignee: bugs → jag
Component: Preferences → XP Toolkit/Widgets
Product: Firefox → Core
QA Contact: mconnor → jrgmorrison
Version: unspecified → Trunk
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050418
Firefox/1.0+
Confirmed.
Comment 3•20 years ago
|
||
linux gtk2 firefox trunk 2005-04-18-07Z: When dragging scrollbar thumb in a
single-select box dropdown list (example: Component dropdown on this bug
report), the thumb is offset downward approximately by the distance between top
edge of web page viewport and the select widget. The scroll position of the list
follows the thumb, not mouse pointer location.
OS: Windows XP → All
Comment 4•20 years ago
|
||
I remember the last time some similar regression occured, that was bug 254061.
Confirmed. Happens on every single drop down.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050419
Firefox/1.0+
Comment 6•20 years ago
|
||
Confirmed
| Assignee | ||
Comment 7•20 years ago
|
||
The problem is that in popups, GetClientX/Y actually returns coordinates
relative to top-left of the popup.
| Assignee | ||
Comment 8•20 years ago
|
||
sigh
Assignee: jag → roc
Status: NEW → ASSIGNED
Attachment #181205 -
Flags: superreview?(bzbarsky)
Attachment #181205 -
Flags: review?(bzbarsky)
Comment 9•20 years ago
|
||
Comment on attachment 181205 [details] [diff] [review]
fix
r+sr=bzbarsky, with vile imprecations hurled at certain XUL authors who shall
remain nameless...
Attachment #181205 -
Flags: superreview?(bzbarsky)
Attachment #181205 -
Flags: superreview+
Attachment #181205 -
Flags: review?(bzbarsky)
Attachment #181205 -
Flags: review+
| Assignee | ||
Comment 10•20 years ago
|
||
Comment on attachment 181205 [details] [diff] [review]
fix
fix scrolling event coordinate code to handle bizarre behaviour of DOM
.clientX/.clientY in popups
Attachment #181205 -
Flags: approval1.8b2?
| Assignee | ||
Comment 11•20 years ago
|
||
Comment on attachment 181205 [details] [diff] [review]
fix
fix scrolling event coordinate code to handle bizarre behaviour of DOM
.clientX/.clientY in popups (regression)
Attachment #181205 -
Flags: approval1.8b2?
Comment 12•20 years ago
|
||
I just had a thought... is the bogosity with walking up from the document widget
an issue for popups inside subframes? Could you test those, roc?
| Assignee | ||
Updated•20 years ago
|
Attachment #181205 -
Flags: approval1.8b2?
| Assignee | ||
Comment 13•20 years ago
|
||
Using screen coordinates is quite clean and looks foolproof.
Attachment #181205 -
Attachment is obsolete: true
Attachment #181241 -
Flags: superreview?(bzbarsky)
Attachment #181241 -
Flags: review?(bzbarsky)
Comment 14•20 years ago
|
||
Comment on attachment 181241 [details] [diff] [review]
better fix
Rename clientPosPx to ourPosPx (or posPx?), and r+sr=bzbarsky
Attachment #181241 -
Flags: superreview?(bzbarsky)
Attachment #181241 -
Flags: superreview+
Attachment #181241 -
Flags: review?(bzbarsky)
Attachment #181241 -
Flags: review+
| Assignee | ||
Comment 15•20 years ago
|
||
Comment on attachment 181241 [details] [diff] [review]
better fix
a more robust fix to the combobox dropdown scrollbar regression
Attachment #181241 -
Flags: approval1.8b2?
Comment 16•20 years ago
|
||
Comment on attachment 181241 [details] [diff] [review]
better fix
a=asa
Attachment #181241 -
Flags: approval1.8b2? → approval1.8b2+
| Assignee | ||
Comment 17•20 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Verified FIXED on Windows XP Seamonkey trunk (Mozilla/5.0 (Windows; U; Windows
NT 5.1; en-US; rv:1.8b2) Gecko/20050421)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•