https://bugs.kde.org/show_bug.cgi?id=506715

            Bug ID: 506715
           Summary: Keys for Orca (screen reader) structural navigation
                    don't work correctly when pressed multiple times
                    subsequently
    Classification: Plasma
           Product: kwin
      Version First 6.4.80
       Reported In:
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: input
          Assignee: kwin-bugs-n...@kde.org
          Reporter: m.wegh...@posteo.de
                CC: duha.b...@gmail.com
  Target Milestone: ---

Created attachment 183036
  --> https://bugs.kde.org/attachment.cgi?id=183036&action=edit
Sample document with a few headings that can be used to reproduce the issue

SUMMARY

The current development version of Orca introduced support for structural
navigation for all apps (not just web documents). commit:
https://gitlab.gnome.org/GNOME/orca/-/commit/1a10f8c5c738d0cedb2c82a85f14724d23af6f99

However, while jumping to the next heading in LibreOffice using that feature
works reliably in a GNOME Wayland session, it only works "sometimes" in the
current development version of KDE Plasma (Wayland).
It turns out it doesn't work when the same key is pressed twice (or more often)
subsequently without waiting for some time (e.g. a few seconds) in between they
key presses.


STEPS TO REPRODUCE
1.  build and run the current development version of the Orca screen reader (
https://gitlab.gnome.org/GNOME/orca )
2. start the GTK 3 version of LibreOffice using `SAL_USE_VCLPLUGIN=gtk3
libreoffice --writer`
3. open the attached sample document containing three headings (or simply
insert a few headings into a new Writer document instead)
4) press Orca_Key + Z to enable Orca's document mode (structural navigation
mode) (Orca_Key is usually Keypad_Insert or Insert); Orca should announce
"Document mode"
5) press H to jump to the next heading
6) press H a few more times without waiting in between
7) wait a few seconds
8) press H again

OBSERVED RESULT

The first time that H is pressed, focus jumps to a heading.
On subsequent times, a literal "h" is inserted at the current caret/cursor
position in step 6 instead of jumping to the next heading.
In step 8 (i.e. after waiting), focus jumps to the next heading as expected.

EXPECTED RESULT

Jumping to the next heading should work in step 6 as well, i.e. it shouldn't be
necessary to wait a while before pressing H again to jump to the next heading.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.17.0
Qt Version: 6.11.0
Kernel Version: 6.12.33+deb13-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 32 × 13th Gen Intel® Core™ i9-13900HX
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor 1: Intel® Graphics
Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU
Manufacturer: TUXEDO
Product Name: TUXEDO Gemini Gen2

ADDITIONAL INFORMATION

Structural navigation currently only works with the gtk3 version of
LibreOffice, not (yet) with the qt6/kf6 one, i.e. only if "Help" -> "About
LibreOffice" contains "gtk3" in the version information.

LibreOffice version:

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 32; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Debian package version: 4:25.2.3-2
Calc: threaded

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to