24

Google Chrome's file chooser has preview in previous versions of Ubuntu(21.10 and earlier).

It is painful since I can't see which one is the correct picture when uploading in browser.

Any ideas?

Alvin Liang
  • 1,753
  • I recently upgraded to Ubuntu 22.04 LTS. I had an image preview in the previous LTS release and it's still there after the upgrade. – user1624912 Aug 21 '22 at 00:02
  • 1
    There's a solution for Firefox under about:config, according to https://askubuntu.com/a/1428041/286078

    Is there anything equivalent under chrome://about?

    – saeng Jun 30 '23 at 04:15

1 Answers1

17

No progress on this front. Rather a regression with GTK4.

Indeed, Google Chrome is using the latest GTK4 (libadwaita) file dialog on Ubuntu 22.04. An icon view in GTK dialogs has been lacking forever. While GTK3 dialogs were at least still able to show a preview of the currently selected file, that possibility does not appear to be implemented (currently?) in GTK4 file picker dialogs.

vanadium
  • 98,427
  • is there any related issues to track? – reddot Aug 27 '22 at 14:37
  • solutions can be found here https://askubuntu.com/questions/1405785/no-file-preview-while-opening-an-image-in-22-04/1529919#1529919 – GiorgosK Oct 14 '24 at 05:55
  • @GiorgosK, not applicable. This question here is about the GTK file picker dialog. The question you refer to is about nautilus. Both are different parts of the desktop, although they look the same. Work is ongoing, though, to use nautilus also as the file picker dialog. That will, however, only work for GTK4 applications or applications using a GTK4 portal. – vanadium Nov 05 '24 at 11:57