Closed
Bug 858155
Opened 12 years ago
Closed 12 years ago
Auto-complete menus can span the entire screen
Categories
(Firefox for Metro Graveyard :: Input, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jimm, Assigned: jimm)
Details
(Whiteboard: [forms])
Attachments
(2 files, 1 obsolete file)
113.86 KB,
image/png
|
Details | |
4.87 KB,
patch
|
fryn
:
review+
|
Details | Diff | Splinter Review |
related: bug 857986
See screenshot.
![]() |
Assignee | |
Comment 1•12 years ago
|
||
Both width and height are an issue.
Summary: auto-complete menu widths can span the entire screen → Auto-complete menus can span the entire screen
![]() |
Assignee | |
Comment 2•12 years ago
|
||
Assignee: nobody → jmathies
Attachment #733508 -
Flags: review?
![]() |
Assignee | |
Updated•12 years ago
|
Attachment #733508 -
Attachment is obsolete: true
Attachment #733508 -
Flags: review?
![]() |
Assignee | |
Comment 3•12 years ago
|
||
![]() |
Assignee | |
Comment 4•12 years ago
|
||
Comment on attachment 733514 [details] [diff] [review]
patch
what this does:
- restricts auto-completes to the width of the parent input
- restricts the height of auto-completes to a max of 350px.
- puts the left or right hand padding back on forcePosition menus, which got clipped out at some point.
Attachment #733514 -
Flags: review?(fyan)
![]() |
||
Comment 5•12 years ago
|
||
Comment on attachment 733514 [details] [diff] [review]
patch
Review of attachment 733514 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
::: browser/metro/base/content/helperui/MenuUI.js
@@ +48,2 @@
> options.source = Ci.nsIDOMMouseEvent.MOZ_SOURCE_TOUCH;
> return options;
Nit: Could you make this function body look like the following before landing?
function _positionOptions() {
return {
forcePosition: true;
...
source: Ci.nsIDOMMouseEvent.MOZ_SOURCE_TOUCH;
};
}
@@ +417,5 @@
> + let leftHand = MetroUtils.handPreference == MetroUtils.handPreferenceLeft;
> + if (aSource && aSource == Ci.nsIDOMMouseEvent.MOZ_SOURCE_TOUCH) {
> + if (leftHand) {
> + this._commands.setAttribute("left-hand", true);
> + this._commands.removeAttribute("right-hand");
If this is a binary setting, could we change this to just use one attribute? (If that's the case, let's file a followup and deal with it later.)
Attachment #733514 -
Flags: review?(fyan) → review+
![]() |
||
Comment 6•12 years ago
|
||
Oops, I meant the following, not the semi-colons:
function _positionOptions() {
return {
forcePosition: true,
...
source: Ci.nsIDOMMouseEvent.MOZ_SOURCE_TOUCH
};
}
![]() |
Assignee | |
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 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
•