Closed
Bug 1093902
Opened 10 years ago
Closed 4 years ago
Tab history tablet refinements
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: bnicholson, Unassigned)
References
Details
Attachments
(1 file, 3 obsolete files)
(deleted),
patch
|
antlam
:
feedback+
|
Details | Diff | Splinter Review |
Bug 847435 adds an awesome new look to the tab history menu. There are a few improvements we should make for tablets:
* Anchor the menu at the top, under the browser toolbar, instead of the bottom of the screen.
* Restrict the width so the list doesn't fill the entire tablet screen.
Comment 1•10 years ago
|
||
Sounds good to me. Let's give this a try and get some screenshots?
Comment 2•10 years ago
|
||
History popup centered at the Top right corner of the screen for tablets
APK files : https://www.dropbox.com/s/j7szwr29ait9fss/app-debug.apk?dl=0
Attachment #8522340 -
Flags: review?(bnicholson)
Attachment #8522340 -
Flags: feedback?(alam)
Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8522340 [details] [diff] [review]
1093902 patch ver 1
Review of attachment 8522340 [details] [diff] [review]:
-----------------------------------------------------------------
This is quite broken :) I'd still recommend getting an Android emulator up and running if at all possible since it will be slow to test and tweak your changes.
Screenshot coming.
Attachment #8522340 -
Flags: review?(bnicholson)
Attachment #8522340 -
Flags: review-
Attachment #8522340 -
Flags: feedback?(alam)
Reporter | ||
Comment 4•10 years ago
|
||
Padding is added as part of the view, so you'll need to do one of the following:
* Use margins instead of padding on the same view
* Add padding to the outer invisible view instead of the list
Also, as shown here, 100 dip is far too small.
Comment 5•10 years ago
|
||
A new patch with margins corrected.
The apk can be downloaded from
https://www.dropbox.com/s/j7szwr29ait9fss/app-debug.apk?dl=0
Attachment #8522340 -
Attachment is obsolete: true
Attachment #8524178 -
Flags: review?(bnicholson)
Attachment #8524178 -
Flags: feedback?(alam)
Reporter | ||
Comment 6•10 years ago
|
||
Comment on attachment 8524178 [details] [diff] [review]
1093902 ver 1.1
Review of attachment 8524178 [details] [diff] [review]:
-----------------------------------------------------------------
This is an improvement, but still needs some work. Here's screenshot of what it currently looks like for me on a Nexus 7 emulator: https://www.dropbox.com/s/x62ebiuagguezon/Screenshot%202014-11-17%2021.50.54.png?dl=0
A few suggestions:
* The menu should be shifted down slightly so that the top is flush with the URL bar.
* The menu should width should be at least doubled to 400dip, possibly more.
* The border should also probably be shifted to the bottom since the menu is at the top.
Also, there's a slight difference between the behavior of the tablet's back button and the toolbar back button: the tablet's back button always shows all history, whereas the toolbar back button shows only back history. Both menus are shown in the same place, though, which is confusing. What we may want to do is always show the same full back/forward history list, regardless of which button was clicked. This is what we do on desktop.
Let's see if Anthony has any other suggestions.
Attachment #8524178 -
Flags: review?(bnicholson) → review-
Comment 7•10 years ago
|
||
(In reply to Brian Nicholson (:bnicholson) from comment #6)
> A few suggestions:
> * The menu should be shifted down slightly so that the top is flush with the
> URL bar.
Agree, good call Brian. Vivek, let's see if we can get them to not overlap.
> * The menu should width should be at least doubled to 400dip, possibly more.
It definitely could be wider. What's it currently set at?
> * The border should also probably be shifted to the bottom since the menu is
> at the top.
Agree. But since it doesn't stretch the width of the screen, we might need it around 3 sides and not just 1.
This is close Vivek! I think with these questions answered, the next round of changes should be easier.
Flags: needinfo?(vivekb.balakrishnan)
Reporter | ||
Comment 8•10 years ago
|
||
(In reply to Anthony Lam (:antlam) from comment #7)
> It definitely could be wider. What's it currently set at?
200dp in the last screenshot. Another option: we could probably set the width to wrap content with a max width so that the panel is only as wide as its contents. This would match desktop's behavior.
Comment 9•10 years ago
|
||
(In reply to Brian Nicholson (:bnicholson) from comment #8)
> (In reply to Anthony Lam (:antlam) from comment #7)
> > It definitely could be wider. What's it currently set at?
>
> 200dp in the last screenshot. Another option: we could probably set the
> width to wrap content with a max width so that the panel is only as wide as
> its contents. This would match desktop's behavior.
I've also suggested to Vivek that we could try having it the same size as the URL bar. Talked with him a bit yesterday so let's see what he comes back with :)
Updated•10 years ago
|
Attachment #8524178 -
Flags: feedback?(alam)
Comment 10•10 years ago
|
||
As per discussions over irc,
* New tablet history popup changes
* popup width aligned with url bar
* popup background changed to menu_popup background
APk files & Screenshots : https://www.dropbox.com/sh/foukh9y1gz9xq68/AACj4aw1rI3HVc7Fzg9xIKVKa?dl=0
Attachment #8523087 -
Attachment is obsolete: true
Attachment #8524178 -
Attachment is obsolete: true
Flags: needinfo?(vivekb.balakrishnan)
Attachment #8527084 -
Flags: review?(bnicholson)
Attachment #8527084 -
Flags: feedback?(alam)
Reporter | ||
Comment 11•10 years ago
|
||
Comment on attachment 8527084 [details] [diff] [review]
Tablet History UI
Review of attachment 8527084 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/resources/values-v11/dimens.xml
@@ +12,5 @@
> http://androidxref.com/4.2.2_r1/xref/frameworks/base/core/res/res/values/themes.xml#1287 -->
> <dimen name="menu_item_row_height">44dp</dimen>
> + <dimen name="tab_history_margin_left">21dp</dimen>
> + <dimen name="tab_history_margin_top">92dp</dimen>
> + <dimen name="tab_history_margin_right">180dp</dimen>
Really hate hardcoding these margin values -- I'm worried these won't hold up between different tablet sizes and configurations. I'll wait for antlam's feedback before testing and reviewing this more thoroughly.
Comment 12•10 years ago
|
||
Comment on attachment 8527084 [details] [diff] [review]
Tablet History UI
Review of attachment 8527084 [details] [diff] [review]:
-----------------------------------------------------------------
+ for the screen shots! this looks good Vivek!
But, I have a question about the fading on the right edge there. I can see what's underneath the grey showing through. I don't know why this is happening, maybe Bnicholson can help here?
Attachment #8527084 -
Flags: feedback?(alam) → feedback+
Comment 13•10 years ago
|
||
Hey Brian, could you take a look as to why this is happening? Otherwise, this visually looks fine to me :)
Flags: needinfo?(bnicholson)
Comment 14•10 years ago
|
||
Hey Vivek,
You mentioned on IRC that the toolbar disappears when the user scrolls. In this case, the only way to trigger this UI is through the hardware button, therefore it should show along the bottom.
If triggered through the top, it should show under the toolbar.
Unless there I'm mistaken somewhere, that should cover the cases. If there is somehow a way the user can trigger the top UI, we should also reappear the toolbar at the same time. :)
Hope that answers your questions!
Comment 15•10 years ago
|
||
Spoke with Vivek on IRC,
For hardware back on Tablets, lets do full width on vertical and horizontal orientation for now.
Reporter | ||
Comment 16•10 years ago
|
||
Comment on attachment 8527084 [details] [diff] [review]
Tablet History UI
It's not obvious what the problem is with the background image (menu_popup_bg.9.png looks fine to me), but Vivek said he'll be able to look at this again soon.
Flags: needinfo?(bnicholson)
Attachment #8527084 -
Flags: review?(bnicholson)
Reporter | ||
Updated•9 years ago
|
Mentor: bnicholson
Comment 17•4 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•