URL: <http://savannah.gnu.org/bugs/?34790>
Summary: bindings not working without synchronize for the first time Project: GNUstep Submitted by: julian_ Submitted on: Mi 09 Nov 2011 23:08:59 GMT Category: Gui/AppKit Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: ok this bug is very unimportant i'm just reporting it for completeness. if you bind an user interface element to a key of the standard user defaults controller the binding and don't provide a default value, the binding won't work without calling synchronize after setting the key. launch the attached app. you can hide and unhide the label with the buttons, but it does not work on the first start of the app. quit the app. now a value for the user defaults key is already set and on subsequent runs the app works fine. this can of course be fixed by either providing a default value (but one usually does only for "nonzero defaults") or by synchronizing the user defaults controller (but this is usually done only when necessary). so there is you unimportant bug for rainy days. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mi 09 Nov 2011 23:08:59 GMT Name: gnustepbug-synchronize.zip Size: 120kB By: julian_ <http://savannah.gnu.org/bugs/download.php?file_id=24339> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?34790> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnustep