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

Documentation of QAccessible::State structure includes some bit flags that are commented out in Qt's actual code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.2
    • None
    • MSYS2/Mingw-w64 Windows 10 (64Bit Home 2004 build)
    • Other

    Description

      I was referring to https://code.woboq.org/qt5/qtbase/src/gui/accessible/qaccessible.h.html but I expect from the actual behaviour I am seeing that it is present in the current version I am using.

      It seems that the bit flags that I see that are from Apple sources, namely:

      // quint64 playsSound : 1;
      // quint64 summaryElement : 1;
      // quint64 updatesFrequently : 1;
      // quint64 adjustable : 1;

      are indeed commented out and thus not present. However they ARE included in the documentation which gives the impression that they are valid to use - when they are not!

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            slysven Stephen Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes