Bug 140732 - Establish accessible event to expose cursor position (draw, pointer, text?) on document canvas for use by Assistive Technology tools
Summary: Establish accessible event to expose cursor position (draw, pointer, text?) o...
Status: RESOLVED DUPLICATE of bug 136760
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: a11y, Accessibility
  Show dependency treegraph
 
Reported: 2021-03-01 11:25 UTC by Peter Franke
Modified: 2023-03-13 19:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Franke 2021-03-01 11:25:13 UTC
Description:
In MS Word, it is possible to have the current distance from the left and top margins indicated in centimetres via the shortcut NVDA+Delete. In LibreOffice, NVDA outputs two numerical values, but these do not describe the distance from the left and top margins in centimetres.

Steps to Reproduce:
1. Start NVDA and LO Writer
2. Press NVDA+Delete
3. NVDA will announce numbers, but it is not clear what these do exactly mean; it is at least not the distance from the left and top margins in centimetres

Actual Results:
NVDA does not read the distance from the left and top margins in centimetres

Expected Results:
NVDA should read the distance from the left and top margins in centimetres


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested with

NVDA 2020.4

Windows
Edition	Windows 		10 Home
Version				1909
Installed on			17.02.2020
Operating system build		18363.1016

LibreOffice
Version: 	7.1.0.3 (x64)
Build ID:  8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 	4; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: 		de-DE (de_DE); UI: de-DE
Calc: 		threaded
Comment 1 juergenkohler23 2021-03-01 11:48:20 UTC
We have also tested it with NVDA 2020.4. The function would be important, for example, to be able to create a letterhead with exact dimensions in LibreOffice.
Comment 2 V Stuart Foote 2021-03-01 20:38:11 UTC
LibreOffice uses IAccessible2 and MSAA, there is *NO* UIA implementation.

There is no LO accessible event associated. 

NVDA's position reporting in LO, NVDA + (nnumpad) DEL, is reading the cursors position in LO in points, but relative to the screen (0, 0 )cartesian at top left of active screen.
Comment 3 juergenkohler23 2021-03-15 09:27:12 UTC
So then the problem does not seem to be a bug formally. But nevertheless, the information does not really help me: Perhaps one can make a "feature request" out of this topic, so that LibreOffice can query the specification of the monitor (monitor size) and the screen resolution from the operating system via corresponding interfaces, so that the distances can be calculated accordingly.
Comment 4 V Stuart Foote 2021-03-15 13:40:23 UTC
So currently os/DE is providing display relative positions in px. Would need to application window/frame relative position, but ideally relative to current page layout.

No idea if even feasible, or what "instrumentation" would be required to expose for AT--and if the 3 main native bridges can even utilize the position.
Comment 5 Dieter 2022-08-26 06:46:53 UTC
There has been no further input to this report for almost 1,5 years. What is needed here to come to a decision?

For me it sounds like a valid enhancement request: NVDA+DEL should read cursors position in metrics from page layout instead of points from screen (as far as I understand previous comments correct)

=> NEEDINFO
Comment 6 QA Administrators 2023-02-23 03:25:22 UTC Comment hidden (obsolete)
Comment 7 Michael Weghorn 2023-03-13 19:44:14 UTC
This sounds like the same request as in tdf#136760, so closing as a duplicate of that one.

*** This bug has been marked as a duplicate of bug 136760 ***