Closed
Bug 599681
Opened 14 years ago
Closed 14 years ago
Auto-scrolling fails at the left edge of the screen
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b7
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: matjk7, Assigned: Felipe)
References
Details
Attachments
(1 file)
(deleted),
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20100925 Firefox/4.0b7pre
Build Identifier: Built from http://hg.mozilla.org/mozilla-central/rev/71e8b5aee972
If you middle-click at the very left edge of the screen when the window is maximized and then move the mouse up or down (while not moving to the right), auto-scrolling fails. This is probably a regression from 3.6, but I have no idea how recent it is.
Reproducible: Sometimes
Steps to Reproduce:
1.Middle-click at the left edge of the screen while the window is maximized.
2.Attempt to scroll up or down.
Actual Results:
Scrolling fails.
Expected Results:
Scrolling should work.
This is actually 100% reproducible, but if you accidentally move the mouse even 1px to the right it will scroll normally.
Reporter | ||
Updated•14 years ago
|
Comment 1•14 years ago
|
||
This caused by checked in 7804b5cf4313 Robert O'Callahan — Bug 130078. Part 2.
Remove widgets from all subframes.
And
If you always display Menu Bar, the problem does not happen.
May be dup of Bug 598601
blocking2.0: ? → final+
Assignee | ||
Comment 2•14 years ago
|
||
Turns out it's a problem of the custom hit testing. The far left of the screen is being treated as a resizer border (HTLEFT) instead of client area.
(Very similar to bug 575493)
Status: UNCONFIRMED → NEW
Component: Layout → Widget: Win32
Ever confirmed: true
QA Contact: layout → win32
Assignee | ||
Comment 3•14 years ago
|
||
I'll take
Assignee | ||
Comment 5•14 years ago
|
||
It was a off-by-one problem making the top and left borders 9-pixels wide instead of 8.
On the right and bottom this wasn't visible because the rect returned by GetWindowRect is exclusive at the bottom-right edge.
Attachment #479857 -
Flags: review?(jmathies)
Comment 6•14 years ago
|
||
Comment on attachment 479857 [details] [diff] [review]
Patch
thanks.
Attachment #479857 -
Flags: review?(jmathies) → review+
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs landing]
Assignee | ||
Comment 7•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing]
Target Milestone: --- → mozilla2.0b8
Updated•14 years ago
|
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in
before you can comment on or make changes to this bug.
Description
•