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

Menu does not receive focus in 5.8, when QT_IM_MODULE=ibus

    XMLWordPrintable

Details

    Description

      This menu is not getting keyboard input in 5.8. It does in 5.7:

      class MyWindow : public QWindow
      {
      public:
          void keyPressEvent(QKeyEvent *) override
          {
              QMenu menu;
              menu.addAction( "&Menu" );
              menu.exec();
          }
      };
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          MyWindow window;
          window.show();
          return a.exec();
      }
      

      Attachments

        1. config.summary
          5 kB
          atman88
        2. config.summary
          5 kB
          atman88
        3. focus.pro
          0.1 kB
          atman88
        4. main.cpp
          0.4 kB
          atman88
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            liaqi Liang Qi
            atman88 atman88
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes