bugGNUstep - Bugs: bug #37233, NSButton: return key equivalent...

Group
 
 

bug #37233: NSButton: return key equivalent image

Submitter:  Riccardo Mottola <rmottola>
Submitted:  Fri 31 Aug 2012 07:20:56 AM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 18 Oct 2012 02:50:53 PM UTC, comment #2: 

Currently, tthe fix doesn't work.

The Apple documentation says explicitly that the button becomes "default" when return is the key equivalent, it says nothing about the first responder.

Perhaps this should be theamable. For openstep style themes and the default theme, the return image is appropriate (like in alert panels), But for a cocoa or windows style theme, a blue color or a highlighted border would be needed.

Riccardo Mottola <rmottola>
Group Member
Mon 15 Oct 2012 10:02:35 PM UTC, comment #1: 

I tested this on Mac OS X/Cocoa and all buttons get a "blue" color to indicate that they respond to return.   I also tested on OPENSTEP 4.2 and the buttons do not get any kind of highlight.

After discussion with Riccardo, it seems like the best course of action is to show the return image.

Gregory John Casamento <gcasa>
Group administrator
Fri 31 Aug 2012 07:20:56 AM UTC, original submission:  

On Mac, if you set the key equivalent of a Button to be "return", on loading of the NIB in the application it will get a blue highlight.
On GNustep it should get the "arrow" image, I guess.

Riccardo Mottola <rmottola>
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 gcasa (Updated the item)
  • -email is unavailable- added by rmottola (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2012-11-04 rmottola StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2012-10-18 rmottola StatusReady For Test In Progress
    2012-10-15 gcasa StatusNone Ready For Test
    2012-09-12 gcasa Assigned toNone gcasa

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code