=================== BUG #4750: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4750&group_id=99
Changes by: Enrico Sersale <[EMAIL PROTECTED]>
Date: Sun 08/17/2003 at 02:00 (Europe/Bucharest)
What | Removed | Added
---------------------------------------------------------------------------
Category | Application | Gui/AppKit
Severity | 5 - Major | 1 - Ordinary
------------------ Additional Follow-up Comments ----------------------------
The problem is not in the GWorkspace content (image) inspector, but in NSImageRep.m.
This simple patch can fix it.
@@ -169,7 +169,9 @@
NSLog(@"Extension missing from image filename - '%@'", filename);
return nil;
}
-
+
+ ext = [ext lowercaseString];
+
if (self == NSImageRep_class)
{
rep = [self imageRepClassForFileType: ext];
=================== BUG #4750: FULL BUG SNAPSHOT ===================
Submitted by: None Project: GNUstep
Submitted on: Sat 08/16/2003 at 14:11
Category: Gui/AppKit Severity: 1 - Ordinary
Bug Group: Bug Resolution: None
Assigned to: None Status: Open
Summary: GWorkspace content (image) inspector fails depending on the filename
Original Submission: The GWorkspace content (image) inspector works on an arbitrary
JPEG image with a lower case extension (.jpg).
Rename the file to have an upper case extension (.JPG), and the content inspector
still correctly reports the image dimensions in pixels, but displays the following
greyed out text "Invalid Contents" instead of the image.
The system is running a CVS version of GNUstep and GWorkspace from 20030813 on
NetBSD/i386 1.6.
Follow-up Comments
*******************
-------------------------------------------------------
Date: Sun 08/17/2003 at 02:00 By: esersale
The problem is not in the GWorkspace content (image) inspector, but in NSImageRep.m.
This simple patch can fix it.
@@ -169,7 +169,9 @@
NSLog(@"Extension missing from image filename - '%@'", filename);
return nil;
}
-
+
+ ext = [ext lowercaseString];
+
if (self == NSImageRep_class)
{
rep = [self imageRepClassForFileType: ext];
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4750&group_id=99
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep