Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Main Window and Dock Window Conflicting Shortcuts
GBWarren last edited by
I have a dock window that has a menu bar with menu items that use the same accelerator key combination as menu items in a main window (different action, same accelerator key). When the dock window is floating and has the focus, its overlapping shortcut will not work; if the main window has the focus while the dock window is floating, its shortcut will work. If the dock window is docked in the main window, the main window's shortcut stops working.
Is this the correct behavior for the interface? I would have expected the shortcut to work in the dock window when it was floating with the focus, and I would have expected the shortcut to work in the main window after the dock window was docked in it.