Objective-C / Cocoa - NSMenu - FirstResponder key bindings

V Stuart Foote VStuart.Foote at utsa.edu
Sun Mar 31 15:08:59 PDT 2013


We have a group of LibreOffice Bugs in the OS X builds related to keyboard
accelerators (<cmd>-A, <cmd>-C, <cmd>-V):

fdo#49853 <https://bugs.freedesktop.org/show_bug.cgi?id=49853>  
fdo#55914 <https://bugs.freedesktop.org/show_bug.cgi?id=55914>  
fdo#60790 <https://bugs.freedesktop.org/show_bug.cgi?id=60790>  
fdo#62054 <https://bugs.freedesktop.org/show_bug.cgi?id=62054>  

Spent a little time on StackExchange and found that non-association of the
keyboard accelerators is not that uncommon in NSMenu & NSView Objective C
Cocoa programming for OS X. And that the resolution is to associate the
accelerators to the corresponding menu of the component, or to the main
menu--which ever is the First Responder for the window or pop-up with focus. 

Some time in OpenGrok suggests problem lies in the

http://opengrok.libreoffice.org/xref/core/vcl/aqua/source/res/MainMenu.nib/
http://opengrok.libreoffice.org/xref/core/vcl/inc/aqua/salnsmenu.h
http://opengrok.libreoffice.org/xref/core/vcl/aqua/source/window/salmenu.cxx
http://opengrok.libreoffice.org/xref/core/vcl/aqua/source/window/salnsmenu.mm

source.  But I can find no hint of key bindings for the accelerators. Did it
simply get overlooked?





--
View this message in context: http://nabble.documentfoundation.org/Objective-C-Cocoa-NSMenu-FirstResponder-key-bindings-tp4047224.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list