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


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

bug #37233: NSButton: return key equivalent image

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

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>
Project 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>
Project AdministratorIn charge of this item.
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>
Project Member


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)

    Do you think this task is very important?
    If so, you can 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 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.3