Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#74417 - chromium gtk file chooser does not obey scheme and does not show picture preview

Attached to Project: Arch Linux
Opened by Thomas (tomsam) - Saturday, 09 April 2022, 09:04 GMT
Last edited by David Thurstenson (thurstylark) - Wednesday, 27 April 2022, 21:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Evangelos Foutras (foutrelis)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No



Apparently, on my fully upgraded arch, the chromium "gtk file chooser" now ignores my scheme, and does not provide a preview for pictures anymore.

Preview is needed, if you want to upload pictures in any social media, and the pics usually have numbered names (set by your camera).

In my dark scheme, and having GTK+ set, the file chooser that opens up is light. and it seems to be the same if I deselect GTK+ in the settings.
The same happens, if you choose Adwaita-Dark as a scheme.

This might be no real bug, but rather some new settings missing.

Let me know, if you need more information.

Additional info:
* package version(s)
chromium 100.0.4896.75-1
xfce4 4.16

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

Start chromium with GTK+ being set and having a dark scheme enabled for xfce4.

Then go to a website that allows you to upload a file, open the file chooser, and navigate to a directory that contains images.

Expected behaviour:
Scheme is obeyed, file dialog is dark, and images are previewed.
This task depends upon

Comment by Mika Attila (solvedsnake) - Monday, 11 April 2022, 16:29 GMT
The new file picker is extremely buggy. For example it disables the save button when I change the directory.
It seems to be GTK4 based, which is strange, since the package doesn't depend on gtk4, so it must be statically linking to it.

Does anyone know if it's possible to force a different file picker somehow? This new one is borderline unusable.
Comment by Mika Attila (solvedsnake) - Friday, 15 April 2022, 14:05 GMT
Just as an update, I uninstalled gtk4 and after a reboot it uses the previous file picker now.
So it seems to detect if you have gtk4 installed and use some kind of gtk4 based file picker in that case.
Comment by Thomas (tomsam) - Friday, 15 April 2022, 19:23 GMT
Mika, that is only a part of the problem, I guess.

Just had a look at an up-to-date Tumbleweed:
Chromium (same version) and with installed gtk4 (!) and xfce4 4.16* works fine on Tumbleweed,
meaning you get an image preview there and the theme is obeyed.