Closed
Bug 1073457
Opened 10 years ago
Closed 10 years ago
[Text selection] Selection carets does not work on browser with e10s
Categories
(Core :: DOM: Selection, defect, P4)
Tracking
()
RESOLVED
FIXED
mozilla36
Tracking | Status | |
---|---|---|
e10s | - | --- |
People
(Reporter: TYLin, Assigned: TYLin)
References
Details
Attachments
(1 file, 1 obsolete file)
4.44 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
SelectionCarets::LaunchLongTapDetector() early returns in [1]. 874 if (XRE_GetProcessType() != GeckoProcessType_Default) { 875 return; 876 } XRE_GetProcessType() returns GeckoProcessType_Content. [1] http://hg.mozilla.org/mozilla-central/file/5e704397529b/layout/base/SelectionCarets.cpp#l874
Assignee | ||
Updated•10 years ago
|
Priority: -- → P4
Summary: [Text selection] Selection carets does not work browser with e10s → [Text selection] Selection carets does not work on browser with e10s
Updated•10 years ago
|
tracking-e10s:
--- → -
Assignee | ||
Comment 1•10 years ago
|
||
LaunchLongTapDetector() is used to fire long tap to select word when async pan zoom is not enabled. We should check if async pan zoom is enabled rather than check whether it's on main process. This can also fix selection carets not working on e10s.
Assignee | ||
Updated•10 years ago
|
Attachment #8519703 -
Flags: feedback?(pchang)
Attachment #8519703 -
Flags: feedback?(mtseng)
Comment 2•10 years ago
|
||
Comment on attachment 8519703 [details] [diff] [review] Launch long tap detector when APZ isn't enabled. Review of attachment 8519703 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/base/SelectionCarets.cpp @@ +119,5 @@ > return; > } > > + docShell->GetAsyncPanZoomEnabled(&mAsyncPanZoomEnabled); > + Looks like this function doesn't care about "layers.async-pan-zoom.enabled". So maybe we should do this: docShell->GetAsyncPanZoomEnabled(&mAsyncPanZoomEnabled); mAsyncPanZoomEnabled = mAsyncPanZoomEnabled && gfxPrefs::AsyncPanZoomEnabled(); What do you think?
Attachment #8519703 -
Flags: feedback?(mtseng) → feedback+
Assignee | ||
Comment 3•10 years ago
|
||
Agree. We should check gfxPrefs::AsyncPanZoomEnabled().
Status: NEW → ASSIGNED
QA Contact: tlin
Assignee | ||
Comment 4•10 years ago
|
||
LaunchLongTapDetector() is used to fire long tap to select word when async pan zoom is not enabled. We should check if async pan zoom is enabled rather than check whether it's on main process. This can also fix selection carets not working on e10s.
Attachment #8519703 -
Attachment is obsolete: true
Attachment #8519703 -
Flags: feedback?(pchang)
Attachment #8519754 -
Flags: review?(roc)
Attachment #8519754 -
Flags: review?(roc) → review+
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → tlin
QA Contact: tlin
Assignee | ||
Comment 5•10 years ago
|
||
Try result: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=f33c2bdf431d
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8ddd2d760589
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/8ddd2d760589
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•