[Libreoffice-bugs] [Bug 149952] 7.3.4.2 view jumps around when (linux) system zoom enabled

2022-07-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149952

Michael Weghorn  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||m.wegh...@posteo.de
 Blocks||36549, 103182
   Assignee|libreoffice-b...@lists.free |m.wegh...@posteo.de
   |desktop.org |

--- Comment #5 from Michael Weghorn  ---
(In reply to Sebastian Keller from comment #2)
> It is a LibreOffice issue. The gnome-shell magnifier started requesting
> window relative (ATSPI_COORD_TYPE_WINDOW) character extents instead of
> screen relative (ATSPI_COORD_TYPE_SCREEN) ones, because on Wayland
> applications don't really know where their windows are placed on the screen:
> 
> https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/
> cb0c4bd1c2c19645e4cd1be9733c22e8747b07d8
> 
> The coordinates provided by LibreOffice when requesting these window
> relative extents however seem wrong. When looking at the caret coordinates
> in Writer, the coordinates seem to be relative to the paragraph instead of
> the window. So it looks like when ATSPI_COORD_TYPE_WINDOW is requested
> LibreOffice is somehow assuming ATSPI_COORD_TYPE_PARENT.

Thanks, that's extremely helpful!

Indeed, that's exactly what I see when I check the positions with a Writer
paragraph selected in Accerciser:

> In [82]: acc.queryComponent().getPosition(pyatspi.component.XY_SCREEN)
> Out[83]: (1989, 415)
> In [83]: acc.queryComponent().getPosition(pyatspi.component.XY_PARENT)
> Out[84]: (19, 113)
> In [84]: acc.queryComponent().getPosition(pyatspi.component.XY_WINDOW)
> Out[85]: (19, 113)
> In [85]: acc.queryText().getCharacterExtents(0, pyatspi.component.XY_SCREEN)
> Out[86]: (2065, 415, 12, 19)
> In [86]: acc.queryText().getCharacterExtents(0, pyatspi.component.XY_PARENT)
> Out[87]: (76, 0, 12, 19)
> In [87]: acc.queryText().getCharacterExtents(0, pyatspi.component.XY_WINDOW)
> Out[88]: (76, 0, 12, 19)

I'm working on a fix.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=36549
[Bug 36549] [META] ACCESSIBILITY: Tracking bug for issues affecting a11y ATK
and GNOME Orca screen reader support
https://bugs.documentfoundation.org/show_bug.cgi?id=103182
[Bug 103182] [META] GTK3-specific bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149952] 7.3.4.2 view jumps around when (linux) system zoom enabled

2022-07-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149952

--- Comment #4 from Zebull  ---
quote: "This issue does not occur on Debian Testing with KDE Plasma..."   

KDE / KDE plasma has (to my knowledge) never made the follow text-cursor/caret
tracking to work at all with zoom enabled. Even if there is a tick-box.   

Therefore, it is unfortunately not possible to find out if LibreOffice has the
same problem with KDE.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149952] 7.3.4.2 view jumps around when (linux) system zoom enabled

2022-07-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149952

Timur  changed:

   What|Removed |Added

 Blocks||100156


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=100156
[Bug 100156] [META] Wayland-related bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149952] 7.3.4.2 view jumps around when (linux) system zoom enabled

2022-07-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149952

Shinji Enoki  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #3 from Shinji Enoki  ---
Reproduced in:

Debian sid
Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 4c8537589f2a73d1fbecaf4c1e9c64627b79e542
CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149952] 7.3.4.2 view jumps around when (linux) system zoom enabled

2022-07-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149952

--- Comment #2 from Sebastian Keller  ---
> so it must be a GNOME/GTK issue

It is a LibreOffice issue. The gnome-shell magnifier started requesting window
relative (ATSPI_COORD_TYPE_WINDOW) character extents instead of screen relative
(ATSPI_COORD_TYPE_SCREEN) ones, because on Wayland applications don't really
know where their windows are placed on the screen:

https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/cb0c4bd1c2c19645e4cd1be9733c22e8747b07d8

The coordinates provided by LibreOffice when requesting these window relative
extents however seem wrong. When looking at the caret coordinates in Writer,
the coordinates seem to be relative to the paragraph instead of the window. So
it looks like when ATSPI_COORD_TYPE_WINDOW is requested LibreOffice is somehow
assuming ATSPI_COORD_TYPE_PARENT.

Related:
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5642
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5509

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149952] 7.3.4.2 view jumps around when (linux) system zoom enabled

2022-07-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149952

--- Comment #1 from Heather Ellsworth  ---
This issue does not occur on Debian Testing with KDE Plasma, so it must be a
GNOME/GTK issue. Please feel free to close this since it is not a LO issue and
I'll find the proper project.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.