Changing theme Light<->Standard doesn't restore the title bar color

Bug #1872844 reported by GT
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Confirmed
Undecided
Unassigned
firefox (Ubuntu)
Confirmed
Undecided
Unassigned
qtbase-opensource-src (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This is Ubuntu 20.04 beta.

Start a program that has title bar. Try Firefox or whatever. Then navigate to settings->appearance.
Now set the theme to Standard, then Light - Firefox will now have white theme with dark titlebar.

Setting to Dark resets the bug.

Tags: focal
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I can't seem to reproduce any bug here. Can you provide a screenshot of the problem you see?

tags: added: focal
Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
GT (gtio) wrote :

Yes, here is a screencast of this bug. See how title bar theme persists when switching from standard to white

Revision history for this message
GT (gtio) wrote :

And it's not firefox-specific, chrome is also affected.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Got it thanks! I was using 'Ubuntu on Wayland' where the bug does not occur.

summary: - Changing theme Light<->Standard preserves theme for title bar
+ Changing theme Light<->Standard preserves theme for Firefox title bar
+ (in Xorg sessions)
Changed in firefox (Ubuntu):
status: Incomplete → Confirmed
no longer affects: gnome-control-center (Ubuntu)
Revision history for this message
GT (gtio) wrote : Re: Changing theme Light<->Standard preserves theme for Firefox title bar (in Xorg sessions)

It is not firefox-specific bug, it has nothing to do with ff!

See my webm, there is a chrome alongside ff and it's also affected. VLC is also affected.

Revision history for this message
GT (gtio) wrote :

It also has nothing to do with display server. This is ubuntu wayland session, same bug.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I guess you've turned off integrated titlebars, which is why I see different behaviour and no bug in Wayland sessions.

affects: firefox (Ubuntu) → gtk+3.0 (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Oh come to think of it, there is a commonality between Firefox, VLC and Chrome. That is they all try to follow the system theme but all three are NOT GTK apps. They each use different toolkits. So I fear this is the same basic problem that will need to be fixed in three different toolkits.

affects: gtk+3.0 (Ubuntu) → ubuntu
affects: ubuntu → firefox (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See also bug 1791307 for Chromium. Perhaps these bugs need to be integrated.

Revision history for this message
GT (gtio) wrote :

Well, it works when you change theme from Dark to White, but doesn't work when you switch from Standard to White.

This doesn't look like a problem with the software for me.

>I guess you've turned off integrated titlebars
I didn't turn off anything, it's freshly installed ubuntu 20.

For me firefox on wayland doesn't have this title bar at all.

Revision history for this message
GT (gtio) wrote :

Chrome and VLC have it though

Revision history for this message
Olivier Tilloy (osomon) wrote :

I'm seeing the problem in xorg sessions too. Note that VLC’s user interface is a Qt application. Chromium is a snap, and not a pure GTK application (although using GTK to draw window decorations and menus), as pointed out by Daniel. Similarly, firefox is not a pure GTK application.

Also of interest: gnome-terminal (a pure GTK application) doesn't respect any theme setting, its window title bar is always dark.

Changed in vlc (Ubuntu):
status: New → Confirmed
Changed in chromium-browser (Ubuntu):
status: New → Confirmed
summary: - Changing theme Light<->Standard preserves theme for Firefox title bar
- (in Xorg sessions)
+ Changing theme Light<->Standard doesn't restore the title bar color
Revision history for this message
Sebastian Ramacher (s-ramacher) wrote :

vlc has no code to handle that. That's all done by Qt. Re-assigning accordingly.

affects: vlc (Ubuntu) → qtbase-opensource-src (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Olivier, the issue with gnome-terminal is bug 1873394 :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.