Closed
Bug 462967
Opened 16 years ago
Closed 16 years ago
Update full screen window controls on windows theme
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3.6a1
People
(Reporter: faaborg, Assigned: dao)
References
(Blocks 1 open bug)
Details
(Keywords: fixed1.9.1, Whiteboard: [icon-shiretoko][icon-complete])
Attachments
(7 files, 8 obsolete files)
|
2.93 KB,
image/png
|
Details | |
|
2.01 KB,
image/png
|
Details | |
|
3.01 KB,
image/png
|
Details | |
|
21.51 KB,
image/png
|
Details | |
|
13.08 KB,
patch
|
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
|
5.78 KB,
application/octet-stream
|
Details | |
|
1.63 KB,
image/png
|
Details |
The window controls (minimize, restore down, close) are currently just using black and white gif images. We are having new artwork created to refresh these icons on XP and Vista for 3.1.
| Reporter | ||
Updated•16 years ago
|
Whiteboard: [icon-3.1]
| Reporter | ||
Updated•16 years ago
|
Whiteboard: [icon-3.1] → [icon-3.1][icon-refresh]
| Reporter | ||
Updated•16 years ago
|
Whiteboard: [icon-3.1][icon-refresh] → [icon-shiretoko][icon-refresh]
| Reporter | ||
Comment 1•16 years ago
|
||
Let's place this file in /source/toolkit/themes/winstripe/global/icons/
Note that we need to continue to package the previous gif images in case any extensions are using them.
For XP the minimize and restore down images should still be placed on buttons, however the close images should not (since it designed to look like it is itself a button).
| Reporter | ||
Comment 2•16 years ago
|
||
Forgot to note that the rows are:
normal
hover
hit
| Reporter | ||
Comment 3•16 years ago
|
||
In this case all of the images should appear on their own (as opposed to being placed on buttons) since they draw the button appearance.
Also note that the close button column image region is 16x17, while for xp all of the icons were just 16x16.
The images also need to be placed so that they appear in a direct row without any padding between them, and pushed against the top of the window.
| Reporter | ||
Updated•16 years ago
|
Whiteboard: [icon-shiretoko][icon-refresh] → [icon-shiretoko][icon-complete]
Updated•16 years ago
|
Assignee: nobody → ehsan.akhgari
Status: NEW → ASSIGNED
Comment 4•16 years ago
|
||
Attachment #380168 -
Flags: review?(dao)
| Assignee | ||
Comment 5•16 years ago
|
||
So why should these images go into toolkit? The whole fullscreen UI seems to be implemented in and controlled by browser code.
| Assignee | ||
Comment 6•16 years ago
|
||
I tested this on XP and Vista, and I don't think this is the styling that Alex had in mind. So you should probably get this ui-reviewed.
Comment 7•16 years ago
|
||
Dao: do you have screenshots that you can show us and explain why you think it's not what Alex expects?
| Assignee | ||
Comment 8•16 years ago
|
||
There's a tryserver build:
https://build.mozilla.org/tryserver-builds/dgottwald@mozilla.com-try-9d19d149d88/try-9d19d149d88-win32.zip
Comment 9•16 years ago
|
||
Oh, I see.
| Reporter | ||
Comment 10•16 years ago
|
||
>So why should these images go into toolkit? The whole fullscreen UI seems to be
>implemented in and controlled by browser code.
Similar to the print preview icons I don't really have a strong opinion, but generic window controls seemed very toolkit-ish, also aren't the current window controls in toolkit?
| Reporter | ||
Comment 11•16 years ago
|
||
>Created an attachment (id=380295) [details]
>yeah, this is wrong
Yeah, so on Vista we just want to use the images to give the presentation of buttons. Also the top of the images should touch the top of the screen.
On XP this only applies to the stop button. We couldn't provide a button appearance for the minimize and restore down images since we don't know if they should be tan, silver, olive, etc.
Do we want to use the old style gifs when not using the default windows theme? A related issue is bug 429571 dealing with high contrast mode.
| Assignee | ||
Comment 12•16 years ago
|
||
OK, let's keep them in toolkit. I can see how an app that's not firefox or a firefox derivation could want to use these icons, even if there's no full-screen UI tool in toolkit. SeaMonkey, for instance, but there could even be non-browser apps.
(In reply to comment #11)
> Do we want to use the old style gifs when not using the default windows theme?
> A related issue is bug 429571 dealing with high contrast mode.
Given bug 429571, I'm pretty sure the answer is "no". The new icons seem to work better in that regard.
Blocks: 429571
| Assignee | ||
Updated•16 years ago
|
Attachment #380168 -
Flags: review?(dao) → review-
| Assignee | ||
Comment 13•16 years ago
|
||
Comment on attachment 380168 [details] [diff] [review]
Patch (v1)
>+#minimize-button, #restore-button, #close-button {
nit: line break after comma
Comment 14•16 years ago
|
||
OK, needed to set -moz-appearance to none. Also addressed the nit in comment 13.
Attachment #380168 -
Attachment is obsolete: true
Attachment #380295 -
Attachment is obsolete: true
Attachment #380447 -
Flags: review?(dao)
| Assignee | ||
Comment 15•16 years ago
|
||
This doesn't implement the very last aspect of comment 3, does it?
Comment 16•16 years ago
|
||
(In reply to comment #15)
> This doesn't implement the very last aspect of comment 3, does it?
You mean images appearing without any space in between them and pushed against the top? It does implement that.
| Assignee | ||
Comment 17•16 years ago
|
||
Yeah. Looks strange on XP though, probably because of the top toolbar border. The border for #window-controls also seems wrong, especially on Vista.
| Assignee | ||
Comment 18•16 years ago
|
||
Updated•16 years ago
|
Attachment #380447 -
Flags: ui-review?(faaborg)
| Reporter | ||
Updated•16 years ago
|
Attachment #380447 -
Flags: ui-review?(faaborg) → ui-review+
| Reporter | ||
Comment 19•16 years ago
|
||
Comment on attachment 380447 [details] [diff] [review]
Patch (v2)
overall better than what we currently have, so I don't want to hold up landing. However if you do have time, there are two small issues, I'll attach screenshots.
| Reporter | ||
Comment 20•16 years ago
|
||
-the tan color we selected for XP works well with the default themes (blue, silver, olive), but looks a bit disabled with classic. consider using the gif images in that case
-for XP default, the close button should line up with restore down and minimize
Comment 21•16 years ago
|
||
Addressed both points in comment 20.
I'll attach a screenshot of the behavior of the patch on 4 configurations shortly.
Attachment #380447 -
Attachment is obsolete: true
Attachment #380712 -
Flags: review?(dao)
Attachment #380447 -
Flags: review?(dao)
Comment 22•16 years ago
|
||
This shows a screenshot of Vista Classic, Vista Aero, XP Classic and XP Luna with this patch.
| Reporter | ||
Comment 23•16 years ago
|
||
looks great
| Assignee | ||
Comment 24•16 years ago
|
||
Comment on attachment 380712 [details] [diff] [review]
Patch (v3)
windows-classic isn't the right tool for this (uses the icons that assume a luna background for third-party themes, and maintains bug 429571 for classic), and unfortunately windows-default-theme isn't either (maintains bug 429571 for classic and third-party themes). This is also really unnecessary for Vista, where the new icons work on all backgrounds. So I think we should fix the new XP icons to better work on different backgrounds as well.
Attachment #380712 -
Flags: review?(dao) → review-
| Reporter | ||
Comment 25•16 years ago
|
||
We can solve bug bug 429571 the same way we solved all of the others, by adding some white outlines to the legacy GIF images. That plus using windows default for the icons that are designed for the default windows themes should have us covered.
>unnecessary for Vista,where the new icons work on all backgrounds.
Aero style window controls in classic mode is usable, but it will look like a bug (since the window controls use simple black glyphs everywhere else in the OS and app).
| Assignee | ||
Comment 26•16 years ago
|
||
It will be somewhat consistent, at least. Attachment 380713 [details] looks frankensteinesque with the slightly smaller and rounded close button next to the black glyphs.
| Assignee | ||
Comment 27•16 years ago
|
||
This should work better on different backgrounds. It won't look identical to attachment 380125 [details] with Luna, because I obviously haven't spent a lot of time on it, although I think it will look equally good.
| Assignee | ||
Comment 28•16 years ago
|
||
And I still think the border left to the controls doesn't fit, at least on Vista.
| Reporter | ||
Comment 29•16 years ago
|
||
We can clean up the border in a follow up bug
| Assignee | ||
Comment 30•16 years ago
|
||
It's one simple style rule. And it's quite likely that we won't have time for follow-ups on 1.9.1.
| Reporter | ||
Comment 31•16 years ago
|
||
I'm more worried that we aren't going to be able to update the fullscreen icons for our aero and luna themes at all if we don't get this checked in today, but if you want to change the line that's fine as well, it will improve the appearance.
| Assignee | ||
Comment 32•16 years ago
|
||
Alex, any problem with attachment 380759 [details]?
Ehsan, is there a way for you to finish this today?
| Reporter | ||
Comment 33•16 years ago
|
||
well, it was designed for general purpose use, which isn't the goal with our luna specific icons. Also, it doesn't quiet fit with classic, which uses solid black glyphs.
| Assignee | ||
Comment 34•16 years ago
|
||
It's designed to fit with Luna, really, but so that the glyphs don't fade away with different themes.
I actually can't recall a place where we have icons purely for Luna, and different ones for Classic.
| Assignee | ||
Comment 35•16 years ago
|
||
this is what I think we should do
| Reporter | ||
Comment 36•16 years ago
|
||
Let's get this checked in and follow up in firefox.next if we get better os theme detection.
| Assignee | ||
Updated•16 years ago
|
Attachment #380926 -
Flags: review?(rflint)
Updated•16 years ago
|
Attachment #380926 -
Flags: review?(rflint) → review+
Comment 37•16 years ago
|
||
I honestly can't tell what's going on in this bug. Attachment 380713 [details] looked great to me, while I understand Dao's concerns with third-party themes (not because I think we need to be beholden to them, but because I think that we declared ourselves compat-frozen at b3 and switching this on them now at the last minute is kind of a bad thing for us to do) but haven't seen a screenshot of what attachment 380926 [details] [diff] [review] looks like.
Very doubtful I'll approve anything here for 1.9.1 without seeing that, first.
| Assignee | ||
Comment 38•16 years ago
|
||
tryserver build: https://build.mozilla.org/tryserver-builds/dgottwald@mozilla.com-try-f7afd035fcf/try-f7afd035fcf-win32.zip
Attachment #380601 -
Attachment is obsolete: true
Attachment #380712 -
Attachment is obsolete: true
Attachment #380713 -
Attachment is obsolete: true
| Assignee | ||
Updated•16 years ago
|
Attachment #380926 -
Flags: approval1.9.1?
| Assignee | ||
Comment 39•16 years ago
|
||
this is attachment 380713 [details] in comparison
| Assignee | ||
Comment 40•16 years ago
|
||
This is the patch that the tryserver build was actually built with, and that I used for the screenshots. v4 had minor alignment issues on XP.
Attachment #380125 -
Attachment is obsolete: true
Attachment #380926 -
Attachment is obsolete: true
Attachment #381027 -
Flags: approval1.9.1?
Attachment #380926 -
Flags: approval1.9.1?
| Assignee | ||
Comment 41•16 years ago
|
||
interdiff from v4 to v4.1:
https://bugzilla.mozilla.org/attachment.cgi?oldid=380926&action=interdiff&newid=381027&headers=1
not going to ask for another review for this
| Assignee | ||
Comment 42•16 years ago
|
||
don't want to keep this on my desktop, so attaching it here
Comment 43•16 years ago
|
||
Dão is practically driving this, sorry I couldn't keep up the pace.
Assignee: ehsan.akhgari → dao
Comment 44•16 years ago
|
||
Why do the tooltips look different between the before and after screenshots? Are the before screenshots from 3.0.* and the afer from a latest branch/trunk build and not from the latest branch/trunk with and without the patch applied ( or images replaced)?
| Assignee | ||
Comment 45•16 years ago
|
||
Are you referring to attachment 381026 [details]?
The left side is from Ehsan and the right side is from me. So these are different machines and different Windows installations. That said, the tooltips look the same to me. In any case, no patch in this bug touched them.
Comment 46•16 years ago
|
||
(In reply to comment #45)
> Are you referring to attachment 381026 [details]?
> The left side is from Ehsan and the right side is from me. So these are
> different machines and different Windows installations. That said, the tooltips
> look the same to me. In any case, no patch in this bug touched them.
Yeah, that attachment. The border looks a little thicker around some of the tooltips and the font just a little bolder and/or not as sharp on some of them. Just wanted to make sure nothing screwy was happening here with a patch.
| Reporter | ||
Comment 47•16 years ago
|
||
beltzner: screen shots in attachment 381026 [details], the left side is patch v3, the right side is patch v4. Both are better than what we currently have.
Comment 48•16 years ago
|
||
Told Dao that we should try this on trunk, first. a=beltzner for mozilla-central only.
| Assignee | ||
Comment 49•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.6a1
Comment 50•16 years ago
|
||
Comment on attachment 381027 [details] [diff] [review]
patch v4.1
a191=beltzner
Attachment #381027 -
Flags: approval1.9.1? → approval1.9.1+
| Assignee | ||
Comment 51•16 years ago
|
||
Keywords: fixed1.9.1
Comment 52•16 years ago
|
||
It looks like the button is larger than the image in Aero mode, or at least the hover effect is too large? Looks visually awkward. Screenshot attached.
| Assignee | ||
Comment 53•16 years ago
|
||
WTF... I have no idea why hg applied the patch this way without notifying me.
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/4f750271194b
You need to log in
before you can comment on or make changes to this bug.
Description
•