Closed
Bug 867502
Opened 12 years ago
Closed 11 years ago
Context menu for selected text may contain traces of links
Categories
(Firefox for Metro Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jbecerra, Unassigned)
References
Details
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 sometimes the context menu for selected text would contain items related to links. That could happen if I had tried to select a fragment of text that contain a link, and then adjusted the selection to contain only text.
Steps:
1. Go to http://www.mozilla.org/about/manifesto.html
2. Long-tap to select the main paragraph which contains a link in "...worked together since 1998.."
3. Adjust the text selection so it is only selecting text and not the link.
4. Long-tap to bring up the context menu.
Expected: Contex menu for selected text containing two items: "Copy" and "Search Bing..."
Actual: Very often the context menu contained four items instead of two, and those were related to link context menus.
Maybe that page has some funky non-visible element that makes it a link, but it looks like the plain text selection can be isolated and it should behave as that.
Updated•12 years ago
|
Blocks: metrov1defect&change
Whiteboard: feature=defect c=Context_menus u=metro_firefox_user p=0
Comment 1•12 years ago
|
||
This is probably caused by the built-in fluffing the dom does on input events. I doubt our detection code is to blame but we could test to see -
http://mxr.mozilla.org/mozilla-central/source/browser/metro/base/content/contenthandlers/ContextMenuHandler.js#162
Updated•12 years ago
|
Priority: -- → P4
Updated•11 years ago
|
Whiteboard: feature=defect c=Context_menus u=metro_firefox_user p=0 → feature=defect c=Context_menus u=metro_firefox_user p=0 [needs investigation]
Updated•11 years ago
|
Updated•11 years ago
|
Priority: P4 → --
Updated•11 years ago
|
Blocks: metrobacklog
Updated•11 years ago
|
No longer blocks: metrov2defect&change
Updated•11 years ago
|
Summary: defect - context menu for selected text may contain traces of links → Context menu for selected text may contain traces of links
Whiteboard: feature=defect c=Context_menus u=metro_firefox_user p=0 [needs investigation] → [defect] p=0 [needs investigation]
Comment 2•11 years ago
|
||
WFM (on a surface pro 2, nightly Fx 29 12-20 build on a wikipedia article). Can anyone else reproduce?
Comment 3•11 years ago
|
||
I can still reproduce this in http://www.mozilla.org/about/manifesto.html
The contents of the page have changed so the main text no longer contains links, but I can repro by selecting and long-tapping on "designed" under "Our Products" in the right-hand sidebar.
It looks like this page has styles applied that increase the padding of links, so the link almost overlaps the text, and with our additional "click fluffing" it is possible for a click to target both the link and the nearby selection.
I'm not sure if this is something we need to fix or not. Desktop Firefox has similar behavior if you right-click over a link while text is selected; it shows both types of commands in the context menu. Based on that I'm going to mark this WONTFIX for now, but if anyone wants to make the case for fixing this please re-open it with a comment explaining why.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Whiteboard: [defect] p=0 [needs investigation] → [defect] p=0
Updated•11 years ago
|
No longer blocks: metrobacklog
Whiteboard: [defect] p=0
You need to log in
before you can comment on or make changes to this bug.
Description
•