Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.8
-
Windows 10 22H2
Description
This problem seems to be fixed as of Qt 6.8.2, but still affects Qt 6.5.8. If would be good to get this fixed in 6.5 LTS.
Code
#include <QApplication> #include <QWebEngineView> int main(int argc, char* argv[]) { QApplication app(argc, argv); QWebEngineView win; win.setUrl(QUrl("https://contribute.qt-project.org/quips")); win.setWindowTitle(QStringLiteral("UIA Test: ") + QT_VERSION_STR); win.resize(800, 600); win.show(); return app.exec(); };
Steps to reproduce
- Open Accessibility Insights for Windows (https://accessibilityinsights.io/). On the "Live Inspect" page, choose to inspect/select "Element"
- Build and run the code above, and give focus to the QWebEngineView window
- Slowly hover your mouse cursor over the window's title bar, followed by the "Minimize", "Maximize", and "Close" buttons
- Slowly hover your mouse cursor over various buttons, icons, links, and texts inside the web page itself
Note: Accessibility Insights is Microsoft's recommended replacement for Visual UI Automation Verify, according to https://learn.microsoft.com/en-us/windows/win32/winauto/ui-automation-verify
Outcomes
As the mouse cursor hovers over each element...
- [Step #3][All Qt versions] A bounding box appears over each element and Accessibility Insights shows information about each element
- [Step #4][Qt 5.15.18 and 6.8.2] Same as above
- [Step #4][Qt 6.5.8] Nothing happens