|
From: | Ivan Vučica |
Subject: | Re: image file types and case sensitivity |
Date: | Fri, 12 Aug 2016 14:00:20 +0000 |
Hi,
in GWorkspace, there is a simple selector for the desktop image. I
noticed that it doesn't show an image I recently got off my iPhone, a
simple JPEG. Wondering, I started debugging.
The code does the following:
result = [openPanel runModalForDirectory: imagesDir
file: nil
types: [NSImage imageFileTypes]];
which is perfectly reasonable, isn't it?
I printed out the file types:
NSimage filetypes: (tiff, tif, pnm, ppm, gif, jpeg, jpg, png, icns)
I think the issue is that my file is .JPG and not .jpg
Should the open panel become case-insensitive regarding extensions? I
think yes, if possible. Else, all filetypes could be lower and upper
case, but that would leave out mixed-cases...
What's your opinion?
Riccardo
_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev
[Prev in Thread] | Current Thread | [Next in Thread] |