Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
6.2.2.1
-
None
-
MacBook Pro 14" Apple M1 Pro
Homebrew Miniforge
Python 3.9.7
PySide 6.2.2.1
Description
The menu items do not show the right shortcut with all the modifiers (⌘ N, ⌘ O, and ⌘ S in the example), but just the last character: see the attached screenshot.
In the code, generated with pyside6-uic form the qtdesigner interface the menu item was registered with:
self.action_open.setText(QCoreApplication.translate("MainWindow", u"&Open", None)) self.action_open.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+O", None))
I also tried with a MWE (unfortunately thrown away, but I can reconstruct it if needed) creating the menu items directly from the code (i.e., without the uic translation) but the result is the same. The same happens also if I switch from PySide6 to PyQt6.
if it can be helpful, when I click on the menubar for opening the File menu the following SVG error is reported in the log (with CORESVG_VERBOSE=1).
Unhandled operator '.' Unhandled operator '1' Unhandled operator '7' Unhandled operator '9' ... C/c command was given the wrong number of points.