Important: Please read the Qt Code of Conduct -

Could not get focus on any of the input widgets while working with MDI application?

  • Hi!,
    I have a MDI application which has couple of input widgtes on MainWindow and inside Docking widgets.
    When ever i tried to bring up a context menu by right clicking on the QMdiSubwindow, all the input widgets in MDI losing their focus.

    Note : QMdiSubWindow has an external window (like a xterm) which is not a Qt widget and Context menu is coming from external window.

    Is this a bug in Qt ? if not how can i solve this problem?

    any help is appreciated thanks in advance.

  • Can you show some code?

Log in to reply