Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31459

QDialog doesn't get focus on GNOME Shell after opening

    XMLWordPrintable

Details

    Description

      When a QDialog is shown with QDialog::exec() it doesn't have focus. you have to use Alt+Tab for it to get focus.
      But it only happens when the action was triggered by a keyboard shortcut.
      If it was triggered by a mouse click it works as expected.

      This is easily reproducible in Qt Creator, when you create a new file/project or start a build while having changed files.

      The problem occurs under GNOME 3 and Cinnamon which both use GNOME Shell.
      Under KDE, Razor-qt, XFCE, LXDE, Openbox, etc. it works.

      Also Qt 4 doesn't have that problem.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            mkrems Marcel Krems
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes