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: Benhur Stein
Subject: [bugs #10596] NSButtonCell does not show selected state
Date: Mon, 08 Nov 2004 11:19:02 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041004 Firefox/0.10.1

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

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

Changes by: 
                Benhur Stein <benhur@inf.ufsm.br>
'Date: 
                Mon 11/08/2004 at 15:42 (America/Sao_Paulo)

------------------ Additional Follow-up Comments ----------------------------
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.






/**************************************************************************/
[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:  Remind
Privacy:  Public
Assigned to:  qmathe
Status:  Open


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: 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: 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]