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

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

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • 4.7.1
    • 4.5.2
    • GUI: Look'n'Feel
    • None

    Description

      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.

      Note that this behavior is Windows specific.

      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
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes