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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11946: NSButtonCell stringValue method should match state

Submitted by:  Fred Kiefer <FredKiefer>
Submitted on:  Sat 12 Feb 2005 06:30:12 PM UTC  
 
Category: Gui/AppKitSeverity: 2 - Minor
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

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

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

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Sat 21 Feb 2009 11:26:01 PM UTC, comment #3:

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>
Project MemberIn charge of this item.
 Spam posted by an 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>
Project 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>
Project 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>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 20 Jan 2010 02:35:27 PM UTCFredKieferStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Sat 21 Feb 2009 11:26:01 PM UTCFredKieferStatusIn Progress=>Ready For Test
      Assigned toqmathe=>FredKiefer
      Open/ClosedOpen=>In Test
    Fri 03 Feb 2006 04:37:14 PM UTCqmatheStatusNone=>In Progress
    Sun 13 Feb 2005 12:40:30 AM UTCqmatheCarbon-Copy-=>Added fredkieferalexm
    Sat 12 Feb 2005 10:47:33 PM UTCalexmCategoryApplication=>Gui/AppKit
      Assigned toNone=>qmathe

    Back to the top


    Powered by Savane 3.1-cleanup1