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

Mac Checkbox Accessibility does not returns mixed State

    XMLWordPrintable

Details

    • f4887aca1e5ac7b90abf862d7c9828417a74a1b6 (qt/qtbase/dev) 4193115b1b084649847fcf15da02c4974bd1d87d (qt/tqtc-qtbase/tqtc/lts-5.15) d482d8b1b5ecf447c41f47db140f1c9e15177477 (qt/qtbase/6.0) fd15b28cf80897a212d4a57190e8c0e75c644eb3 (qt/qtbase/6.1)
    • UI Bug Fixing Q1/2021

    Description

      Check Boxes in Tree items having parent child items does not returns value 2 indicating it as MixedState
      If child items is checked and parent in middle state, Voice Over announce parent as unchecked.

      in attach screenshot voice over reads parent 000Bar as uncheked instead fo Mixed.
      This little change should fix it

      qcocoaaccessibility.mm
      
      if (interface->state().checkable) {
      return interface->state().checked ? @(1) : @(0);
      }
      
      should be updated to:
      
      return interface->state().checked ? @(1) :
      interface->state().checkStateMixed ? @(2) : @(0);
      

      Attachments

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

        Activity

          People

            smd Jan Arve
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes