Bug 380053 - Files with uppercase .JPG extension are not recognized
Summary: Files with uppercase .JPG extension are not recognized
Status: RESOLVED UPSTREAM
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (other bugs)
Version First Reported In: 17.04.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kolourpaint-support
URL: https://gitlab.gnome.org/GNOME/gtk/is...
Keywords:
: 417952 423377 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-21 13:00 UTC by Aleš Kvapil
Modified: 2020-06-23 04:40 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleš Kvapil 2017-05-21 13:00:10 UTC
If I click on the "Open" option in "File" menu, images with uppercase ".JPG" extension are not shown. If I rename them to lowercase, they are shown correctly.
Comment 1 Aleš Kvapil 2017-05-21 13:01:39 UTC
(version 17.04.1)
Comment 2 Patrick Silva 2017-05-26 19:48:59 UTC
I can't confirm on my Arch.
Comment 3 Martin Koller 2017-05-27 06:41:23 UTC
works here as well (openSuse 42.2)
Comment 4 Aleš Kvapil 2017-06-30 22:19:11 UTC
For me still not working, Arch + Gnome + Arc theme, doesn't work even on clean Arch + Gnome + Arc installation (I lately reinstalled my laptop)
Comment 5 Martin Koller 2017-07-01 09:54:48 UTC
What we do in kolourpaint is reading the MIME database (using Qt's QMimeDatabase) and then we use QT's QFileDialog.

you mention Gnome. Do you run kolourpaint inside a Gnome session ?
If so, please attach a screenshot of the open-file-dialog.

It might be that Qt's platform plugin uses Gnomes file dialog, which would then probably a problem with this part.
Comment 6 Patrick Silva 2017-07-01 11:40:54 UTC
I'm running Arch, Gnome 3.24.2.
I cant open files with ".JPG" extension because the gtk3 open dialog does not shows the file. After change the file extension to ".jpg", the file appears in the gtk3 open dialog.
Comment 7 fabrixx 2019-08-05 19:37:24 UTC
I confirm in My Arch (Gnome 3.32) JPG uppercase not recognized
Comment 8 Patrick Silva 2019-08-05 19:43:41 UTC
(In reply to fabrixx from comment #7)
> I confirm in My Arch (Gnome 3.32) JPG uppercase not recognized

probably bacause this ridiculous gtk bug
https://gitlab.gnome.org/GNOME/gtk/issues/1347#note_492267
Comment 9 Patrick Silva 2019-08-05 19:45:17 UTC
Sorry, here is the correct url
https://gitlab.gnome.org/GNOME/gtk/issues/1347
Comment 10 Martin Koller 2019-08-05 19:52:32 UTC
It's not a bug in kolourpaint but in the gnome file selector.
Comment 11 Christoph Feck 2020-02-21 16:27:53 UTC
*** Bug 417952 has been marked as a duplicate of this bug. ***
Comment 12 Christoph Feck 2020-06-23 04:40:20 UTC
*** Bug 423377 has been marked as a duplicate of this bug. ***