I was refactoring my user interface to make use of lazy loading a bit more.
As it was being build I wanted to make sure the interface does not yet receive user inputs.
Thus I was calling:
then built all the actions, lists, fill it with list items, widgets, tabs and so on until I finally:
the whole thing again. Worked nice in 5.13.x I think. But from 5.14.0 on there were these errors coming:
qt.accessibility.core: Cannot create accessible child interface for object: QTabBar(0x24f514fea20, name = "qt_tabwidget_tabbar") index: 2
Mostly in chunks of 3 lines.
Seems when I just create the container widgets outside of the disabled state everything is fine again.
Parent widgets that I experienced this with:
- QMenuBar - first is OK, from when hovering the second menu: 3 lines of errors, 3 more on click
- QListWidget - first 3 list items are OK, from clicking the fourth 3 lines of errors then 3 more when changing away from the list item
- QTabBar - first 2 tab widgets are OK, from clicking the third 2 lines or errors ...
might be there is more. I put a code example for the QmenuBar into the Attachments
Steps to reproduce:
- (Windows) Ensure an accessibility tool or other UI Automation client, like Microsoft Narrator or Inspect is running
- Run example