[Libreoffice-bugs] [Bug 116430] New: when opening print dialog, Orca gets bogus indexes from accessibility stack

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 16 13:25:13 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116430

            Bug ID: 116430
           Summary: when opening print dialog, Orca gets bogus indexes
                    from accessibility stack
           Product: LibreOffice
           Version: 6.0.2.1 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: samuel.thibault at ens-lyon.org

Description:
Libreoffice reports bogus indexes to the accessibility stack when the print
dialog gets opened, making Orca lost in the dialog box.

Steps to Reproduce:
1) Open LibreOffice Writer
2) Press ctrl+p to open the Print dialog


Actual Results:  
Orca announces only "print frame"


Expected Results:
Orca should announce where it is precisely (Range and Copies panel, Number of
copies Text), which would happen fine if indexes were right.



Reproducible: Always


User Profile Reset: No



Additional Info:
What Joanmarie found is that when Orca looks a the newly-opened print dialog,
the activated field ("number of copies") returns a bogus -1 as index in parent.
Looking at it a bit later, the index is correct (1). So I guess there is some
kind of race between the notification of the new dialog and widgets, and the
actual complete construction of the dialog box.

I tried to remove in vcl/source/window/printdlg.cxx's PrintDialog::PrintDialog
the following lines:

maJobPage.mpCopyCountField->GrabFocus();
maJobPage.mpCopyCountField->SetSelection( Selection(0, 0xFFFF) );

and replace with <property name="has_focus">True</property> in
vcl/uiconfig/ui/printdialog.ui to keep the "focus on open" behavior, but the
issue in Orca remains the same, so I guess the problem is deeper than just
that.


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101
Firefox/59.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180316/24f97c6b/attachment-0001.html>


More information about the Libreoffice-bugs mailing list