[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56156] shortcuts not displayed in editor righ
From: |
Torsten Lilge |
Subject: |
[Octave-bug-tracker] [bug #56156] shortcuts not displayed in editor right-click menu |
Date: |
Sat, 18 May 2019 04:02:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Update of bug #56156 (project octave):
Status: Confirmed => Invalid
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #5:
Whether shortcuts are shown in context menus or not is a global setting of the
OS or the window manager. This setting can be checked since Qt 5.10 with
QGuiApplication::styleHints ()->showShortcutsInContextMenus ()
On my Debian/Gnome system this flag is false, which explains that I do not see
shortcuts in the context menu. QStyleHints are read only [1], thus, there is
no possibility to changed this setting from octave and, even if it was, we
should not break the general setting of the window manager.
>From the "Human Interface Guidelines" on MacOS [2], shortcuts in context menus
are regarded redundant and are unwanted [3]:
_"Show keyboard shortcuts in menu bar menus, not contextual menus. Contextual
menus are already shortcuts to task-specific commands; it's redundant to
display keyboard shortcuts too."_
I am closing this report as "invalid", since octave does not suppress or
disable shortcuts in context menus. The behavior follows a global preference
that has to be set in the OS or window manager.
[1] https://doc.qt.io/qt-5/qstylehints.html
[2] https://developer.apple.com/design/human-interface-guidelines
[3]
https://developer.apple.com/design/human-interface-guidelines/macos/menus/contextual-menus
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56156>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #56156] shortcuts not displayed in editor right-click menu,
Torsten Lilge <=