I'm working on some GUI code and I am seeing some glitches with keyboard 
shortcuts in popup menus.  I wonder if others are seeing the same things.  

In Racket 7.5 on macOS 10.11.6 "El Captian":
Shortcuts defined in a menu-item% in a popup menu don't work unless the popup 
menu is displayed. In other words, you have to right click first and then the 
shortcut will work while the menu is open.  This isn't a big deal if you are 
working according to Apple's human interface guidelines because all items in 
popup menus are also supposed to be in the main menu bar [1].   Still, it seems 
like this should work on it's own.  

In Racket 7.5 on Linux Mint 19.1 (Racket installed with the Ubuntu PPA):
The shortcuts don't work at all, whether the popup is displayed or not.  Also a 
keyboard shortcut defined with '#\backspace'  does not display in the popup.  
This  is supposed to be ctl-backspace on Linux and Windows and command-delete 
on macOS.  The macOS version works but not the Linux version.  I haven't tested 
with Windows.

James

[1] 
https://developer.apple.com/design/human-interface-guidelines/macos/menus/contextual-menus/

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/3926FF2E-DCAB-421D-8EE3-7B4DF5671033%40biomantica.com.

Reply via email to