Titlebar turns white after some time on Mac

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Titlebar turns white after some time on Mac

Unread post by adesh » 2020-05-04, 08:33

Lootyhoof recently overhauled the Pale Moon theme on Mac to improve the aesthetics and it really looked better. One of the changes was to blend titlebar with the toolbar below seamlessly by making them both grey in color. But starting a last couple of weeks, I'm seeing the the browser titlebar randomly changes from grey to white while in usage. I cannot say what does that and there are not any reproducible steps for it but I can say that it has happened quite enough for me to report it here.

My suspect is that it started happening after we made titlebar changes (draw in titlebar) in UXP/Pale Moon for Mac builds. I'll try to check if issue goes away with those changes removed.
Attachments
Screenshot 2020-05-04 at 2.53.08 PM.png
Screenshot 2020-04-27 at 10.55.41 PM.png
Last edited by adesh on 2020-05-04, 09:24, edited 1 time in total.

New Tobin Paradigm

Re: Titlebar turns white after some time on Mac

Unread post by New Tobin Paradigm » 2020-05-04, 09:09

Is this happening without draw in titlebar because in that case the titlebar is controlled by the operating system. No amount of skinning will be able to affect it.

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

Re: Titlebar turns white after some time on Mac

Unread post by Lootyhoof » 2020-05-04, 09:11

The titlebar turning white on any Mac application generally means it's lost focus, no? That's not a theme issue, nor is drawing in the titlebar.

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Titlebar turns white after some time on Mac

Unread post by adesh » 2020-05-04, 09:26

I have added two attachments to my original post to show how it looks initially and how it changes after using browser for some random time.

dbsoft
Project Contributor
Project Contributor
Posts: 417
Joined: 2020-02-21, 17:35

Re: Titlebar turns white after some time on Mac

Unread post by dbsoft » 2020-05-04, 12:37

adesh wrote:
2020-05-04, 09:26
I have added two attachments to my original post to show how it looks initially and how it changes after using browser for some random time.
What MacOS is that happening on? And what hardware (Mac type and video card)? I have been running with the titlebar and theme changes as my primary browser and I have not encountered that behavior. I primarily run on 10.15, 10.14 and 10.11 ... but I have test environments for 10.5-10.7, 10.10-10.13 as well.

If you can find a way to reproduce it let me know!

New Tobin Paradigm

Re: Titlebar turns white after some time on Mac

Unread post by New Tobin Paradigm » 2020-05-04, 13:32

Remember this is not yet on the Release branch or included in dbsoft's last build based on Release. So please clarify.

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Titlebar turns white after some time on Mac

Unread post by adesh » 2020-05-04, 14:47

This is bleeding edge stuff. That's why it is development board. :P

OS version is 10.14.6 (Mojave). Pale Moon is build with 10.8 version of the SDK on latest master/master.
I don't use Pale Moon as primary browser on this notebook but use it quite often to notice changing behaviour. Like I said problem started only about a couple weeks ago.

New Tobin Paradigm

Re: Titlebar turns white after some time on Mac

Unread post by New Tobin Paradigm » 2020-05-04, 14:59

You should be building with the 10.7 SDK.

dbsoft
Project Contributor
Project Contributor
Posts: 417
Joined: 2020-02-21, 17:35

Re: Titlebar turns white after some time on Mac

Unread post by dbsoft » 2020-05-04, 20:38

adesh wrote:
2020-05-04, 14:47
This is bleeding edge stuff. That's why it is development board. :P

OS version is 10.14.6 (Mojave). Pale Moon is build with 10.8 version of the SDK on latest master/master.
I don't use Pale Moon as primary browser on this notebook but use it quite often to notice changing behaviour. Like I said problem started only about a couple weeks ago.
So it is a MacBook...Pro? Air? What year?

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Titlebar turns white after some time on Mac

Unread post by adesh » 2020-05-13, 14:43

So this is fixed automatically. Not sure what the problem was. Maybe something in my objdir was the culprit but I don't remember doing clobber. Anyway good this is gone.

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Titlebar turns white after some time on Mac

Unread post by adesh » 2020-07-07, 12:28

This happened a few times but I didn't have anything concrete. But today I found a sure shot way to reproduce this. What you have to do it click any word on a web page with three fingers on the touch pad. This will bring the dictionary lookup popup and the title bar of the browser will lose its colour as it opens. New windows won't have this problem until you do the same there, but the current window title will remain as is.

This quirk may be specific to my setup and SDK version used but I'd appreciate if someone can check. Anyway, not a problem as I know what -not- to do.

Locked