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

When a widget is shown that has a QPushButton as the child with the initial focus then the focus is not drawn until it changes.

    XMLWordPrintable

Details

    Description

      t4id: 261575

      When a widget is shown that has a QPushButton as the child with the initial focus then the focus is not drawn until it changes.

      Example to reproduce:

      #include <QtGui>
      
      int main(int argc, char **argv)
      {
          QApplication a(argc, argv);
          QWidget w;
          QPushButton *pb = new QPushButton("Test", &w);
          QLineEdit *le = new QLineEdit(&w);
          le->move(100,100);
          w.show();
          return a.exec();
      }
      

      Attachments

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

        Activity

          People

            bachewii Jens
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes