Closed
Bug 898106
Opened 12 years ago
Closed 11 years ago
Work - Dim screen when autocomplete popup shows up.
Categories
(Firefox for Metro Graveyard :: Browser, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: mbrubeck, Assigned: rsilveira)
References
Details
(Whiteboard: [preview] feature=work)
Attachments
(2 files, 3 obsolete files)
159.85 KB,
image/png
|
Details | |
4.65 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
Bug 883390 made the auto-complete popup cover only half the screen when in full view. But when the start page is visible, the autocomplete results should completely replace the start page, rather than covering just half of it (which gives a confusing grids-on-grids experienc). From IRC:
<jwilde> question: how should start screen and autocomplete interact? like, if you're on the start screen and the autocomplete popup appears, what should the start screen do?
<yuan> We don't show auto-complete screen on top of Start screen. When user types in the URL bar, the results replaces the top sites, bookmarks, etc. Just like what we already have. Does it make sense?
Updated•12 years ago
|
Whiteboard: feature=work → feature=work [preview]
![]() |
||
Updated•12 years ago
|
![]() |
||
Updated•12 years ago
|
![]() |
||
Updated•12 years ago
|
Assignee: jmathies → nobody
![]() |
||
Updated•12 years ago
|
Whiteboard: feature=work [preview] → feature=work [preview-triage]
Updated•12 years ago
|
Whiteboard: feature=work [preview-triage] → [preview-triage] feature=work
Updated•12 years ago
|
Priority: -- → P2
Whiteboard: [preview-triage] feature=work → [preview] feature=work
Comment 1•12 years ago
|
||
As discussed at monday's meeting, we either need to dim/grey out the start page or make the autocomplete full height. Asa would prefer the former
Assignee | ||
Comment 2•11 years ago
|
||
WIP
Grays out start screen. It's still active though, will post one where clicking on grayed out area will dismiss autocomplete.
Assignee: nobody → rsilveira
Assignee | ||
Comment 3•11 years ago
|
||
Now clicking on a tile over the grayed out start screen will just dismiss autocomplete.
We should consider having that on regular pages too. It makes it easier to dismiss autocomplete without accidentally clicking a link.
Attachment #801881 -
Attachment is obsolete: true
Attachment #802712 -
Flags: review?(mbrubeck)
Assignee | ||
Comment 4•11 years ago
|
||
Do you think we should add the dim panel to regular sites as well? I like that it makes it easier to dismiss autocomplete without accidentally clicking a link. There is the X on the nav bar too, but it's barely visible and I feel it's quite natural to just click/tap on empty space to dismiss. Besides, if the site bg color is similar, it might look weird.
Does the dim panel color look right?
Flags: needinfo?(ywang)
Comment 5•11 years ago
|
||
I think we should dim the content for autocomplete on sites and Firefo Start. I think this color is a fine starting point but defer to Shorlander for final call there.
Assignee | ||
Comment 6•11 years ago
|
||
Changed the CSS to dim regular content too.
Attachment #802712 -
Attachment is obsolete: true
Attachment #802712 -
Flags: review?(mbrubeck)
Attachment #803192 -
Flags: review?(mbrubeck)
Comment 7•11 years ago
|
||
Dimming the panel on Start Page works, I think.
Rodrigo, we should add some padding on the left hand side of the auto-complete search results. The search results and title should be aligned at the same level with the URL field. See shorlander's mockup: http://cl.ly/image/131K2d3U280f
In terms of the color of dimmed background, Shorlander should be the best person to make the call.
Flags: needinfo?(ywang)
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Yuan Wang(:Yuan) – Firefox UX Team from comment #7)
Thanks Yuan!
> Rodrigo, we should add some padding on the left hand side of the
> auto-complete search results. The search results and title should be aligned
> at the same level with the URL field. See shorlander's mockup:
> http://cl.ly/image/131K2d3U280f
>
Bug 904417 should take care of this.
> In terms of the color of dimmed background, Shorlander should be the best
> person to make the call.
OK, need info'd him.
Flags: needinfo?(shorlander)
Reporter | ||
Comment 9•11 years ago
|
||
Comment on attachment 803192 [details] [diff] [review]
898106.patch
Review of attachment 803192 [details] [diff] [review]:
-----------------------------------------------------------------
r=mbrubeck with some tiny nits
::: browser/metro/base/content/browser.xul
@@ +198,5 @@
>
> <!-- Content touch selection overlay -->
> <box class="selection-overlay-hidden" id="content-selection-overlay"/>
> +
> + <!-- Overlay to gray out start screen when autocomplete shows up -->
This comment should be updated (s/start screen/content/).
@@ +199,5 @@
> <!-- Content touch selection overlay -->
> <box class="selection-overlay-hidden" id="content-selection-overlay"/>
> +
> + <!-- Overlay to gray out start screen when autocomplete shows up -->
> + <hbox id="autocomplete-start-overlay" onclick="BrowserUI.blurNavBar()"/>
...and maybe this ID too.
::: browser/metro/theme/browser.css
@@ +231,5 @@
> + right: 0;
> + bottom: 0;
> +}
> +
> +#stack[autocomplete] #autocomplete-start-overlay {
This could be a child selector.
Attachment #803192 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Changing title to reflect new approach
Summary: Work - Make the autocomplete popup fully cover/replace the start page → Work - Dim screen when autocomplete popup shows up.
Assignee | ||
Comment 11•11 years ago
|
||
Clicking on content changed the behavior from dismissing autocomplete and navbar to dismissing only autocomplete. This caused a urlbar test to fail (yay test coverage!). Sorry I didn't catch this earlier, forgot to run tests after I made the change to dim on content.
Applied comments and some minor changes to the dismiss logic.
Attachment #803192 -
Attachment is obsolete: true
Attachment #804016 -
Flags: review?(mbrubeck)
Reporter | ||
Updated•11 years ago
|
Attachment #804016 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Assignee | ||
Comment 14•11 years ago
|
||
Clearing shorlander's needinfo since this has been in m-c for a while.
Flags: needinfo?(shorlander)
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
•