Colorless titlebar in Windows 10 version 1511

The place to report Pale Moon specific bugs on the Windows operating system.
Locked
Azarien

Colorless titlebar in Windows 10 version 1511

Post by Azarien » 2016-01-29, 15:24

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.

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1461
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Colorless titlebar in Windows 10 version 1511

Post by Lootyhoof » 2016-01-29, 17:44

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.

Azarien

Re: Colorless titlebar in Windows 10 version 1511

Post by Azarien » 2016-01-29, 20:51

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.

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1461
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Colorless titlebar in Windows 10 version 1511

Post by Lootyhoof » 2016-01-29, 21:11

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;
}

Azarien

Re: Colorless titlebar in Windows 10 version 1511

Post by Azarien » 2016-02-01, 00:03

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.

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1461
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Colorless titlebar in Windows 10 version 1511

Post by Lootyhoof » 2016-02-01, 00:44

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

jumba

Re: Colorless titlebar in Windows 10 version 1511

Post by jumba » 2016-02-01, 06:10

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.

Azarien

Re: Colorless titlebar in Windows 10 version 1511

Post by Azarien » 2016-02-01, 22:02

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.

jumba

Re: Colorless titlebar in Windows 10 version 1511

Post by jumba » 2016-02-02, 08:14

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.

Azarien

Re: Colorless titlebar in Windows 10 version 1511

Post by Azarien » 2016-02-03, 08:11

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.

Locked