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)
Firefox
Theme
Tracking
()
People
(Reporter: florian, Assigned: dao)
References
Details
(Keywords: regression)
Attachments
(2 files)
253.87 KB,
image/png
|
Details | |
2.40 KB,
patch
|
Gijs
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee: nobody → dao
Status: NEW → ASSIGNED
Attachment #8458722 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Updated•10 years ago
|
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)
Updated•10 years ago
|
QA Whiteboard: [qa?]
Assignee | ||
Updated•10 years ago
|
QA Whiteboard: [qa?] → [qa+]
Updated•10 years ago
|
Iteration: 33.3 → 34.1
Comment 4•10 years ago
|
||
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?
Comment 5•10 years ago
|
||
(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)
Updated•10 years ago
|
status-firefox33:
--- → affected
status-firefox34:
--- → affected
Comment 6•10 years ago
|
||
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+
Reporter | ||
Comment 8•10 years ago
|
||
I thought this bug was Mac-only, but bug 1042023 is a report on Windows. When verifying, QA should look at all supported OSes.
Assignee | ||
Comment 9•10 years ago
|
||
(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)
Assignee | ||
Comment 10•10 years ago
|
||
Assignee | ||
Comment 11•10 years ago
|
||
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?
Comment 12•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Comment 13•10 years ago
|
||
Hi Florin, can a QA contact be assigned for verification of this bug.
Flags: needinfo?(florin.mezei)
Updated•10 years ago
|
Updated•10 years ago
|
Attachment #8458722 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
Flags: needinfo?(florin.mezei)
QA Contact: bogdan.maris
Assignee | ||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
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.
Updated•10 years ago
|
QA Whiteboard: [qa+] → [qa!]
You need to log in
before you can comment on or make changes to this bug.
Description
•