Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20755

QCheckBox wrong behavior in custom widget

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.6.2
    • None
    • Qt Creator 4.6.2

      Based on Qt 5.11.1 (Clang 8.0 (Apple), 64 bit)
      Built on Jun 18 2018 11:51:56
      From revision 1ddfb443b6

      iOS 11.4.1

    • iOS/tvOS/watchOS

    Description

      When QCheckBox is implemented as a part in some custom widget, the signals become a crazy spin!

      In constructor of my MainWindow I'm adding my custom widget:

      ui->mainLayout->addWidget(this->options, ...

      The structure of the Options-widget is simple:

      QWidget->QVBoxLayout->QCheckBox

      That's all!

      When I run my app on iOS 11.4.1 (directly from Qt creator) the CheckBox can't be checked or unchecked. When I click on it, it's checked for a litte part of a second and then immediately unchecked again.

      All this is only in DebugMode. When the app runs in ReleaseMode, everything is ok

      Attachments

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

        Activity

          People

            vikas Vikas Pachdha
            peter-70 Peter Breitkopf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes