Main Window and Dock Window Conflicting Shortcuts



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.