Closed Bug 1248639 Opened 9 years ago Closed 8 years ago

adding images under the Open link in a Container Tab context menu

Categories

(Firefox :: Menus, defect, P1)

47 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 50
Iteration:
49.3 - Jun 6
Tracking Status
firefox47 --- affected
firefox50 --- verified

People

(Reporter: kjozwiak, Assigned: jkt)

References

(Blocks 1 open bug)

Details

(Whiteboard: [userContextId][userContextId-UI][uplift49-])

Attachments

(3 files, 3 obsolete files)

I think it would be a good idea if we added the "container" images that are found under "File -> New Container Tab" into the "Open link in a Container Tab" context menu. This way, it will be easier for users to distinguish the difference between each container and would match the file menu. However, I'm not sure if there's any internal design rules about adding images into context menu's.
Paolo, can we have images in the context menu?
Flags: needinfo?(paolo.mozmail)
That's technically possible, if this is what you're asking. Whether this is appropriate here is a question for the UX team, but personally I don't see why we couldn't do that in the submenu, as it improves clarity.
Flags: needinfo?(paolo.mozmail)
Attached image container_icons.png
Like this? This is my theme "full themes": Nautipolis, Walnut, Walnut2, LittleFox, MicroFox, Bricks and Metal. This is why having "full themes" is important, like addons it allows to develop and test extensions and new functionality without directly impacting main development.
Whiteboard: [userContextId]
(In reply to :Paolo Amadini from comment #2) > That's technically possible, if this is what you're asking. Whether this is > appropriate here is a question for the UX team, but personally I don't see > why we couldn't do that in the submenu, as it improves clarity. Bram, are you okay with this? Can we add the images that are in the file menu to the context menu?
Flags: needinfo?(bram)
Whiteboard: [userContextId] → [userContextId][userContextId-UI]
Absolutely yes. My original proposal is for the coloured images to always appear on every menu it’s put on. For example, Container has an access point on the tab bar (we’re working on this feature at the moment). When this access point is clicked, a menu shows a list. And on this menu, images should appear on the side of each container name.
Flags: needinfo?(bram)
Priority: -- → P1
Assignee: nobody → jkingston
QA Contact: kjozwiak
Iteration: --- → 49.3 - Jun 6
Comment on attachment 8753311 [details] MozReview Request: Bug: 1248639 - Making GTK icons visible for the new container menu This is just to enable the menu icons for GTK as windows and osx already have these icons. The work was done it was just hidden.
Attachment #8753311 - Flags: review?(dolske)
Attachment #8753311 - Flags: review?(dolske)
Comment on attachment 8753311 [details] MozReview Request: Bug: 1248639 - Making GTK icons visible for the new container menu https://reviewboard.mozilla.org/r/53212/#review50068 ::: toolkit/content/xul.css:410 (Diff revision 1) > :-moz-any(menuitem[type], .menuitem-with-favicon) > .menu-iconic-left { > visibility: visible; > } > + #menu_newUserContext > menupopup > menuitem > .menu-iconic-left { > + visibility: visible; > + } This kind of change should be in a theme CSS file, not in xul.css. Also, as the line above this implies, setting the right class on the menuitem should make this work, no CSS needed.
Attachment #8753311 - Flags: review-
Attachment #8753311 - Attachment is obsolete: true
Attachment #8753531 - Flags: review?(dolske)
Status: NEW → ASSIGNED
Comment on attachment 8753531 [details] MozReview Request: Bug: 1248639 - Making GTK icons visible for the new container menu https://reviewboard.mozilla.org/r/53336/#review52038
Attachment #8753531 - Flags: review?(dolske) → review+
Keywords: checkin-needed
Needs rebasing.
Keywords: checkin-needed
This should be resolved by: 1275432
Depends on: 1275432
Blocks: 1276412
Hi Kamil, Can you check if this is fixed by bug 1275432, and if it is, mark as closed duplicate? Thank you!
Flags: needinfo?(kjozwiak)
Attached image issue.png
This is still broken under Linux/Ubuntu. * attached an image to illustrate the issue Test Cases Used: * ensured that the images are being displayed when using about: window/tabs * ensured that the images are being displayed when using non-e10s window/tabs * ensured that the images match the correct container in the context menu * ensured that there's no UI/UX issues (burry images, not correctly aligned etc..) * ensured each context menu opened the correct container with the correct image/color * ensured that the context menu is not available in PB Platforms Tested: * OSX 10.11.5 x64 - PASSED ** using fx50.0a1 buildID: 20160608030219, changeset: f8ad071a6e14 * Win 10 Pro x64 - PASSED ** using fx50.0a1, buildID: 20160608030219, changeset: f8ad071a6e14 * Ubuntu 14.04.4 x64 - FAILED ** using fx50.0a1, buidID: 20160608030219, changeset: f8ad071a6e14
Flags: needinfo?(kjozwiak)
Attachment #8753531 - Attachment is obsolete: true
Comment on attachment 8761576 [details] Bug 1248639 - Adding in context menu icons for gtk layout. This is the right bug number now, sorry about that.
Attachment #8761576 - Flags: review?(amarchesini)
Attachment #8761576 - Flags: review?(amarchesini) → review?(gijskruitbosch+bugs)
Comment on attachment 8761576 [details] Bug 1248639 - Adding in context menu icons for gtk layout. https://reviewboard.mozilla.org/r/58684/#review55730 This is confusing. Why do we need both selectors? Why doesn't the existing one work but the new does, when the command attribute is set on these items, judging by the code from the other bug? If only the new one works, why do we need the existing one? Orthogonally, this patch on its own is confusing without context - no images are set in it. For the next review, please ask :jaws as he reviewed the other patch. :-)
Attachment #8761576 - Flags: review?(gijskruitbosch+bugs) → review-
Attachment #8761576 - Attachment is obsolete: true
Comment on attachment 8761825 [details] Bug 1248639 - Adding in context menu icons for gtk layout. Thanks Gijs, I didn't want to change it mostly as I was being paranoid, I checked all the menus are still working. The latest patches elsewhere make the usercontext selector work everywhere now it seems which is great is it's way more understandable. Pushing to :jaws for review.
Attachment #8761825 - Flags: review?(jaws)
Comment on attachment 8761825 [details] Bug 1248639 - Adding in context menu icons for gtk layout. https://reviewboard.mozilla.org/r/58890/#review55922
Attachment #8761825 - Flags: review?(jaws) → review+
Keywords: checkin-needed
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/fx-team/rev/ec173d9293ab Adding in context menu icons for gtk layout. r=jaws
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
I assume we don't need to uplift UI stuff for test pilot since the test pilot UI will be an addon?
Whiteboard: [userContextId][userContextId-UI] → [userContextId][userContextId-UI][uplift49?]
Using the test cases from comment # 15, I made sure that the container images are correctly being displayed under the context menu on the following platforms: * Ubuntu 14.04.4 LTS x64 VM - PASSED ** fx50.0a1 buildID: 20160706030233, changeset: 95ffbc4ff635 * Win 10 x64 VM (Version 1511, OS Build: 10586.318) - PASSED ** fx50.0a1 buildID: 20160706030233, changeset: 95ffbc4ff635 * OSX 10.11.5 x64: PASSED ** fx50.0a1 buildID: 20160706030233, changeset: 95ffbc4ff635 Link to the build being used for verification: * https://archive.mozilla.org/pub/firefox/nightly/2016/07/2016-07-06-03-02-33-mozilla-central/
Whiteboard: [userContextId][userContextId-UI][uplift49?] → [userContextId][userContextId-UI][uplift49-]
Reproduced this on Firefox nightly according to (2016-02-16) It's verified on Latest Nightly--Build ID:(20160711034039),User Agent: Mozilla/5.0 (Windows NT 10.0; rv:50.0) Gecko/20100101 Firefox/50.0 Tested OS--Windows10 32bit
QA Whiteboard: [bugday-20160713]
(In reply to Saheda Reza [:Antora] from comment #26) > Reproduced this on Firefox nightly according to (2016-02-16) > > It's verified on Latest Nightly--Build ID:(20160711034039),User Agent: > Mozilla/5.0 (Windows NT 10.0; rv:50.0) Gecko/20100101 Firefox/50.0 > > > Tested OS--Windows10 32bit Thanks for going through the issue and verifying that it's working under Win 10 x86 :)
I have reproduced this bug with Nightly 47.0a1 (2016-02-16) on Ubuntu 14.04, 64 bit! The bug's fix is now verified on latest Aurora 50.0a2. Aurora 50.0a2: Build ID 20160824004001 User Agent Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 [bugday-20160824]
Thanks!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: