Closed
Bug 1120750
Opened 10 years ago
Closed 10 years ago
[Text Selection]Send out caret's position for the short cut mode
Categories
(Core :: DOM: Selection, defect, P2)
Tracking
()
People
(Reporter: pchang, Assigned: mtseng)
References
Details
Attachments
(5 files, 9 obsolete files)
793 bytes,
patch
|
roc
:
review+
smaug
:
superreview+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
4.73 KB,
patch
|
roc
:
review+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
6.80 KB,
patch
|
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
8.03 KB,
patch
|
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
2.39 KB,
patch
|
Details | Diff | Splinter Review |
This bug is created based on bug 1117684 comment 3 and I just clone the comment in the following.
1. launch bubble by touchcarettap on column A, then long tap on empty column B, the bubble's position seems incorrect. We need a selectionchanged event from gecko when long tapping column B.
Reporter | ||
Updated•10 years ago
|
Blocks: 1117684, CopyPasteLegacy
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → pchang
Reporter | ||
Updated•10 years ago
|
Priority: -- → P2
Reporter | ||
Comment 1•10 years ago
|
||
Un-assign myself. Morris, please check this issue with Jeremy.
Flags: needinfo?(mtseng)
Reporter | ||
Updated•10 years ago
|
Assignee: pchang → nobody
Reporter | ||
Comment 2•10 years ago
|
||
Feel free to assign to others if you are not the right owner
Assignee: nobody → mtseng
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
Fix build break.
Attachment #8552293 -
Attachment is obsolete: true
Assignee | ||
Comment 8•10 years ago
|
||
fix build break again.
Attachment #8552815 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(mtseng)
Assignee | ||
Comment 9•10 years ago
|
||
Rename reason name.
Attachment #8552294 -
Attachment is obsolete: true
Assignee | ||
Comment 10•10 years ago
|
||
Rename reason name.
Attachment #8552295 -
Attachment is obsolete: true
Assignee | ||
Comment 11•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8552903 -
Flags: review?(roc)
Assignee | ||
Updated•10 years ago
|
Attachment #8552929 -
Flags: superreview?(bugs)
Assignee | ||
Updated•10 years ago
|
Attachment #8552934 -
Flags: review?(roc)
Assignee | ||
Updated•10 years ago
|
Attachment #8552296 -
Flags: review?(roc)
Updated•10 years ago
|
Attachment #8552929 -
Flags: superreview?(bugs) → superreview+
Comment on attachment 8552903 [details] [diff] [review]
Part 1: Move GetSelectionBoundingRect to nsContentUtils v3.
Review of attachment 8552903 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/base/nsContentUtils.h
@@ +2168,5 @@
> int32_t& aOutStartOffset,
> int32_t& aOutEndOffset);
>
> /**
> + * Takes a selection, and return selection's bounding rect.
You need to say what the rect is relative to.
Attachment #8552903 -
Flags: review?(roc) → review+
Attachment #8552929 -
Flags: review+
Attachment #8552934 -
Flags: review?(roc) → review+
Attachment #8552296 -
Flags: review?(roc) → review+
Assignee | ||
Comment 14•10 years ago
|
||
Update to reviewer's comment
Attachment #8552903 -
Attachment is obsolete: true
Assignee | ||
Comment 16•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Attachment #8552931 -
Attachment is obsolete: true
Assignee | ||
Comment 19•10 years ago
|
||
Comment on attachment 8559595 [details] [diff] [review]
Part 1: Move GetSelectionBoundingRect to nsContentUtils v5. (carry r+: roc)
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined: The position of shortcut bubble for copy/paste would be wrong when it appears.
Testing completed: on master
Risk to taking this patch (and alternatives if risky): low risk.
String or UUID changes made by this patch: none
Attachment #8559595 -
Flags: approval-mozilla-b2g37?
Assignee | ||
Comment 20•10 years ago
|
||
Comment on attachment 8552929 [details] [diff] [review]
Part 2: Add taponcaret to SelectionState v2.
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined: The position of shortcut bubble for copy/paste would be wrong when it appears.
Testing completed: on master
Risk to taking this patch (and alternatives if risky): low risk.
String or UUID changes made by this patch: none
Attachment #8552929 -
Flags: approval-mozilla-b2g37?
Assignee | ||
Comment 21•10 years ago
|
||
Comment on attachment 8552934 [details] [diff] [review]
Part 3: Dispatch taponcaret using selectionstatechanged event v3.
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined: The position of shortcut bubble for copy/paste would be wrong when it appears.
Testing completed: on master
Risk to taking this patch (and alternatives if risky): low risk.
String or UUID changes made by this patch: none
Attachment #8552934 -
Flags: approval-mozilla-b2g37?
Assignee | ||
Comment 22•10 years ago
|
||
Comment on attachment 8555694 [details] [diff] [review]
Part 4: Remove all touchcarettap event listener v2. (carry r+: roc)
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined: The position of shortcut bubble for copy/paste would be wrong when it appears.
Testing completed: on master
Risk to taking this patch (and alternatives if risky): low risk.
String or UUID changes made by this patch: none
Attachment #8555694 -
Flags: approval-mozilla-b2g37?
Assignee | ||
Comment 23•10 years ago
|
||
Looks like we have gij failed on try. Clear checkin-needed first.
Keywords: checkin-needed
Assignee | ||
Comment 24•10 years ago
|
||
Looks like my try on gij didn't fetch latest gaia. With latest gaia on my local machine, it looks well. Add checkin-needed again.
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=68f0c7b0442b
Keywords: checkin-needed
Assignee | ||
Comment 25•10 years ago
|
||
More precisely, we need gaia after this commit. https://git.mozilla.org/?p=releases/gaia.git;a=commit;h=827389929cc20dda5ade6e887d99894905f4f7b9
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 26•10 years ago
|
||
Sorry, but I'd like to see a green Try run that includes the Gaia commit in question.
Keywords: checkin-needed
Assignee | ||
Comment 27•10 years ago
|
||
Here is try with positive result: https://treeherder.mozilla.org/#/jobs?repo=try&revision=02d599d6ff56
Keywords: checkin-needed
Comment 28•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/cc0142c8a550
https://hg.mozilla.org/integration/mozilla-inbound/rev/09a80c23ad56
https://hg.mozilla.org/integration/mozilla-inbound/rev/6e376c78c31b
https://hg.mozilla.org/integration/mozilla-inbound/rev/db6c43f3ce1b
Keywords: checkin-needed
Comment 29•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cc0142c8a550
https://hg.mozilla.org/mozilla-central/rev/09a80c23ad56
https://hg.mozilla.org/mozilla-central/rev/6e376c78c31b
https://hg.mozilla.org/mozilla-central/rev/db6c43f3ce1b
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•10 years ago
|
Attachment #8552929 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Updated•10 years ago
|
Attachment #8552934 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Updated•10 years ago
|
Attachment #8555694 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Updated•10 years ago
|
Attachment #8559595 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Comment 30•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/4188a0712a69
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/ab83a2e7d58a
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/6d2fe1328424
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/f712597a634b
status-b2g-v2.2:
--- → fixed
status-b2g-master:
--- → fixed
status-firefox36:
--- → wontfix
status-firefox37:
--- → wontfix
Comment 31•10 years ago
|
||
Assignee | ||
Comment 32•10 years ago
|
||
Tested it in my local machine.
Comment 33•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/5382fb4a631f
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/d9b4ba078d96
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/b19f82816eb2
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/d02e52365bf9
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/541555f581b4
Comment 34•10 years ago
|
||
Landed the bustage fix on b2g-inbound as well to keep the branches in sync.
https://hg.mozilla.org/integration/b2g-inbound/rev/197838b4972e
You need to log in
before you can comment on or make changes to this bug.
Description
•