=================== BUG #4750: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4750&group_id=99
Changes by: Adam Fedor <[EMAIL PROTECTED]>
Date: Tue 08/19/2003 at 22:04 (US/Mountain)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Assigned to | None | fedor
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Added indicated fix.
=================== BUG #4750: FULL BUG SNAPSHOT ===================
Submitted by: None Project: GNUstep
Submitted on: Sat 08/16/2003 at 05:11
Category: Gui/AppKit Severity: 1 - Ordinary
Bug Group: Bug Resolution: Fixed
Assigned to: fedor Status: Closed
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: Tue 08/19/2003 at 22:04 By: fedor
Added indicated fix.
-------------------------------------------------------
Date: Sat 08/16/2003 at 17: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