Closed
Bug 867499
Opened 12 years ago
Closed 11 years ago
Selecting "copy" from context menu for selected text dismisses selection
Categories
(Firefox for Metro Graveyard :: Input, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 30
People
(Reporter: jbecerra, Assigned: azasypkin)
References
Details
(Whiteboard: [selection] p=1 s=it-30c-29a-28b.1 r=ff30 )
Attachments
(1 file, 1 obsolete file)
2.95 KB,
patch
|
azasypkin
:
review+
|
Details | Diff | Splinter Review |
Tested on 2013-04-30 using latest nightly built from http://hg.mozilla.org/mozilla-central/rev/dd0c611a0a27
While testing story in bug 831952 I noticed that tapping on "Copy" in the context menu for selected text dismissed the text selection. In IE the text selection remains after tapping on "Copy."
Steps:
1. Go to https://www.mozilla.org/about/manifesto.en.htm
2. Select a fragment of one of the paragraphs.
3. Tap to summon the context menu
4. Tap on "Copy"
Expected: Text selection remains, such that you can bring up the context menu again and select the other option or expand the selection.
Actual: Text selection is dismissed.
Reporter | ||
Comment 1•12 years ago
|
||
It should be https://www.mozilla.org/about/manifesto.en.html
Updated•12 years ago
|
Blocks: metrov1defect&change
Whiteboard: feature=defect c=Context_menus u=metro_firefox_user p=0
Updated•12 years ago
|
OS: Windows 8 → Windows 8 Metro
Whiteboard: feature=defect c=Context_menus u=metro_firefox_user p=0 → [selection] feature=defect c=Context_menus u=metro_firefox_user p=0
Updated•12 years ago
|
Component: General → Input
Updated•12 years ago
|
Flags: needinfo?(ywang)
Updated•12 years ago
|
Priority: -- → P3
Updated•12 years ago
|
Flags: needinfo?(ywang)
Comment 2•12 years ago
|
||
:juanb, I understand this now works for you? Is that the case?
Flags: needinfo?(jbecerra)
Reporter | ||
Comment 3•12 years ago
|
||
This does still doesn't work for me using the steps in comment #0. You have to select using touch in order to see the problem. If you select using the mouse then it works, meaning the selection is kept.
Flags: needinfo?(jbecerra)
Comment 4•12 years ago
|
||
The behavior is currently by design so we need to change what we do after selection. This is a p3, so it can wait.
Updated•11 years ago
|
Summary: defect - selecting "copy" from context menu for selected text dismisses selection → Defect - selecting "copy" from context menu for selected text dismisses selection
Updated•11 years ago
|
Updated•11 years ago
|
Blocks: metrobacklog
Updated•11 years ago
|
No longer blocks: metrov2defect&change
Updated•11 years ago
|
Summary: Defect - selecting "copy" from context menu for selected text dismisses selection → Selecting "copy" from context menu for selected text dismisses selection
Whiteboard: [selection] feature=defect c=Context_menus u=metro_firefox_user p=0 → [selection] [defect] p=0
Updated•11 years ago
|
Updated•11 years ago
|
Whiteboard: [selection] [defect] p=0 → [selection] [defect] p=1
Updated•11 years ago
|
Priority: P3 → --
Updated•11 years ago
|
Priority: -- → P3
Updated•11 years ago
|
Target Milestone: --- → Firefox 30
Updated•11 years ago
|
Assignee: nobody → azasypkin
Status: NEW → ASSIGNED
Priority: P3 → P2
QA Contact: jbecerra
Whiteboard: [selection] [defect] p=1 → [selection] [defect] p=1 s=it-30c-29a-28b.1
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8372351 -
Flags: review?(jmathies)
Comment 6•11 years ago
|
||
Comment on attachment 8372351 [details] [diff] [review]
copy.diff
Review of attachment 8372351 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/metro/base/tests/mochitest/browser_context_menu_tests.js
@@ +917,5 @@
> + run: function test() {
> + info(chromeRoot + "browser_context_menu_tests_02.html");
> + yield addTab(chromeRoot + "browser_context_menu_tests_02.html");
> +
> + purgeEventQueue();
I don't think we need these purge calls anymore. I think you can take this out without affecting the test.
Attachment #8372351 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Thanks for review! Yeah, seems that purgeEventQueue call is redundant.
Attachment #8372351 -
Attachment is obsolete: true
Attachment #8372387 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 8•11 years ago
|
||
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [selection] [defect] p=1 s=it-30c-29a-28b.1 → [selection] [defect] p=1 s=it-30c-29a-28b.1[fixed-in-fx-team]
Updated•11 years ago
|
Whiteboard: [selection] [defect] p=1 s=it-30c-29a-28b.1[fixed-in-fx-team] → [selection] p=1 s=it-30c-29a-28b.1 r=ff30 [fixed-in-fx-team]
Updated•11 years ago
|
Target Milestone: Firefox 30 → ---
Comment 9•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [selection] p=1 s=it-30c-29a-28b.1 r=ff30 [fixed-in-fx-team] → [selection] p=1 s=it-30c-29a-28b.1 r=ff30
Target Milestone: --- → Firefox 30
Comment 10•11 years ago
|
||
Verified the following issue using the latest Nightly, used build:
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-02-11-03-02-01-mozilla-central/
Reproduced the original issue from comment #0 using the following build:
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-02-05-03-02-03-mozilla-central/
- Ensured that after taping on "Copy" via the context menu, the text that was selected via the grippers remains selected
- Ensured that after taping on "Copy Link" via the context menu, the text that was selected via the grippers remains selected
- Ensured that everything that was selected, pasted correctly (ensured that text was not missing once paste was used)
- Ensured that you can scroll through the website with the text selected without any issues
- Ensured that when you scroll through the website, the grippers disappeared and reappeared once scrolling has stopped (ensured they're selectable)
- Ensured that you can resize the previous selection via the grippers without any issues
- Ensured that you can zoom using the pinch gesture with the text still highlighted and made sure you can resize the selection while zoomed in
- Ensured that switching between different metro applications still has the text selected and the grippers visible
- Ensured that you can use the grippers after switching between different metro applications
- Went through all of the above test cases using different variations of snapped view
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•