|
From: | julian |
Subject: | [bug #34790] bindings not working without synchronize for the first time |
Date: | Wed, 09 Nov 2011 23:09:00 +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/?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/
[Prev in Thread] | Current Thread | [Next in Thread] |