Closed Bug 1571984 Opened 5 years ago Closed 11 months ago

GtkFileChooser doesn't preview images bigger than 4096px

Categories

(Core :: Widget: Gtk, enhancement, P3)

68 Branch
Desktop
Linux
enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: u644758, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

I tried to upload an 4920 x 3264 .jpg photo via Firefox.

Actual results:

The GtkFileChooser instance spawned by Firefox refuses to preview images bigger than 4096 pixels (mitigation for bug 1184009).

Expected results:

The preview should be generated. As gdk-pixbuf is most probably fixed by now the limit could be increased or removed altogether.

Component: Untriaged → Widget: Gtk
Flags: needinfo?(lsalzman)
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → Desktop

I am still not sure whether to trust GDK/GTK on this. A better alternative would probably be to rig up our own imagelib for this case, instead of relying on GDK/GTK, that way we wouldn't have to worry about future vulnerabilities or bugs...

Flags: needinfo?(lsalzman)

Yes, I agree that we should not pass so big images to GtkFileChooser.

Priority: -- → P3

Jan, can you look at it please?

Flags: needinfo?(jhorak)

(In reply to Martin Stránský [:stransky] from comment #2)

Yes, I agree that we should not pass so big images to GtkFileChooser.

Hello,

System : Debian 10.6 - 64bits
Environment : Xfce 4.12
Firefox 78.4.1esr (64 bits)

I confirm the bug, but I don't think it's Gdk/Gtk related, because it is not present with Chrome or Chromium which use the same file chooser.
Thunderbird 78.4.2 (64 bits) has the same bug as Firefox.

It is annoying when you have to upload a picture to a web site like Photoweb, since most photos are yet greater than 4096 pixels width, and without a preview, it is difficult to choose the picture you want to upload.

Lucien

Still a problem in Firefox 96, Gentoo x64.

Severity: normal → S3

I understand the frustration but this isn't Firefox fault.

Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Flags: needinfo?(jhorak)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: