Closed Bug 1040810 Opened 10 years ago Closed 10 years ago

WebRTC sharing indicator on the toolbar doesn't get the right image region applied (except for hi-DPI OS X)

Categories

(Firefox :: Theme, defect)

defect
Not set
major
Points:
1

Tracking

()

VERIFIED FIXED
Firefox 34
Iteration:
34.1
Tracking Status
firefox33 --- verified
firefox34 --- verified

People

(Reporter: florian, Assigned: dao)

References

Details

(Keywords: regression)

Attachments

(2 files)

Attached image screenshot
See attached screenshot. The cause of the regression is very likely bug 1037017. The code at http://mxr.mozilla.org/mozilla-central/source/browser/themes/shared/toolbarbuttons.inc.css?force=1#151 151 #webrtc-status-button:not(@inAnyPanel@) { 152 -moz-image-region: rect(0, 594px, 18px, 576px); 153 } becomes this after it's preprocessed: #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) { -moz-image-region: rect(0, 594px, 18px, 576px); } Which means the rule image-region rule won't be applied if the webrtc status toolbar button doesn't have the cui-areatype="toolbar" attribute.
Attached patch patchSplinter Review
Assignee: nobody → dao
Status: NEW → ASSIGNED
Attachment #8458722 - Flags: review?(gijskruitbosch+bugs)
Iteration: --- → 33.3
Points: --- → 1
Component: General → Theme
Flags: firefox-backlog+
OS: Mac OS X → All
Hardware: x86 → All
Summary: WebRTC toolbar sharing indicator looking broken on non-retina Mac → WebRTC sharing indicator on the toolbar doesn't get the right image region applied (except for hi-DPI OS X)
QA Whiteboard: [qa?]
QA Whiteboard: [qa?] → [qa+]
Iteration: 33.3 → 34.1
Comment on attachment 8458722 [details] [diff] [review] patch Review of attachment 8458722 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/shared/toolbarbuttons.inc.css @@ +147,5 @@ > #zoom-controls:not(@inAnyPanel@) > #zoom-in-button { > -moz-image-region: rect(0, 576px, 18px, 558px); > } > > +#webrtc-status-button { Err, surely this by itself is enough here? Why all the Linux changes?
(In reply to :Gijs Kruitbosch (PTO july 17-21) from comment #4) > Comment on attachment 8458722 [details] [diff] [review] > patch > > Review of attachment 8458722 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/themes/shared/toolbarbuttons.inc.css > @@ +147,5 @@ > > #zoom-controls:not(@inAnyPanel@) > #zoom-in-button { > > -moz-image-region: rect(0, 576px, 18px, 558px); > > } > > > > +#webrtc-status-button { > > Err, surely this by itself is enough here? Why all the Linux changes? (well, that plus removing the bogus webrtc rule on Linux - but the other rules should probably be fixed in a separate bug, rather than assuming we can live without them, especially because this will want uplifting to 33)
Flags: needinfo?(dao)
Comment on attachment 8458722 [details] [diff] [review] patch Getting this out of my queue for my post-PTO catchup. rs=me for the toolbarbuttons.inc.css change and this: -#webrtc-status-button { - -moz-image-region: rect(0px 192px 24px 168px); -} - in browser.css. Please provide a new bug/patch + rationale for the other bits if necessary.
Attachment #8458722 - Flags: review?(gijskruitbosch+bugs) → review+
I thought this bug was Mac-only, but bug 1042023 is a report on Windows. When verifying, QA should look at all supported OSes.
(In reply to :Gijs Kruitbosch (PTO july 17-21) from comment #6) > Comment on attachment 8458722 [details] [diff] [review] > patch > > Getting this out of my queue for my post-PTO catchup. > > rs=me for the toolbarbuttons.inc.css change and this: > > -#webrtc-status-button { > - -moz-image-region: rect(0px 192px 24px 168px); > -} > - > > in browser.css. > > Please provide a new bug/patch + rationale for the other bits if necessary. It's dead code just like the #webrtc-status-button rule.
Flags: needinfo?(dao)
Comment on attachment 8458722 [details] [diff] [review] patch Approval Request Comment [Feature/regressing bug #]: bug 1037017 [User impact if declined]: see attachment 8458711 [details] [Describe test coverage new/current, TBPL]: theme code, no test coverage [Risks and why]: trivial CSS, no risk [String/UUID change made/needed]: none
Attachment #8458722 - Flags: approval-mozilla-aurora?
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Hi Florin, can a QA contact be assigned for verification of this bug.
Flags: needinfo?(florin.mezei)
Attachment #8458722 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Flags: needinfo?(florin.mezei)
QA Contact: bogdan.maris
Depends on: 1043949
Reproduced the issue on Nightly (2014-07-18), verified that the issue is fixed on Windows 7 64bit, Mac OS X 10.9.4 and Ubuntu 13.04 64bit using latest Nightly and latest Aurora.
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa+] → [qa!]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: