Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Inactive checkboxes in MacOs 10.10 and qt 5.3
Qt 6.11 is out! See what's new in the release blog

Inactive checkboxes in MacOs 10.10 and qt 5.3

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yura-vel
    wrote on last edited by
    #1

    In MacOs 10.10 the checkbox becomes inactive while parent widget haven't focus.

    Is this problem solved in Qt 5.4? Or need to use extra attributes for widgets in MAcOS 10.10.

    Example:

    !http://i.piccy.info/i9/fd2e29b70398ff689b0eafce5d616961/1420566770/21338/852794/inactive.png(inactive)!

    !http://i.piccy.info/i9/5916b24edaae22e85d96fc58cf0ee6ee/1420566878/21422/852794/active.png(active)!

    I saw such problem even in Qt Creator. But can't find any similar issues in web.

    STEPS TO REPRODUCE (Qt Creator 3.1.1)

    Create simple project for Dialog window.
    Add to the *.ui file QLineEdit, QListWidjet and layout without any modifications.
    Code to add list items in the constructor of the dialog window:

    @QListWidget* list = ui->listWidget;
    for( int i = 0; i < 5; ++i )
    {
    QListWidgetItem* item = new QListWidgetItem( "test" );
    item->setCheckState( Qt::Checked );

    list->addItem( item );
    

    } @

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
      wrote on last edited by
      #2

      At least I did not see issue like this on 10.9.4 with Qt 5.3. What is the second widget which has all checkboxes ? Do you have sample of this ? Is it simple program or u r setting some thing else ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      https://www.pthinks.com

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yura-vel
        wrote on last edited by
        #3

        On both snapshots the same dialog, with identical list items. The difference only in focus.

        There is no such problems with 10.9.4. It appears only in 10.10.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Then you should check with Qt 5.4 and if still there please go to the "bug report system":http://bugreports.qt-project.org and check if it's something known, if not consider opening a new report providing a minimal compilable example showing the behavior.

          Just beware that the bug report system is going to be updated today and will be offline for some time

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            yura-vel
            wrote on last edited by
            #5

            I tried with qt 5.4 and result the same.
            I will post issue to the bug tracker because can't to find similar.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Don't forget to post a link to the bug report here so other users may find it more easily

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • Y Offline
                Y Offline
                yura-vel
                wrote on last edited by
                #7

                The issue on tracker:
                https://bugreports.qt.io/browse/QTBUG-43685

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved