Closed
Bug 1404854
Opened 6 years ago
Closed 6 years ago
Cannot scroll page by dragging text selection handles to the edge of the screen
Categories
(Firefox for Android Graveyard :: Text Selection, defect, P2)
Tracking
(fennec+, firefox55 wontfix, firefox56 wontfix, firefox57 wontfix, firefox58 fixed)
RESOLVED
FIXED
Firefox 58
People
(Reporter: JanH, Assigned: TYLin)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Scrolling up is barely possible, although not very pleasant, while scrolling down by dragging the selection handle doesn't seem to work at all.
Kats, botond, what do you think about this? Feels like APZ needs to be aware that you're dragging a selection handle around then scroll for you.
tracking-fennec: ? → +
Flags: needinfo?(bugmail)
Flags: needinfo?(botond)
Priority: -- → P2
Comment 2•6 years ago
|
||
I think this is more in the selection code than APZ. Even on desktop if you do a mouse-drag-selection, the page will scroll if you select stuff beyond the edge of the visible page, and APZ has nothing to do with that. It's handled by the selection code.
Flags: needinfo?(bugmail)
Assignee | ||
Comment 3•6 years ago
|
||
AccessibleCaretManager::DragCaretInternal() has some code [1] to scroll the page, but apparently, it didn't work properly. I'll look into it. [1] https://dxr.mozilla.org/mozilla-central/rev/19b32a138d08f73961df878a29de6f0aad441683/layout/base/AccessibleCaretManager.cpp#1283-1288
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 10•6 years ago
|
||
mozreview-review |
Comment on attachment 8915917 [details] Bug 1404854 Part 1 - Move null pointers checking from DragCaretInternal() to DragCaret(). https://reviewboard.mozilla.org/r/187170/#review193410
Attachment #8915917 -
Flags: review?(mtseng) → review+
Comment 11•6 years ago
|
||
mozreview-review |
Comment on attachment 8915918 [details] Bug 1404854 Part 2 - Move adding mOffsetYToCaretLogicalPosition into DragCaretInternal(). https://reviewboard.mozilla.org/r/187172/#review193414
Attachment #8915918 -
Flags: review?(mtseng) → review+
Comment 12•6 years ago
|
||
mozreview-review |
Comment on attachment 8915919 [details] Bug 1404854 Part 3 - Fix page cannot be scrolled automatically when dragging caret. https://reviewboard.mozilla.org/r/187174/#review193416
Attachment #8915919 -
Flags: review?(mtseng) → review+
Assignee | ||
Comment 13•6 years ago
|
||
Morris, thanks for the review!
Comment 14•6 years ago
|
||
Pushed by tlin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1e5e53f0cfa8 Part 1 - Move null pointers checking from DragCaretInternal() to DragCaret(). r=mtseng https://hg.mozilla.org/integration/autoland/rev/d5fc6f59adce Part 2 - Move adding mOffsetYToCaretLogicalPosition into DragCaretInternal(). r=mtseng https://hg.mozilla.org/integration/autoland/rev/cc0c99d812fd Part 3 - Fix page cannot be scrolled automatically when dragging caret. r=mtseng
![]() |
||
Comment 15•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1e5e53f0cfa8 https://hg.mozilla.org/mozilla-central/rev/d5fc6f59adce https://hg.mozilla.org/mozilla-central/rev/cc0c99d812fd
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Comment 16•6 years ago
|
||
We've shipped this bug in 2 releases already AFAICT. Given that we're trying to limit uplifts for 57 to bugs that would be potentially driving a dot release, I'm going to mark this as wontfix for 57. Feel free to set it back to affected and request Beta approval if you feel strongly about it.
Assignee | ||
Comment 17•6 years ago
|
||
This is a long-standing issue, so I'm OK to let this ride the train.
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•