Update of bug #22332 (project gnustep):
Category: Gorm => Gui/AppKit
_______________________________________________________
Follow-up Comment #2:
The problem stems from the following code in initWithCoder: in NSCell.m:
}
_action_mask = mask;
}
_action_mask = NSLeftMouseUpMask; <-- HERE!!!
[aDecoder decodeValueOfObjCType: @encode(id) at: &formatter];
[self setFormatter: formatter];
This is on line 2650. This was part of a set of changes made to properly
convert the action mask from the values used in earlier version of GNUstep to
the one's we should be using now for compatibility with OS X.
The value itself is encoded fine, it's just that when it's decoded, it's
overwritten unconditionally.
I believe what's missing here is a "|" (bitwise OR).
I'll go ahead and make this change and test it. Thanks. GC
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22332>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep