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

[Regression] Impossible to edit the QLineEdit if parent widget has been disabled and Enabled before

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.8.0
    • None
    • OSX cocoa

      After the widget has been disabled and Enabled, QLineEdit on this widget can not be edited.
      This is very much limited to Mac and cocoa. It works great with carbon.
      Git bisect points to Align merge as faulty commit.(72aa2eb43b0cf5a6eef940da05ac58f605794ffb)
      can be reproduced with this tiny code.

      int main(int argc, char** argv)
      {
          QApplication app(argc, argv);
          QWidget w;
          QLineEdit *lineEdit = new QLineEdit(&w);
          w.show();
          w.setEnabled(false);
          w.setEnabled(true);
          app.exec();
          return 0;
      }
      
      

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

            Unassigned Unassigned
            qtcomsupport Qt Support
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes