bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #22332] Gorm doesn't save continuous property of NSSlider


From: Gregory John Casamento
Subject: [bug #22332] Gorm doesn't save continuous property of NSSlider
Date: Sun, 17 Feb 2008 01:40:29 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]