Closed
Bug 927239
Opened 11 years ago
Closed 11 years ago
Defect - Context menu items keep highlight after being selected
Categories
(Firefox for Metro Graveyard :: Input, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 28
People
(Reporter: kjozwiak, Assigned: sfoster)
References
Details
(Whiteboard: [block28] feature=defect c=context_menus u=metro_firefox_user p=1)
Attachments
(3 files, 1 obsolete file)
If a user taps & holds either an image or a link and receives the context menu, the selection will stay highlighted if the user taps, holds and then moves away from the context menu. If you dismiss and then get another context menu, you'll notice that the selection is still highlighted from the previous selection. - Attached a screenshot to illustrate the issue (item was selected with a new context menu) Steps to reproduce the issue: 1) Open Firefox Metro 2) Go to wikipedia.org 3) Get a context menu by either tapping on a link or image 4) Tap & hold a context menu item and it will be highlighted black, while still having your finger on the screen, move away from the context menu and let go (notice that the item is still highlighted) 5) Dismiss the context menu and then tap and hold another link. You should see that the one of the items in the context menu will still be highlighted from the last time Current Behavior: - items under the context menu stay highlighted if you tap, hold and then slide your finger away from the context menu. The user will still have an item highlighted when they dismiss & get new context menu Expected Behavior: - items should be cleared when the context menu is dismissed. When a new context menu appears, it should be cleared of any previous selections
Updated•11 years ago
|
Whiteboard: feature=defect c=context_menus u=metro_firefox_user p=0 → [triage] feature=defect c=context_menus u=metro_firefox_user p=0
Assignee | ||
Comment 1•11 years ago
|
||
I'm not able to reproduce this. First, using touch (not mouse) I see no highlight states in the context menu, when I tap+hold on a link or image. Perhaps this is a bug. Using the mouse, the black highlight seems to revert correctly when the menu is dismissed. I'm using a Lenovo X1 Carbon which I think is the same machine as :kjozwiak is using?
Reporter | ||
Comment 2•11 years ago
|
||
I went through it and reproduced the issue with today's build, I added a small video on how to reproduce the problem. When the context menu appears, I tap, hold and then swipe away from the context menu and then let go (the item will stay highlighted). Hope the video helps! let me know if you still cant reproduce it.
Assignee | ||
Comment 3•11 years ago
|
||
Ok, now I see the highlight and the behavior you describe. Thanks, I'll look into it.
Updated•11 years ago
|
Whiteboard: [triage] feature=defect c=context_menus u=metro_firefox_user p=0 → feature=defect c=context_menus u=metro_firefox_user p=0
Comment 4•11 years ago
|
||
If it helps at all, I noticed that I'm only able to reproduce this bug with apzc on.
Updated•11 years ago
|
Blocks: metro-apzc
Summary: Defect - Context menu's stay highlighted → Defect - Context menu items keep highlight after being selected
Comment 5•11 years ago
|
||
This appears to be fixed on latest tip. Kamil, mind confirming? Note we still have a lost tap / touch problem to deal with. Sometimes taps just don't get picked up on the menu and the context stays open. I think this is related to apz. It's also filed under a different bug.
Flags: needinfo?(kamiljoz)
Updated•11 years ago
|
Assignee: nobody → jmathies
Whiteboard: feature=defect c=context_menus u=metro_firefox_user p=0 → [blocker] feature=defect c=context_menus u=metro_firefox_user p=0
Comment 6•11 years ago
|
||
Hey Jim, can you provide a point estimate.
Status: NEW → ASSIGNED
Flags: needinfo?(jmathies)
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [blocker] feature=defect c=context_menus u=metro_firefox_user p=0 → [block28] feature=defect c=context_menus u=metro_firefox_user p=0
Updated•11 years ago
|
Flags: needinfo?(jmathies)
Whiteboard: [block28] feature=defect c=context_menus u=metro_firefox_user p=0 → [block28] feature=defect c=context_menus u=metro_firefox_user p=1
Reporter | ||
Comment 7•11 years ago
|
||
Jim, I went through the issue again with the latest nightly and could still reproduce the problem on several websites, used the following build: (used the same steps from comment #0) http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-10-28-03-02-05-mozilla-central/ Please let me know if there's another build that I should have tested with!
Flags: needinfo?(kamiljoz)
Comment 8•11 years ago
|
||
fixed in 10-31 nightly.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → Firefox 28
Assignee | ||
Comment 9•11 years ago
|
||
I'm still seeing this with these steps: * Load any page * Right-click or long-tap a link on the page to bring up the link context menu * Select open in new tab (or any of the options) * Right-click again on the link (or any link) to re-open the context menu Expected results: * None of the context menu options should be pre-selected when the menu shows Actual results: * The option previously selected when the context menu was last opened is selected (highlighted orange)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 10•11 years ago
|
||
Not sure if the earlier issue was just masking this one, or if this actually belongs in its own bug. However, afaict hide() is the right place to reset the state of those commands/richlistitems.
Attachment #829537 -
Flags: review?(jmathies)
Assignee | ||
Comment 11•11 years ago
|
||
sigh. Patch clean-up, missed a qrefresh.
Assignee: jmathies → sfoster
Attachment #829537 -
Attachment is obsolete: true
Attachment #829537 -
Flags: review?(jmathies)
Attachment #829544 -
Flags: review?(jmathies)
Updated•11 years ago
|
Comment 12•11 years ago
|
||
Comment on attachment 829544 [details] [diff] [review] remove selected attribute from menu items when hiding context menu wfm!
Attachment #829544 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 13•11 years ago
|
||
selected attribute patch landed on fx-team https://hg.mozilla.org/integration/fx-team/rev/ea7a81a92657 there's still an event-related issue though, if you tap a menu item then drag away before dismissing the menu the :hover state never gets cleared, so the item is highlighted grey when the menu is next opened.
Whiteboard: [block28] feature=defect c=context_menus u=metro_firefox_user p=1 → [block28] feature=defect c=context_menus u=metro_firefox_user p=1 [leave-open]
Assignee | ||
Updated•11 years ago
|
Whiteboard: [block28] feature=defect c=context_menus u=metro_firefox_user p=1 [leave-open] → [block28] feature=defect c=context_menus u=metro_firefox_user p=1 [leave open]
Reporter | ||
Comment 15•11 years ago
|
||
As Sam mentioned in comment #13, there's still an event issue if you follow his steps or the steps in comment #0. I can still reproduce the issue using the latest nightly build: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-11-10-03-02-05-mozilla-central/
Comment 16•11 years ago
|
||
(In reply to Kamil Jozwiak [:kjozwiak] from comment #15) > As Sam mentioned in comment #13, there's still an event issue if you follow > his steps or the steps in comment #0. I can still reproduce the issue using > the latest nightly build: > http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-11-10-03-02-05- > mozilla-central/ This seems like a corner case - you have to slide your finger off the context menu to make this happen.
No longer blocks: metro-apzc
Whiteboard: [block28] feature=defect c=context_menus u=metro_firefox_user p=1 [leave open] → [triage] feature=defect c=context_menus u=metro_firefox_user p=1 [leave open]
Assignee | ||
Comment 17•11 years ago
|
||
Follow-up bug filed for the :hover issue at bug 937229.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Whiteboard: [triage] feature=defect c=context_menus u=metro_firefox_user p=1 [leave open] → [triage] feature=defect c=context_menus u=metro_firefox_user p=1
Updated•11 years ago
|
Whiteboard: [triage] feature=defect c=context_menus u=metro_firefox_user p=1 → [block28] feature=defect c=context_menus u=metro_firefox_user p=1
Comment 18•11 years ago
|
||
Verified as fixed for iteration #19, with latest Nightly from 2013-12-01 on Win 8 64-bit, by following the STR from comment 9. This also needs device verification.
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
•