bugGNUstep - Bugs: bug #10595, NSButtonCell -image returns nil

Group
 
 

bug #10595: NSButtonCell -image returns nil

Submitter:  Benhur Stein <benhur>
Submitted:  Wed 06 Oct 2004 01:02:52 PM UTC
   
 
Category:  Gui/AppKit Severity:  2 - Minor
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  qmathe
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 07 Nov 2004 09:10:18 PM UTC, comment #1: 

Fixed in cvs 2004/11/07 with NSButtonCell.m revision 1.94
The bug was produced by a patch not fully applied when it was committed with the revision 1.90

Quentin Mathé <qmathe>
Group Member
Wed 06 Oct 2004 01:02:52 PM UTC, original submission:  

Take a buttonCell that is showing an image (created in Gorm, for example), call setImage: on it with a different image.
The new image is accepted and displayed by the cell.
Call -image, it returns nil.

Problem is that NSButtonCell does not let its type be changed
(setImage: calls setType:, but NSButtonCell's setType: overrides NSCell's to do nothing), and NSCell only
returns the image if the cell is of type NSImageCellType.

Benhur Stein <benhur>

 

(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

 

CC list is empty

 

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 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-07 qmathe StatusNone Fixed
    Assigned toNone qmathe
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code