bug-gnustep
[Top][All Lists]
Advanced

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

[bugs #10596] NSButtonCell does not show selected state


From: Gregory John Casamento
Subject: [bugs #10596] NSButtonCell does not show selected state
Date: Tue, 23 Nov 2004 20:46:50 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040921

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #10596] Latest Modifications:

Changes by: 
                Gregory John Casamento <address@hidden>
'Date: 
                Wed 11/24/2004 at 01:40 (US/Eastern)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed







/**************************************************************************/
[bugs #10596] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10596>
Project: GNUstep
Submitted by: Benhur Stein
On: Wed 10/06/2004 at 13:13

Category:  Gorm
Severity:  3 - Ordinary
Item Group:  Change Request
Resolution:  Invalid
Privacy:  Public
Assigned to:  gcasa
Status:  Closed


Summary:  NSButtonCell does not show selected state

Original Submission:  Selected cells in a matrix of NSButtonCells are displayed
the same way as not selected ones.

To test, create a matrix of buttons in Gorm, in radio mode,
and test the interface. the last clicked cell shoud be
displayed differently from the others, but it is not.
In previous versions (one month ago), selected cells
were displayed on a white background.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Wed 11/24/2004 at 01:28       By: Gregory John Casamento <gcasa>
Again and again people seem to make the assumption that somehow the objects in 
Gorm are "simulated" or "not real".  The objects are the ones from AppKit, or 
any palettes which are linked in, nothing more or less.  They are the real 
objects.

I'm not sure what to say here except to reiterate that the behavior of widgets 
in Gorm's Test Interface mode is dictated by the implementation AppKit/gui.   
This means that, however they would behave in a running app is how they will 
behave in Gorm's test mode.

Attached (onoffbuttons.gorm.tgz) is a file which does what you want.  Basically 
I changed the button to "Push On/Off" instead of "Momentary Push" in the button 
inspector.

This bug is user/developer error.  Invalid.

GJC

-------------------------------------------------------
Date: Mon 11/08/2004 at 15:42       By: Benhur Stein <benhur>
No, it is not a new behaviour!
Button cells used to show their selected state by changing
their background color. Maybe this should not always
be the case, depending on the type of button, but it
was the way buttons worked before, and it is how they worked
in Openstep 4.1.

-------------------------------------------------------
Date: Mon 11/08/2004 at 15:29       By: Quentin Mathé <qmathe>
With your example, it will not work, because you forget to change the prototype 
button type to NSOnOffButton or NSPushOnPushOffButton which are needed to have 
a radio behavior with a matrix of NSButton (when the prototype isn't set to the 
NSRadioButton type)…
This needed adjustement matches the InterfaceBuilder behavior, even if I'm not 
sure that the right choice… 
Anyway, you are saying this behavior is new, then I will said it is probably 
related to Gorm changes which I'm not aware of.

-------------------------------------------------------
Date: Mon 11/08/2004 at 14:39       By: Benhur Stein <benhur>
I still can reproduce it.
I've just upgraded from cvs (both core and gorm).
Attached is a gorm file (just a matrix of buttons
in a window). To reproduce the problem,
just download it in gorm, click on 'test interface',
click on a button. It should highlight and remain 
highlighted (that's what it used to do, and I think
is the correct way to show the 'selected' state of
a button), but it does not, at least here. Does
it highlight in your installation?

Benhur

-------------------------------------------------------
Date: Sun 11/07/2004 at 21:33       By: Quentin Mathé <qmathe>
I'm unable to reproduce it with 2004/11/07 cvs version… In the case you are 
able to reproduce it with this recent cvs version, let me know.






File Attachments
-------------------

-------------------------------------------------------
Date: Wed 11/24/2004 at 01:28  Name: onoffmatrix.gorm.tgz  Size: 6.29KB   By: 
gcasa

http://savannah.gnu.org/bugs/download.php?item_id=10596&amp;item_file_id=1910

-------------------------------------------------------
Date: Mon 11/08/2004 at 14:39  Name: buttons.gorm.gz  Size: 5.65KB   By: benhur

http://savannah.gnu.org/bugs/download.php?item_id=10596&amp;item_file_id=1849






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10596>

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







reply via email to

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