Page 1 of 1

Colorless titlebar in Windows 10 version 1511

Posted: 2016-01-29, 15:24
by Azarien
Windows 10 version 1511 (build 10586) reintroduced (optional) colored window titlebars.
This worked fine in PM 25 with negligible graphics glitch around minimize/maximize/close buttons.

However, PM 26 always draws a gray titlebar regardless of user settings and whether PM window is active or not.

EDIT: as a workaround, the window is displayed correctly when PM is run in compatibility mode for Windows 8.

Re: Colorless titlebar in Windows 10 version 1511

Posted: 2016-01-29, 17:44
by Lootyhoof
Not a bug; this is by design. The way the window controls were implemented had to be changed in v26, so to workaround this, we draw the caption buttons now. To prevent double caption buttons (since we still show the system ones, yet they are non-functional), we draw a background.

Re: Colorless titlebar in Windows 10 version 1511

Posted: 2016-01-29, 20:51
by Azarien
How is this "not a bug"? I see correct behaviour in Win8-compatibility mode: the window title/tab bar uses correct system "glass" color, just like in Windows 8 and 7 (except it's not really glass like in Win7, but an opaque color).

Without compatibility mode, when PM is informed that it runs on Win10, the border is gray.

Obviously, you did a Windows version check and implemented your workaround (whatever was that it worked around) when run on Windows 10, drawing hardcoded gray title bar.

But you forgot, or didn't know, that on newer Windows 10 builds, the Windows 8-like opaque glass is (optionally) back.

Your "workaround" does more harm than good.

Re: Colorless titlebar in Windows 10 version 1511

Posted: 2016-01-29, 21:11
by Lootyhoof
Azarien wrote:But you forgot, or didn't know, that on newer Windows 10 builds, the Windows 8-like opaque glass is (optionally) back.

Your "workaround" does more harm than good.
Please re-read my post.
Lootyhoof wrote:To prevent double caption buttons (since we still show the system ones, yet they are non-functional), we draw a background.
If we didn't draw a background to the window, we'd have twice the amount of caption buttons showing, as the system ones are still shown yet do not work. You can, of course, "fix" it yourself if you so wish, in userChrome.css:

Code: Select all

#main-window {
  background-color: transparent !important;
}

Re: Colorless titlebar in Windows 10 version 1511

Posted: 2016-02-01, 00:03
by Azarien
I think we don't understand each other.

This is how Pale Moon now looks on Windows 10:

Image

This is crap. I don't want it gray, I want it to obey current system color settings.

This is how it looks on the same Windows 10, except it thinks that it is running on Windows 8:

Image

Not ideal, because the caption text should be white and left-aligned, but at least the color is correct: blue (in this case) when the window is active, and white when inactive, just like in other applications.

I thought Pale Moon is a no-UI-nonsense browser, but you start to follow the same path as the others: trying to overthink the UI instead of using native system look and feel:

Image
Notice: not gray.

Re: Colorless titlebar in Windows 10 version 1511

Posted: 2016-02-01, 00:44
by Lootyhoof
As I've already stated, this is beyond our control. For a better explanation, please read this:

http://forum.palemoon.org/viewtopic.php ... 943#p76550

Re: Colorless titlebar in Windows 10 version 1511

Posted: 2016-02-01, 06:10
by jumba
Azarien wrote: I thought Pale Moon is a no-UI-nonsense browser, but you start to follow the same path as the others: trying to overthink the UI instead of using native system look and feel:

Image
Notice: not gray.
To get this native system look and feel, please enable the menu bar.

Re: Colorless titlebar in Windows 10 version 1511

Posted: 2016-02-01, 22:02
by Azarien
I understand that the old theme is glitchy on Windows 10, because Microsoft continues to change how their Desktop Window Manager works from one Windows version to another, and now from one Windows 10 build to another.

I am simply unhappy with that gray background. As a workaround, I will continue to run PM in Win8 compatibility mode to see the "broken" theme, because it works fine for me.

Re: Colorless titlebar in Windows 10 version 1511

Posted: 2016-02-02, 08:14
by jumba
I guess you don't want the native system look after all.

Instead of running Pale Moon in compatibility mode, you could install a light weight theme that is the same colour.

Re: Colorless titlebar in Windows 10 version 1511

Posted: 2016-02-03, 08:11
by Azarien
I want Pale Moon look in Windows 10 the way it looked in Windows 8. Just that.

And the color changes periodically with the desktop wallpaper, so a different theme with fixed color is not a solution.