bugGNUstep - Bugs: bug #34644, [bindings] can't bind to properties

Group
 
 

bug #34644: [bindings] can't bind to properties

Submitter:  julian <julian_>
Submitted:  Tue 25 Oct 2011 12:59:05 PM UTC
Votes: 25
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 31 Oct 2011 11:46:59 PM UTC, comment #2: 


>Could you please that having "hidden" as a real property isn't causing any additional issues.


thanks very much, i can confirm the sample works fine now including the synthesized accessors.

>You had removed the actual clue from your error message


sorry i just paraphrased it since the gnustep installation is on another machine, i'll be more careful next time.

julian <julian_>
Mon 31 Oct 2011 06:06:58 PM UTC, comment #1: 

I fixed the underlying bug in the loading of KVB from a XIB file. I only could test this with the property values implemented as proper methods. Could you please that having "hidden" as a real property  isn't causing any additional issues.

You had removed the actual clue from your error message, the object was given as GSKVONSCustomObject. This means the code was trying to KVO the NSCustomObject not the underlying GameSheetController.

Fred Kiefer <FredKiefer>
Group Member
Tue 25 Oct 2011 12:59:05 PM UTC, original submission:  

gnustep seems to be unable to bind properties of user interface elements to properties of my custom objects (which are instantiated from the XIB file) instead of binding to the user defaults controller which works fine.

the attached sample shows the issue. the main window contains a label, and "hidden"  of the label is bound to the property "hidden" of the object "GameSheetController".

the sample of course works fine under mac os x (label toggled from hidden to visible every half second) but gnustep can't load the xib with this error:

Exception occured [sic] while loading model: Unable to find value for key "hidden" of object ....



julian <julian_>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #24195:  gnustepbug.zip added by julian_ (10KiB - application/zip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by julian_ (Voted in favor of this item)
  • -email is unavailable- added by julian_ (Submitted the item)
  •  

    There are 25 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-11-01 FredKiefer StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2011-10-31 FredKiefer CategoryNone Gui/AppKit
        Item GroupNone Bug
        StatusNone Ready For Test
        Assigned toNone FredKiefer
        Open/ClosedOpen In Test
    2011-10-25 julian_ Carbon-Copy- Added julian_
    2011-10-25 julian_ Attached File- Added gnustepbug.zip, #24195

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code