Closed
Bug 993407
Opened 11 years ago
Closed 11 years ago
Navigation should be primary tab on image link dialogs
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox30+ verified, firefox31+ verified, fennec30+)
VERIFIED
FIXED
Firefox 31
People
(Reporter: tech4pwd, Assigned: wesj)
References
Details
(Keywords: uiwanted)
Attachments
(1 file, 1 obsolete file)
|
7.24 KB,
patch
|
bnicholson
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140408060700
Steps to reproduce:
Navigation (Open...) is the secondary tab, these should be in the primary tab while the actions (Copy, Save, Set...) should be in the secondary tab. This would follow the behaviour of Desktop whereby Navigation is at the top of the menu and the actions are lower down.
| Reporter | ||
Updated•11 years ago
|
Comment 1•11 years ago
|
||
Yeah it bothers me when menus change order.
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
Ever confirmed: true
Updated•11 years ago
|
Summary: Swap Dialog Tabs on Image Link → Swap Dialog Tabs on any shareable link
Comment 2•11 years ago
|
||
I am having trouble understanding the issue. Pictures? More explanation?
I assume this has to do with having "Share" at the top of the context menu. This was done for a reason. The context menu supports Quick Share now and the multiple button-like images look very bad in the middle of a menu.
| Assignee | ||
Comment 3•11 years ago
|
||
I think this is the two tabs on image links: "Image" and "Link". The suggestion is that the "Link" one should be first (and default). "Image" should be second.
| Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Wesley Johnston (:wesj) from comment #3)
> I think this is the two tabs on image links: "Image" and "Link". The
> suggestion is that the "Link" one should be first (and default). "Image"
> should be second.
Indeed.
Comment 5•11 years ago
|
||
But if I never share this stays as a menu item that looks just like every other menu item which I dislike because it takes more effort to find new tab. I love the look of the menu once I have a share preference because then it is visibly different than the new tab menu item.
| Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Kevin Brosnan [:kbrosnan] from comment #5)
> But if I never share this stays as a menu item that looks just like every
> other menu item which I dislike because it takes more effort to find new
> tab. I love the look of the menu once I have a share preference because then
> it is visibly different than the new tab menu item.
Are you suggesting that the quick share should be populated by default?
Comment 7•11 years ago
|
||
Ian - Thoughts on the order? Making "LINK" the leftmost and the default?
Flags: needinfo?(ibarlow)
Keywords: uiwanted
Comment 8•11 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #7)
> Ian - Thoughts on the order? Making "LINK" the leftmost and the default?
Works for me. I don't really think "desktop menu order consistency" should drive our decision making process, but I have no problem making "link" the default and left tab here.
Flags: needinfo?(ibarlow)
| Assignee | ||
Comment 9•11 years ago
|
||
This sorts the keys before we build our tabs list. All the sorting does is move the "link" tab to the front. Everything else is considered equal.
Attachment #8405579 -
Flags: review?(bnicholson)
Comment 10•11 years ago
|
||
Comment on attachment 8405579 [details] [diff] [review]
Patch
Review of attachment 8405579 [details] [diff] [review]:
-----------------------------------------------------------------
Nice, LGTM with nits fixed.
::: mobile/android/chrome/content/browser.js
@@ +8410,5 @@
> if (!elt) {
> return;
> }
>
> var items = NativeWindow.contextmenus._getHTMLContextMenuItemsForMenu(elt, target);
Nit: s/var/let/ while here
@@ +8411,5 @@
> return;
> }
>
> var items = NativeWindow.contextmenus._getHTMLContextMenuItemsForMenu(elt, target);
> + // This menu will always only have one context, but we still make sure its the "right" one.
Nit: New line above comment
Attachment #8405579 -
Flags: review?(bnicholson) → review+
| Assignee | ||
Comment 11•11 years ago
|
||
| Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8405579 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Uplifting quick share in context menus (bug 942270)
User impact if declined: Default options people want aren't visible right away.
Testing completed (on m-c, etc.): Landed on mc today.
Risk to taking this patch (and alternatives if risky): This is low risk. Just changing the ordering of an array. We could just not ship this I guess, and fix it in 31+.
String or IDL/UUID changes made by this patch: none.
Attachment #8405579 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 13•11 years ago
|
||
This (expectedly) broke some tests that depend on this menu ordering. Fixing...
| Assignee | ||
Comment 14•11 years ago
|
||
Updated•11 years ago
|
Status: NEW → ASSIGNED
| Reporter | ||
Updated•11 years ago
|
Summary: Swap Dialog Tabs on any shareable link → Navigation should be primary tab on image link dialogs
Updated•11 years ago
|
status-firefox30:
--- → affected
status-firefox31:
--- → affected
tracking-firefox30:
--- → +
tracking-firefox31:
--- → +
| Assignee | ||
Comment 16•11 years ago
|
||
Fixed up tests. Try run at
https://tbpl.mozilla.org/?tree=Try&rev=7beac26e3329
Attachment #8405579 -
Attachment is obsolete: true
Attachment #8405579 -
Flags: approval-mozilla-aurora?
Attachment #8407668 -
Flags: review?(bnicholson)
Updated•11 years ago
|
Attachment #8407668 -
Flags: review?(bnicholson) → review+
| Assignee | ||
Comment 17•11 years ago
|
||
| Assignee | ||
Comment 18•11 years ago
|
||
Grr. I used the wrong bug number. Landed on central:
https://hg.mozilla.org/mozilla-central/rev/a5cee95d219e
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Assignee: nobody → wjohnston
tracking-fennec: ? → 30+
| Assignee | ||
Comment 20•11 years ago
|
||
Comment on attachment 8407668 [details] [diff] [review]
Patch v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 942270
User impact if declined: harder to find common options in context menus (i.e. Open in new tab)
Testing completed (on m-c, etc.): Landed yesterday.
Risk to taking this patch (and alternatives if risky): Pretty low risk. Just reordering an array.
String or IDL/UUID changes made by this patch: None.
Attachment #8407668 -
Flags: approval-mozilla-aurora?
Comment 21•11 years ago
|
||
"Link" is the first one displayed and "Image" is the second.
Verified fixed on:
Device: LG Nexus 4 (Android 4.4.2)
Build: Firefox for Android 31.0a1 (2014-04-18)
Updated•11 years ago
|
Target Milestone: --- → Firefox 31
Updated•11 years ago
|
Attachment #8407668 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Flags: needinfo?(wjohnston)
Comment 22•11 years ago
|
||
Comment 23•11 years ago
|
||
Based on comment21 I will change the status 31 from fixed to verified.
Comment 24•11 years ago
|
||
Link" is the first one displayed and "Image" is the second on latest Aurora so:
Verified fixed on:
Device: LG Nexus 4 (Android 4.4.2)
Build: Firefox for Android 30.0a2 (2014-04-23)
Status: RESOLVED → VERIFIED
Updated•5 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
•