|
From: | julian |
Subject: | [bug #34760] gnustep has problems with bindings+nscolor+valuetransformer+(un)archiver |
Date: | Sun, 06 Nov 2011 21:04:12 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |