URL:
<http://savannah.gnu.org/bugs/?34760>
Summary: gnustep has problems with
bindings+nscolor+valuetransformer+(un)archiver
Project: GNUstep
Submitted by: julian_
Submitted on: So 06 Nov 2011 21:04:11 GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
hello again
attached is a very simple test application.
it has
1.) a nscolorwell that has its value bound to the standard user defaults key
"color". it uses the value transformer "NSUnarchiveFromData" because you can't
store a NSColor directly into the standard user defaults
2.) when a button is pressed the app tries to decode the value using
nsunarchiver
something here is not working under gnustep, the nscolorwell doesn't initially
show the default color (red) and clicking on the button doesn't print out the
color. the interesting thing is that the very same code sequences are crashing
in my full app (nsunarchiver throwing an exception that the data doesn't begin
with archive) and just not working in this sample app.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: So 06 Nov 2011 21:04:11 GMT Name: gnustepbug.tar.gz Size: 107kB By:
julian_
<http://savannah.gnu.org/bugs/download.php?file_id=24314>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34760>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep