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

2008-02-19 Thread Gregory John Casamento

Update of bug #22332 (project gnustep):

 Open/Closed: In Test => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


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

2008-02-19 Thread Quentin Mathé

Follow-up Comment #4, bug #22332 (project gnustep):

Works well for me now. Thanks a lot.

___

Reply to this item at:

  

___
  Message posté via/par Savannah
  http://savannah.gnu.org/



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


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

2008-02-16 Thread Gregory John Casamento

Update of bug #22332 (project gnustep):

  Status: In Progress => Fixed  


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


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

2008-02-16 Thread Gregory John Casamento

Update of bug #22332 (project gnustep):

 Open/Closed:Open => In Test

___

Follow-up Comment #3:

Tested and verified.   Could you please test this to make sure it works
properly.  I'm changing the status to "In Test".

Thanks. GJC

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


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

2008-02-16 Thread Gregory John Casamento

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:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


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

2008-02-16 Thread Gregory John Casamento

Update of bug #22332 (project gnustep):

  Status:None => In Progress
 Assigned to:None => gcasa  

___

Follow-up Comment #1:

Confirmed.   This was working a few releases ago, I'm not sure what broke it.
  Thanks for the report.  GJC

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


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

2008-02-16 Thread Quentin Mathé

URL:
  

 Summary: Gorm doesn't save continuous property of NSSlider
 Project: GNUstep
Submitted by: qmathe
Submitted on: samedi 16.02.2008 à 12:59
Category: Gorm
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

GNUstep make/base/back r26014, gui r26071 and Gorm r26014 

If I check the continuous property of a slider in the Gorm NSSlider
inspector, save the gorm file, close it then reopen it, the continuous
checkbox isn't checked anymore. 
I infer the property isn't saved because the slider sends action in a
non-continuous way when the gorm file of the slider is loaded by my
application.

Quentin.




___

Reply to this item at:

  

___
  Message posté via/par Savannah
  http://savannah.gnu.org/



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep