bugGNUstep - Bugs: bug #11946, NSButtonCell stringValue method...

Group
 
 

bug #11946: NSButtonCell stringValue method should match state

Submitter:  Fred Kiefer <FredKiefer>
Submitted:  Sat 12 Feb 2005 06:30:12 PM UTC
   
 
Category:  Gui/AppKit Severity:  2 - Minor
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Jan 2010 02:35:27 PM UTC, comment #5: 

This has finally been done a few weeks ago. Now I no longer need this bug report as a reminder.

Fred Kiefer <FredKiefer>
Group Member
Sat 21 Feb 2009 11:26:01 PM UTC, comment #4: 

I applied a patch from Matt Rice that corrects this behaviour.

The problem with patch is that it relies on calls to super methods and this will only work until NSCell implements setStringValue: properly to call setObjectValue:. When this happens we will need to copy a stripped down version of the old NSCell code to NSButtonCell.

Fred Kiefer <FredKiefer>
Group Member
  Spam posted by anonymous
Sun 13 Feb 2005 12:40:30 AM UTC, comment #2: 

I will take the time in the next days to improve my patch in order we can commit it.

Quentin Mathé <qmathe>
Group Member
Sat 12 Feb 2005 10:47:33 PM UTC, comment #1: 

Correct category. qmathe has partial patches for this, so I've assigned it to him again.

Alexander Malmberg <alexm>
Group Member
Sat 12 Feb 2005 06:30:12 PM UTC, original submission:  

Matt Rice reported on the closing of bug #4635:

NSButton method -stringValue -setStringValue: is not fixed, still sets the title where it should set the state.
 though this is a delicate issue, considering anyone who went [aButton setStringValue:@"a button title"]; should get an enabled button with the default title.
 
 and iirc [aButton setStringValue:@""]; should give you a disabled button with the default title.
 

Fred Kiefer <FredKiefer>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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)
  •  

    There are 0 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
    2010-01-20 FredKiefer StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2009-02-21 FredKiefer StatusIn Progress Ready For Test
        Assigned toqmathe FredKiefer
        Open/ClosedOpen In Test
    2006-02-03 qmathe StatusNone In Progress
    2005-02-13 qmathe Carbon-Copy- Added fredkieferalexm
    2005-02-12 alexm CategoryApplication Gui/AppKit
        Assigned toNone qmathe

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code