Bug 2415534 - [Fedora 43 Regression] The close (x) button is invisible with GTK theme
Summary: [Fedora 43 Regression] The close (x) button is invisible with GTK theme
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: chromium
Version: 43
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-18 01:19 UTC by H.J. Lu
Modified: 2025-11-29 16:48 UTC (History)
5 users (show)

Fixed In Version: chromium-142.0.7444.175-4.fc43
Clone Of:
Environment:
Last Closed: 2025-11-29 16:48:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description H.J. Lu 2025-11-18 01:19:13 UTC
When GTK theme is used, the close (x) button at the right corner of toolbar becomes
invisible.  It is there since I can close the chromium browser by clicking it at
the location blindly.

Reproducible: Always

Steps to Reproduce:
1. Open the chromium browser.
2. Select GTK theme.
3. Check the right corner of toolbar for the close (x) button.
Actual Results:
There is no visible close (x) button at the right corner of toolbar.

Expected Results:
There is a close (x) button at the right corner of toolbar.

Comment 1 Than Ngo 2025-11-18 20:27:34 UTC
It looks like something is not working with Gnome 49.x on F43, as this problem does not occur on F42 with Gnome 48 and the same Chromium version.
As a workaround, please set the Chromium theme to 'Classic' until we have a fix for this issue.

Thank you

Comment 2 Than Ngo 2025-11-19 10:36:10 UTC
Hi H.J. Lu, 

It looks like a bug in GNOME as on F43 the Wayland is set by default and the Wayland compositor in use does not support server-side decorations (via xdg-decoration protocol) and causes such problem. This issue does not occure in KDE

Please add following lines in /etc/chromium/chromium.conf at the end of the configuration as Workaround for a bug in GNOME
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
   CHROMIUM_FLAGS+=" --ozone-platform=x11"
fi

It should work for you after restarting chromium

Comment 3 H.J. Lu 2025-11-21 00:08:28 UTC
Is chromium the only program which uses server-side decorations?

Comment 4 H.J. Lu 2025-11-21 00:19:46 UTC
Is there a corresponding GNOME bug?

Comment 5 Fedora Update System 2025-11-27 08:48:05 UTC
FEDORA-2025-220924dbba (chromium-142.0.7444.175-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-220924dbba

Comment 6 Fedora Update System 2025-11-29 16:48:40 UTC
FEDORA-2025-220924dbba (chromium-142.0.7444.175-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.