The way I'm envisioning this working is that the text for each item would also show the global keyboard shortcut used to invoke it, just like a regular menu. This way, Spectacle users would learn the global shortcuts over time, becoming much more productive.
*** Bug 421639 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/129
Git commit d0487a68f9da62bc7d8b492cf15a336ac34afe0c by Felix Ernst.
Committed on 26/06/2022 at 12:08.
Pushed by felixernst into branch 'master'.
Display shortcuts in capture mode combobox
Shows the global shortcuts in the capture mode ComboBox. These are
the shortcuts that would perform a screenshot in that capture mode
directly even if Spectacle wasn't currently open.
The purpose of this commit is to teach users these shortcuts,
similar to how a QMenu does it, to boost users' speed and
productivity long term.
Part of the credit for this MR goes to Leon De Andrade who uploaded
a Phabricator revision to the same effect three years ago:
M +1 -0 src/CMakeLists.txt
A +176 -0 src/Gui/CaptureAreaComboBox.cpp [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]
A +55 -0 src/Gui/CaptureAreaComboBox.h [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]
M +4 -24 src/Gui/KSWidget.cpp
M +2 -1 src/Gui/KSWidget.h