Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.7.3
-
None
Description
We are using PySide6 for some internal applications and noticed the following issue:
When creating a ContextMenu(QMenu) and using a Widget with QLineEdits as an QAction in that ContextMenu, then QWidgetAction is required to achieve this.
However, running the Widget with QLineEdits allows the user to press "Tab" to jump between the QLinEdits fields. This is not possible anymore as soon as this Widget is part of a ContextMenu.
I have a reproducable example attached. It is a Mainwindow with 3 QLabels and 3 QLinedits. You can tab between the QLineEdits. It also has a contextmenu that pops up when you right-click on the labels. The contextmenu has the same layout as the MainWindow (3 QLabels and 3 QLinedits) but you cannot tab anymore.
From what I can read from the documentation QWidgetAction should ensure the same behaviour of the Widget as an QAction. So I would expect the tabbing to work as part of the ContextMenu