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 Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
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 100%
Votes 1
Private No

Details

Description:

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

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:17 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/chromium/issues/3
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.

Comment by Thomas (tomsam) - Friday, 18 November 2022, 10:05 GMT
The problem is still there in 107.0.5304.110

Another observation: The chromium file chooser does not work at all, if you
uninstall the xdg-desktop-portal* packages ! (i.e. without the portal packages,
nothing is opened at all, when otherwise you would get the wrong file chooser)

I also opened a bug with the chromium developers, and they claim
that a missing portal configuration would be the problem. They
didn't tell exactly what they meant by that, though.

Is the arch chromium configured to use the portal packages, and
if yes, can we have a version that is not?
Comment by Thomas (tomsam) - Friday, 31 March 2023, 08:27 GMT

The problem is still there in

xfce 4.18
and
chromium 111.0.5563.146

i.e. it is open for at least a year now.

Even more with the last update, some new problems were added (like some lists are not filled correctly. Example: I have to select Documents twice
to get the actual file list of Documents)


Is anyone actually working on this problem ?

Loading...