Closed Bug 1190192 Opened 10 years ago Closed 10 years ago

Speaker shifts when clicking tab mute icon

Categories

(Firefox :: Theme, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1192568
Tracking Status
firefox42 --- affected

People

(Reporter: mstange, Assigned: ehsan.akhgari)

References

Details

Attachments

(4 files)

When toggling the tab audio icon, the speaker part of the icon shifts horizontally. I'm seeing this on Mac OS 10.10 HiDPI.
Assignee: nobody → ehsan
I there an easy way to test this? I can't really see this very well no matter how much I squint. :-)
Flags: needinfo?(mstange)
Zoom in on your screen using Option + mousewheel maybe? (If that doesn't work, you can change the setting in System Preferences -> Accessibility -> Zoom) If you have the Pixie app (I think it's installed by XCode?), that might also help. Do you see what I mean in my screenshot?
Flags: needinfo?(mstange)
I think this bug should be fixed by adjusting the SVG to have the same positioning of the speaker relative to the two graphics.
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #3) > I think this bug should be fixed by adjusting the SVG to have the same > positioning of the speaker relative to the two graphics. Yes. Just need to tweak the icon I think.
I can take this if you don't mind Ehsan?
Attached image record-mute.gif
Animatitated for your viewing pleasure.
(In reply to Stephen Horlander [:shorlander] from comment #5) > I can take this if you don't mind Ehsan? Please do, thanks!
Assignee: ehsan → shorlander
Attached image tab-audio.svg
Made a lot of changes to the icon to fix this and bug 1190103 and maybe bug 1191437. - Removed the fancy SVG construction with <use> and clipPaths and masks and converted everything to a path - Renamed the "dark" icons to white to indicate how they are actually different in appearance - Added an outline to the white icons so they would work in more situations - Added an icon we can use for background tabs on Linux using the -moz-MenuBarText keyword If this doesn't fix bug 1191437 will probably need to make it a sprite. Would make more sense to split the icons into multiple files in that case I think.
Forgot to mention the part that applies to this bug: Fixed the alignment between the muted/unmuted speaker
Attached image tab-audio-small.svg
Same as the other one for the most part except I simplified this more by removing all of the icon states. I think we cover the state affordance with the background circle. Also no -moz-MenuBarText variation because the dark and white and version should work in almost all cases.
Thanks!
Assignee: shorlander → ehsan
How should I use these icons? It seems that without <use> elements, styles such as |list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio")| do not work.
Flags: needinfo?(shorlander)
Those should all work without the <use>. The hash fragment points to the ID of the <g> within the SVG file, or so I understand it to.
Oh yes, looks like I had made a mistake...
Flags: needinfo?(shorlander)
This is fixed by the new icons.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: