Closed
Bug 918225
Opened 10 years ago
Closed 10 years ago
Defect - Right-click drop down options are offset
Categories
(Firefox for Metro Graveyard :: General, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 27
People
(Reporter: manuela.muntean, Assigned: rsilveira)
References
Details
(Whiteboard: feature=defect c=tbd u=tbd p=1)
Attachments
(3 files, 1 obsolete file)
59.56 KB,
image/png
|
Details | |
1.81 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
2.61 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
Follow up defect from bug 898833 Reproducible with the latest Nightly (build ID: 20130918030202), both on Win 8 32-bit and Win 8.1 32-bit STR 1. Enter Metro mode and load https://pkiwidgets.quovadisglobal.com/pkiwidgets/generateCSR.aspx 2. Using a mouse, right-click on a hyperlink and you get a set of options Actual results: the options are offset with a wide 'white space' from the end margin to where the name of the option starts (please see https://bug898833.bugzilla.mozilla.org/attachment.cgi?id=796640 for details) Expected results: the option names should be closer to the margin
Updated•10 years ago
|
Blocks: metrov1backlog
Whiteboard: [preview-triage] feature=defect c=tbd u=tbd p=0
Updated•10 years ago
|
QA Contact: jbecerra
Comment 1•10 years ago
|
||
Tested on 2013-09-30 on latest nightly on Dell XPS 12. I was not able to reproduce this problem as described in comment #0 on the latest nightly. I tried on other sites as well as using the touch gesture to bring up the context menu on links, pages, and selected text.
Comment 2•10 years ago
|
||
I reproduced the problem using my desktop machine with a simple right click of the mouse. Simply right clicked on a menu and noticed the offset described in comment #0. I am receiving on every single site, including: - image context menu's - link context menu's - HTML5 video context menu's - Attached a screenshot to illustrate the issue that was described in comment #0 I couldn't reproduce this on my Lenovo X1 Carbon touch notebook with the mousepad or touch gestures
Updated•10 years ago
|
Whiteboard: [preview-triage] feature=defect c=tbd u=tbd p=0 → [triage] feature=defect c=tbd u=tbd p=0
Updated•10 years ago
|
Whiteboard: [triage] feature=defect c=tbd u=tbd p=0 → feature=defect c=tbd u=tbd p=0
Assignee | ||
Comment 3•10 years ago
|
||
As Marina mentioned in the project meeting, it was related to the left hand option. I forced it to true and was able to see the gap.
Assignee | ||
Updated•10 years ago
|
Whiteboard: feature=defect c=tbd u=tbd p=0 → feature=defect c=tbd u=tbd p=1
Updated•10 years ago
|
Priority: -- → P2
Comment 4•10 years ago
|
||
Comment on attachment 817510 [details] [diff] [review] 918225.patch Review of attachment 817510 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/metro/base/content/helperui/MenuUI.js @@ -379,5 @@ > let screenHeight = ContentAreaObserver.height; > > - // Add padding on the side of the menu per the user's hand preference > - let leftHand = > - Services.metro.handPreference == Ci.nsIWinMetroUtils.handPreferenceLeft; This nsIWinMetroUtils property is now unused; maybe we should remove the widget code too?
Attachment #817510 -
Flags: review?(mbrubeck) → review+
Updated•10 years ago
|
Assignee | ||
Comment 5•10 years ago
|
||
It's not being used anywhere and there are no plans to use it.
Attachment #820616 -
Flags: review?(mbrubeck)
Comment 6•10 years ago
|
||
Comment on attachment 820616 [details] [diff] [review] Remove widget code Passing the review to a Windows widget peer.
Attachment #820616 -
Flags: review?(mbrubeck) → review?(jmathies)
Comment 7•10 years ago
|
||
Comment on attachment 820616 [details] [diff] [review] Remove widget code Review of attachment 820616 [details] [diff] [review]: ----------------------------------------------------------------- ::: widget/nsIWinMetroUtils.idl @@ -12,5 @@ > * implementation of this interface for non-Windows systems, for testing and > * development purposes only. > */ > [scriptable, uuid(25524bde-8b30-4b49-8d67-7070c790aada)] > interface nsIWinMetroUtils : nsISupports ...but one drive-by comment: I think you need to generate a new UUID here.
Assignee | ||
Comment 8•10 years ago
|
||
Oh yeah, thanks! (mach update-uuids is handy!)
Attachment #820616 -
Attachment is obsolete: true
Attachment #820616 -
Flags: review?(jmathies)
Attachment #820632 -
Flags: review?(jmathies)
![]() |
||
Comment 9•10 years ago
|
||
Comment on attachment 820632 [details] [diff] [review] Remove widget handPreference code Do we still have a fake nsIWinMetroUtils for non-windows platforms that needs updating? r+ I guess. Are we sure we want to ditch this? It would be nice to support good left and right hand customization in our ui, but maybe we don't have any elements that need it?
Attachment #820632 -
Flags: review?(jmathies) → review+
Comment 10•10 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #9) > Do we still have a fake nsIWinMetroUtils for non-windows platforms that > needs updating? Nope. > r+ I guess. Are we sure we want to ditch this? It would be nice to support > good left and right hand customization in our ui, but maybe we don't have > any elements that need it? Windows seems to use this setting in desktop apps rather than in Metro apps. (Makes sense since it's found in the desktop control panel.) If we're going to expose it anywhere, it would probably make more sense in the "win32" widget code.
Assignee | ||
Comment 11•10 years ago
|
||
OK, I'll fold and land to make sure they're in sync. Resurfacing it would be trivial anyway.
Assignee | ||
Comment 12•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/13132285f1c9
Comment 13•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/13132285f1c9
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
Comment 14•10 years ago
|
||
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 Mozilla/5.0 (Windows NT 6.2; rv:27.0) Gecko/20100101 Firefox/27.0 Verified as fixed on latest Nightly (build ID: 20131028030205) by right clicking on links, images and html5 video context menus; the options are not offset anymore.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•