Ubuntu 25.04 - Inconsistent Window Button Sizes Across GTK Apps

Bug #2106784 reported by Cristiano Fraga G. Nunes
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yaru Theme
Fix Released
Unknown
libadwaita-1 (Ubuntu)
In Progress
Medium
Marco Trevisan (Treviño)
Plucky
Fix Committed
Undecided
Unassigned
yaru-theme (Ubuntu)
In Progress
Low
Marco Trevisan (Treviño)

Bug Description

[ Impact ]

After upgrading system packages on Ubuntu 25.04, the window control buttons (minimize, maximize, close) appear at inconsistent sizes across different GTK applications.

[ Test Case | for libadwaita bug ]

1. Run nautilus, the close buttons circle should have padding
   (similar to GNOME terminal)

[ Test Case | for yaru bug ]

1. Run a pure gtk4 application such as gtk4-demo
2. the close buttons circle should have padding (similar to GNOME terminal)

[ Regression potential ]

Very low, some windows may have extra-large window buttons.

---

**Description:**

After upgrading system packages on Ubuntu 25.04, the window control buttons (minimize, maximize, close) appear at inconsistent sizes across different GTK applications.

For example:
- In **Nautilus** and **GNOME Text Editor**, the window buttons are noticeably **smaller**.
- In **GNOME Terminal**, the window buttons appear **larger**, as expected.

**Steps to Reproduce:**

1. Install Ubuntu using the `ubuntu-25.04-beta-desktop-amd64.iso`.
2. Observe that window button sizes are consistent across GTK apps.
3. Upgrade system packages using the default package manager (`sudo apt update && sudo apt upgrade`).
4. Restart and observe the change in window button sizes across different GTK applications.

**Expected Behavior:**

Window button sizes should remain consistent across all GTK apps, before and after system updates.

**Actual Behavior:**

After the system upgrade, some apps (e.g., Nautilus, GNOME Text Editor) display smaller window buttons, while others (e.g., GNOME Terminal) retain larger buttons.

**Additional Info:**

- ISO used: `ubuntu-25.04-beta-desktop-amd64.iso`
- This issue was not present in the clean installation, only after the upgrade.
- Affects multiple core GNOME apps.

ProblemType: BugDistroRelease: Ubuntu 25.04
Package: gnome-shell 48.0-1ubuntu1
ProcVersionSignature: Ubuntu 6.14.0-11.11-generic 6.14.0-rc7
Uname: Linux 6.14.0-11-generic x86_64
ApportVersion: 2.32.0-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 10 22:59:06 2025
DisplayManager: gdm3
InstallationDate: Installed on 2025-04-11 (0 days ago)
InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Beta amd64 (20250326.6)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions: mutter-common 48.1-1ubuntu3SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Cristiano Fraga G. Nunes (cfgnunes) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The difference between GTK apps is because most use GTK4, but some (Terminal) use GTK3.

Either way, the button style is Yaru's responsibility.

affects: gnome-shell (Ubuntu) → yaru-theme (Ubuntu)
Changed in yaru-theme (Ubuntu):
importance: Undecided → Low
Changed in yaru:
status: Unknown → New
Changed in libadwaita-1 (Ubuntu):
status: New → In Progress
Changed in yaru-theme (Ubuntu):
status: New → In Progress
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in libadwaita-1 (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
description: updated
Changed in libadwaita-1 (Ubuntu):
importance: Undecided → Medium
tags: added: udeng-6783
Changed in yaru-theme (Ubuntu):
milestone: none → plucky-updates
Changed in libadwaita-1 (Ubuntu):
milestone: none → plucky-updates
Changed in yaru:
status: New → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello Cristiano, or anyone else affected,

Accepted libadwaita-1 into plucky-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libadwaita-1/1.7.0-1ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-plucky to verification-done-plucky. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-plucky. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in libadwaita-1 (Ubuntu Plucky):
status: New → Fix Committed
tags: added: verification-needed verification-needed-plucky
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

When QQ opens, be sure to use 1ubuntu3 (or higher upstream) for the upload.

description: updated
description: updated
Revision history for this message
Pierre Bordeau (pierrebrd7) wrote :

I tested the version from plucky-proposed and it doesn't completely fix the issue. It works well when Yaru is defined as the gtk theme ("Legacy Applications" in Gnome Tweaks), but when I select another theme (the Default theme or adw-gtk3, a theme that brings adwaita theming to gtk3 apps), I still have the small buttons.

Actually the problem of the small buttons in libadwaita apps does not come from Yaru, it is a libadwaita issue that has already been fixed in upstream libadwaita 1.7.2 (see https://gitlab.gnome.org/GNOME/libadwaita/-/issues/1022 and the fix commit that only changes 1 character : https://gitlab.gnome.org/GNOME/libadwaita/-/commit/53a4f46d3a390d617b3d91463725184145c43287 )

So I believe that integrating the upstream fix would be a better idea since it would work without being limited to the Yaru theme.

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.