Closed
Bug 965322
Opened 11 years ago
Closed 8 years ago
Full screen windows on Windows 8/8.1/10 have Windows 7/Vista window controls
Categories
(Firefox :: Theme, defect)
Tracking
()
VERIFIED
FIXED
Firefox 50
Tracking | Status | |
---|---|---|
firefox50 | --- | verified |
People
(Reporter: phlsa, Assigned: rakhisharma)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [qx][defect] p=0)
Attachments
(2 files)
When putting a window into full screen mode on Windows 8, the window controls (minimize/maximize/close) have a Windows 7 styling.
XP has its own button style and so should Win 8.
I really think the current styling should also be improved on Win 7. I don't see why the controls have to be so small.
I can confirm this issue in Firefox 36.
When you're in full screen mode on Windows 8, the window controls use a Windows 7 theme.
According to Bug 1009431, both Windows 7 and Windows 8 themes have a Windows Vista styling (which is similar to the Windows 7 style).
Updated•10 years ago
|
Flags: firefox-backlog?
Hardware: x86 → All
Whiteboard: [defect] p=0 → [qx][defect] p=0
Version: 28 Branch → unspecified
Firefox 40.0 with the Windows 10 theme also has this issue. In full screen mode, the window controls (minimize/maximize/close) have a Windows Vista styling (on Windows 10 too).
Updated•9 years ago
|
Summary: Full screen windows on Windows 8 have Windows 7 window controls → Full screen windows on Windows 8/8.1/10 have Windows 7/Vista window controls
Comment 7•9 years ago
|
||
Shorlander, do we have a Windows 10 asset for this?
Flags: needinfo?(shorlander)
Comment 8•9 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #7)
> Shorlander, do we have a Windows 10 asset for this?
Can't we use caption-buttons.svg for this ?
Flags: needinfo?(jaws)
Comment 9•9 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #8)
> (In reply to Jared Wein [:jaws] (please needinfo? me) from comment #7)
> > Shorlander, do we have a Windows 10 asset for this?
>
> Can't we use caption-buttons.svg for this ?
Yeah, I think we should use those. Doesn't make a lot of sense to replace them.
Flags: needinfo?(shorlander)
Updated•9 years ago
|
Blocks: fx-fullscreen
Comment 12•9 years ago
|
||
Tim, can you work on this bug?
Flags: needinfo?(jaws) → needinfo?(ntim.bugs)
Comment 13•9 years ago
|
||
FWIW, it seems the explorer on Windows 10 just has a restore button on the right top corner, not the complete controls. Probably we should just do that as well.
Comment 14•9 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #13)
> FWIW, it seems the explorer on Windows 10 just has a restore button on the
> right top corner, not the complete controls. Probably we should just do that
> as well.
While I'm all for one button instead of 3 where possible, I don't think this fits the case.
I'd much prefer the standard Windows 10 window controls to be there whether I'm in fullscreen or out. Plus they're transparent, which makes themes all the better.
Comment 15•9 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #13)
> FWIW, it seems the explorer on Windows 10 just has a restore button on the
> right top corner, not the complete controls. Probably we should just do that
> as well.
I don't see this on Edge or Internet Explorer 11. I don't see a way to get Edge to go fullscreen, and IE11 shows all three buttons for me.
Comment 16•9 years ago
|
||
Oh, yes, Windows Explorer does only show 1 button.
Comment 17•9 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #16)
> Oh, yes, Windows Explorer does only show 1 button.
I see three buttons: http://cl.ly/0P2H0O302743
Comment 18•9 years ago
|
||
(In reply to Stephen Horlander [:shorlander] from comment #17)
> (In reply to Jared Wein [:jaws] (please needinfo? me) from comment #16)
> > Oh, yes, Windows Explorer does only show 1 button.
>
> I see three buttons: http://cl.ly/0P2H0O302743
Oh, Windows Explorer, yes. I would still go with the standard controls everywhere.
Comment 19•9 years ago
|
||
I can work on this next week or in 2 weeks when my exams are over.
Do we want to replace the fullscreen assets for older platforms as well ? the older assets never felt great for both touch and mouse, since they were tiny. Perhaps we can use the lightweight theme Windows 10 caption buttons for Windows 7 ?
Flags: needinfo?(ntim.bugs)
Comment 20•9 years ago
|
||
I like that idea. Shorlander, you OK with that?
Flags: needinfo?(shorlander)
Comment 22•9 years ago
|
||
Tim, it seems there has been ~3 weeks since comment 19. Is there any update on this?
Flags: needinfo?(ntim.bugs)
Comment 23•9 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+8) from comment #22)
> Tim, it seems there has been ~3 weeks since comment 19. Is there any update
> on this?
I've been really busy the last few days. Feel free to take this bug since I probably won't get to it soon.
Flags: needinfo?(ntim.bugs)
Updated•9 years ago
|
Assignee: nobody → ntim.bugs
Status: NEW → ASSIGNED
Comment 24•9 years ago
|
||
note to self: https://pastebin.mozilla.org/8861614
Comment 25•9 years ago
|
||
Not going to work on this soon, but if anyone wants to pick this up, the pastebin should be helpful.
Assignee: ntim.bugs → nobody
Status: ASSIGNED → NEW
Assignee | ||
Comment 26•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/65186/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/65186/
Attachment #8772355 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 27•8 years ago
|
||
Comment 28•8 years ago
|
||
I think we've agreed in comment 19 to use the Windows 10 lightweight theme caption buttons for Windows XP-Vista-7 and remove the old PNGs.
Comment 29•8 years ago
|
||
Comment on attachment 8772355 [details]
Bug 965322 - Full screen windows on Windows 8/8.1/10 have Windows 7/Vista window controls. .
https://reviewboard.mozilla.org/r/65186/#review62208
We should update hover states for the brighttext case, but we should probably do that in bug 1189201. Otherwise, this looks fine to me once you address the nits below - tested on Windows 10 and Windows 8.
::: browser/themes/windows/browser.css:1032
(Diff revision 1)
> + #minimize-button,
> + #restore-button,
> + #close-button {
> + -moz-appearance: none;
> + border: none;
> + margin: 0 !important;
> + padding: 6px 12px;
> + }
> +
> +#minimize-button {
> + list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize);
> + }
> +
> +#restore-button {
> + list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore);
> + }
Nit: the selectors here should not have spaces before them, nor should the closing braces (`}`)
::: browser/themes/windows/browser.css:1061
(Diff revision 1)
> + background-color: hsla(0, 0%, 0%, .22);
> +}
> +
> +#close-button {
> + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close);
> + }
Nit: same.
::: browser/themes/windows/browser.css:1070
(Diff revision 1)
> + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-white);
> +}
> +
> +#close-button:hover:active {
> + background-color: hsl(355, 82%, 69%);
> + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-white);
You already set the image for `:hover` so it doesn't need re-setting for `:hover:active`, so please get rid of this line.
Attachment #8772355 -
Flags: review?(gijskruitbosch+bugs) → review+
Updated•8 years ago
|
Assignee: nobody → Rakhish1994
Status: NEW → ASSIGNED
Comment 30•8 years ago
|
||
(In reply to Tim Nguyen :ntim (use needinfo?) from comment #28)
> I think we've agreed in comment 19 to use the Windows 10 lightweight theme
> caption buttons for Windows XP-Vista-7 and remove the old PNGs.
But nobody updated the summary? Sigh. At this stage, we should do this in a new bug. The patch attached accomplishes exactly what the summary says and the original bug got filed for, and we shouldn't scope-creep it.
Updating things for xp/vista/7 will in and of itself require a bunch more testing that isn't easy to do for Rakhi because there's no access to those platforms, and there's equally no plans for the highlight styles (as the icons don't have any so we need CSS background highlighting for hover/active) of the buttons that would work on XP/vista/win7 on all the different OS themes, which will compound the problems in bug 1184934 to also start happening for fullscreen on xp/vista/win7 at all times (even when not using a lwtheme). Blocking this bug on figuring all that out at this stage doesn't seem like a good idea.
Comment 31•8 years ago
|
||
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/fx-team/rev/d1eef136f252
Full screen windows on Windows 8/8.1/10 should not have Windows 7/Vista window controls. r=Gijs.
Comment 32•8 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #30)
> and there's equally no plans for the highlight styles (as the
> icons don't have any so we need CSS background highlighting for
> hover/active) of the buttons that would work on XP/vista/win7 on all the
> different OS themes, which will compound the problems in bug 1184934 to also
> start happening for fullscreen on xp/vista/win7 at all times (even when not
> using a lwtheme).
Copy-paste fail, I meant bug 1189201.
Comment 33•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Comment 34•8 years ago
|
||
I have reproduced this bug with Nightly 29.0a1 (2014-01-29) on Windows 8.1, 64 bit!
The bug's fix is verified on Latest Nightly 50.0a1 .
Build ID : 20160722030235
User Agent : Mozilla/5.0 (Windows NT 6.3; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
[bugday-20160720]
Updated•8 years ago
|
Status: RESOLVED → VERIFIED
Comment 35•8 years ago
|
||
Rakhi, you rock! Thank you for fixing this, it makes a major improvement for fullscreen on Windows :)
You need to log in
before you can comment on or make changes to this bug.
Description
•