Closed
Bug 864894
Opened 11 years ago
Closed 11 years ago
Badge for new-messages looks weird in background windows
Categories
(Firefox Graveyard :: SocialAPI, defect)
Tracking
(firefox22 verified, firefox23 verified)
VERIFIED
FIXED
Firefox 23
People
(Reporter: Dolske, Assigned: mixedpuppy)
References
Details
Attachments
(4 files, 1 obsolete file)
135.04 KB,
image/png
|
Details | |
350.62 KB,
image/png
|
Details | |
1.87 KB,
patch
|
Felipe
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
4.88 KB,
image/png
|
jboriss
:
ui-review+
|
Details |
Screenshot attached -- I've got 2 waiting Facebook notifications (red "2"). When the Firefox window is in the background, the badge is made semitransparent. This looks like of weird, because it allows the icon underneath to bleed through. I think this actually just want to become a desaturated red. The icons achieve a desaturated effect via transparency, because the toolbar underneath is grey. That doesn't quite work here.
Assignee | ||
Comment 1•11 years ago
|
||
The badge is at the same z-index as the image, yet overlays the image partially. Somehow, opacity placed on the image is then also being placed on the badge. When I change the z-index, the badge no longer inherits the opacity from the icon. Problem is, it just doesn't look right. I tried a number of things and finally gave up on using opacity and trying to make the button otherwise look inactive.
Comment 2•11 years ago
|
||
(In reply to Justin Dolske [:Dolske] from comment #0) > I think this actually just want to become a desaturated red. You're right - the reason for red is to imply "this is important!" and the reason for desaturating background windows is to imply "this isn't so important." To do red and desaturation is pretty bizarro. The desaturation is a good fix - but on attachment 741016 [details] the number of messages is too desaturated to be readable. Let's instead reduce the saturation to match the decreased saturation on the outside of the button itself (on OSX, that's #c4c4c4). That means the number would match the border of the button, and the frame of the notification would match the division color (it nearly does already).
Assignee | ||
Comment 3•11 years ago
|
||
fixed inactive state for badge
Assignee: nobody → mixedpuppy
Attachment #741437 -
Flags: review?(jaws)
Assignee | ||
Comment 4•11 years ago
|
||
image with fixed style for badge on inactive window
Attachment #741016 -
Attachment is obsolete: true
Attachment #741439 -
Flags: ui-review?(jboriss)
Assignee | ||
Updated•11 years ago
|
Attachment #741437 -
Flags: review?(jaws) → review?(felipc)
Comment 5•11 years ago
|
||
Comment on attachment 741437 [details] [diff] [review] stylefix.patch Review of attachment 741437 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. I remember :-moz-window-inactive had problems with applying quick enough (i.e. the window frame would get its inactive state but the buttons and other things would lag behind updating to inactive). I don't see this happening to the toolbars buttons anymore so I'm guessing it's no longer a problem. Do you see anythin weird like that when the badge changes state?
Attachment #741437 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to :Felipe Gomes from comment #5) > Comment on attachment 741437 [details] [diff] [review] > stylefix.patch > > Review of attachment 741437 [details] [diff] [review]: > ----------------------------------------------------------------- > > Looks good. I remember :-moz-window-inactive had problems with applying > quick enough (i.e. the window frame would get its inactive state but the > buttons and other things would lag behind updating to inactive). I don't see > this happening to the toolbars buttons anymore so I'm guessing it's no > longer a problem. Do you see anythin weird like that when the badge changes > state? I hadn't noticed anything. :-moz-window-inactive is being used for other toolbar styling as well.
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/db6188d1abe6
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 741437 [details] [diff] [review] stylefix.patch [Approval Request Comment] Bug caused by (feature/regressing bug #): 862567 User impact if declined: ugly styling of badge on inactive windows Testing completed (on m-c, etc.): manually on m-c Risk to taking this patch (and alternatives if risky): low String or IDL/UUID changes made by this patch: none
Attachment #741437 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #741439 -
Flags: ui-review?(jboriss) → ui-review+
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/db6188d1abe6
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 23
Updated•11 years ago
|
Attachment #741437 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 12•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/0e75423a1191
status-firefox22:
--- → fixed
status-firefox23:
--- → fixed
Comment 13•11 years ago
|
||
I'm currently blocked on verifying this fixed due to bug 866205.
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Anthony Hughes, Mozilla QA (:ashughes) from comment #13) > I'm currently blocked on verifying this fixed due to bug 866205. You can verify this (more easily with fx23) using the demo provider at http://mixedpuppy.github.io/socialapi-demo/
Comment 15•11 years ago
|
||
Verified fixed in Firefox 23.0a1 and 22.0a2 2013-05-03 using the demo provider.
Updated•5 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•