Unthemed and unscaled titlebars for server-side decorations in GNOME 44 Xorg sessions

Bug #2012733 reported by Francois Thirioux
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
Yaru Theme
Unknown
Unknown
mutter (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)
yaru-theme (Ubuntu)
Fix Released
Medium
Marco Trevisan (Treviño)

Bug Description

Hi,

Nvidia 530 (graphics ppa), dGPU mode, GS 44, Lunar

X1 session:
If I launch Synaptic or ChessX, eg., the title bar is Adwaita-styled (greyish + icons).
No issue with GNOME apps (and some other like FF or TB snaps, etc.).

Wayland session:
all is ok (except many other bugs!)

Revision history for this message
Francois Thirioux (fthx) wrote :

Using a 200 % scaled 4K display, I see that the header bars of these buggy apps is small and not scaled (I mean fonts AND header bar itself). GNOME apps are themed and scaled as intended.

summary: - [lunar] [X11] Adwaita instead of Yaru in non GNOME apps
+ Small unthemed titlebars for server-side decorations in Xorg sessions
Changed in gnome-shell (Ubuntu):
milestone: none → ubuntu-23.04-beta
tags: added: rls-ll-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Small unthemed titlebars for server-side decorations in Xorg sessions

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Are we missing custom theming in Yaru for mutter-x11-frames in GNOME 44?

Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in yaru-theme (Ubuntu):
status: New → Confirmed
Changed in mutter (Ubuntu):
milestone: none → ubuntu-23.04
Changed in gnome-shell (Ubuntu):
milestone: ubuntu-23.04-beta → ubuntu-23.04
Changed in yaru-theme (Ubuntu):
milestone: none → ubuntu-23.04
summary: - Small unthemed titlebars for server-side decorations in Xorg sessions
+ Unthemed and unscaled titlebars for server-side decorations in GNOME 44
+ Xorg sessions
Revision history for this message
Paul (jupiter007) wrote :

I can confirm the problem, but I have no idea of the reason why this happens.
We didn't changed anything related to this.
Maybe something new we miss?

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

Looks like there's a whole new X11 window manager (separate process) called mutter-x11-frames in 44. I don't know the details.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote (last edit ):

Yeah, I've been looking into this some weeks ago already, but I feel it's something yaru could handle (even though my first attempts were failing)

Paul: Main change is that now those frames are gtk4 windows, using a GtkHeaderBar, but I'm not sure how that is different from normal ones.

However, gtk inspector can be used with:

❯ pkill -f /usr/libexec/mutter-x11-frames
❯ GTK_DEBUG=interactive /usr/libexec/mutter-x11-frame

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Looking better I think there are two bugs, one is in mutter the other is in yaru where the look of these decorations isn't fully themed to be consistent with others.

Changed in gnome-shell (Ubuntu):
status: Confirmed → Triaged
status: Triaged → Won't Fix
Changed in mutter (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
importance: Undecided → High
status: Confirmed → In Progress
Changed in yaru-theme (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: Triaged → In Progress
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
Changed in mutter (Ubuntu):
status: In Progress → Fix Committed
no longer affects: gnome-shell (Ubuntu)
Changed in mutter:
status: Unknown → New
Changed in mutter:
status: New → Fix Released
tags: added: fixed-in-mutter-44.1 fixed-upstream
Changed in yaru-theme (Ubuntu):
status: In Progress → Fix Committed
tags: added: fixed-in-yaru-23.04.2-0ubuntu2
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package yaru-theme - 23.04.3-0ubuntu1

---------------
yaru-theme (23.04.3-0ubuntu1) lunar; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * meson: Release 23.04.3
  * icons/meson: Explicitly list the icons pointing to wrong locations
  * icons/meson: Remove symbolic links for flavours
  * tweaks: Use consistent size for default decoration window buttons
    (LP: #2012733, #2013271)
  * tweaks: Use consistent horizontal margin for window buttons
  * icons: Optimize symbolic icons
  * icons: Update rendered icons and symlinks

  [ Paul Kepinski ]
  * Add missing folds on libreoffice-oasis-formula icon

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 04 Apr 2023 21:56:24 +0200

Changed in yaru-theme (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 44.0-2ubuntu3

---------------
mutter (44.0-2ubuntu3) lunar; urgency=medium

  * debian/patches: Listen to XSettings changes to update decorations
    (LP: #2012733)

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 04 Apr 2023 22:26:20 +0200

Changed in mutter (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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