Hacker News new | ask | show | jobs
by willtim 1830 days ago
Yep, shows thumbnails for pictures, videos, pdfs etc. More formats than Windows in fact. Windows has been standing still, the rest of the world hasn't.

EDIT: I used "Files", not the file picker.

3 comments

I am using GNOME 40 and I just opened a file picker in Totem, the official video player. I did not find a way to switch the file picker from "Details" mode (one line per file, with size/type columns and a very very small thumbnail) to a "grid thumbnail" mode where they would be recognizable. The related bug is still open at https://gitlab.gnome.org/GNOME/gtk/-/issues/233, so I don't think this has been fixed.
Ah yes I used "Files" and not the file picker. I guess the file picker is part of GTK and therefore cannot use the rest of the gnome infrastructure?
The reason does not matter. It really is truly, absolutely irrelevant.

If Windows has issues with paths longer than 260 chars (only PARTIALLY fixed since Windows 10, v1607), I do not care that NTFS actually has no problem and supports 32,767 Unicode characters and the actual problem is the Windows API (and since v1607, apps that have not been updated to support the new behaviour). It is an example of a bug/limitation/lack-of-polish of Windows. The internal details are irrelevant.

Gnome has a lot more of these issues(thumbnails being one of the most visible and annoying ones) than Windows. Gnome (any ver) is not more polished than Windows.

I agree that the reason does not matter and is irrelevant to the end-user. I was just speculating as to why they have not "just fixed it". However, I disagree that Windows is more polished. Windows is made up of a mixture of UI frameworks/controls/apps, some going back decades. Much of this legacy is poorly integrated and even basic things like drag-and-drop doesn't work consistently. At least Gnome is consistent and they have a vision.
If there are issues you'd like to see fixed, the best way to get those dealt with would be to contribute.
I would very much like to see the file chooser/ open and save dialog in GTK fixed because it affects a lot of software even if one is not using Gnome. It affects Firefox on Linux on all DEs, it even affects Gimp on Windows. I am not a GTK/C/Vala programmer though.

I would like for gnome apps to behave better when opened on DEs other than Gnome.

Other than that, I don't really care about Gnome. I use Plasma on Linux.

Well, if you want some changes made, you would have to define what you mean by "fixed" and come up with some concrete steps to do that, and then implement those steps, or find a person who can do them for you.

If the app uses GtkFileChooserNative, it can likely already be configured to use an external file dialog, with some caveats: https://old.reddit.com/r/kde/comments/a5cxwk/firefox_v64_can...

You sure about that? I see the bug is still open:

https://gitlab.gnome.org/GNOME/gtk/-/issues/233

This is not about thumbnails in the file manager but about the file chooser (open/save dialog).

I believe the following post is still relevant:

https://jayfax.neocities.org/mediocrity/gnome-has-no-thumbna...

At least KDE does this properly:

https://www.ubuntubuzz.com/2021/04/comparison-of-file-choose...

KDE looks really good too, but I mostly prefer the minimalism/simplicity/aesthetic of Gnome.
Thumbnail preview is a _massive_ attack surface. All those RCEs in JPEGs, MP4s, PDFs etc are now potentially immediately executed upon displaying the file. No thanks.
You’re going to want to look at those pictures if you have them or do you just collect file names?
So turn it off if it worries you. Keep in mind thumbnail rendering is sandboxed[0]. It's Linux, the reason I like it is that it doesn't try to prevent you from doing whatever you want.

[0] https://gitlab.gnome.org/GNOME/gnome-desktop/-/blob/master/R...

Lol. Although, at least for open source, by the time a hacker has an exploit prepared, someone will have rewritten the code.
What do you do between opening the file manager and opening the image/video itself that verifies it doesn’t have any RCE exploits that other people aren’t doing?
See, the nice thing about Linux is that you can always disable what you don't like. You're never just helplessly subject to the whims of the developers.