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

a11y: Orca screen reader often announces incorrect QSpinBox value when changing it using arrow keys

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.11.0 FF
    • None
    • Debian testing, qtbase self-compiled from git dev as of c8b7db36a021d53f6a0b76fc31e45421f66c8439,
      Orca 49.1
    • Linux/Wayland, Linux/X11

      When changing the value of a QSpinBox using the Up/Down keys, the Orca screen reader on Linux doesn't reliably announce the new value, but often instead announces an earlier value.

       

      Steps to reproduce:

      1.  Build and run this sample program on Linux
        #include <QApplication>
        #include <QMainWindow>
        #include <QSpinBox>
        
        int main(int argc, char *argv[])
        {
            QApplication a(argc, argv);
            QMainWindow w;
        
            QSpinBox* spinBox = new QSpinBox(&w);
            spinBox->setAccessibleName("MySpinBox");
            spinBox->setRange(0, 1000);
        
            w.setCentralWidget(spinBox);
        
        
            w.show();
            return a.exec();
        }
        
      2. run the Orca screen reader
      3. move focus to the spinbox in the sample program
      4. press the Up key on the keyboard multiple times quickly

      Actual result:

      Each time the Up key is pressed, the value is increased by one as expected, but the Orca screen reader often announces a previous value, not the newly displayed one. (The attached screencast demonstrates this.)

      Expected result:

      Orca should always and consistently announce the new value.

        For Gerrit Dashboard: QTBUG-141245
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            michaelweghorn Michael Weghorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change