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

Details

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

    Description

      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;
      }
      
      

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes