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

Buovjaga <ilmari.lauhakan...@libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard| QA:needsComment            |
                 CC|                            |ilmari.lauhakangas@libreoff
                   |                            |ice.org
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Buovjaga <ilmari.lauhakan...@libreoffice.org> ---
(In reply to Regina Henschel from comment #0)
> Created attachment 171319 [details]
> Contains macro with ViewCursor
> 
> Open attached document. It contains a macro to investigate the ViewCursor.
> 
> Problems:
> 
> (A) The method gotoEndOfLine() does not set the cursor at the end of the
> line.

For me, it sets the cursor to the end of the first line (not end of paragraph).
I also tested with 7.2 to confirm there was no change in behaviour.

Where does the cursor land for you?

> (B) The reported position is not "the cursor's coordinates relative to the
> top left position of the first page of the document." as said in the API of
> XTextViewCursor. It seems to be relative to the top left of the work area.
> Make the window wider to get free area left of the page and vary it. You get
> different position values.

I confirm this variance.

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 216493f32236f0086f4c5b527deb18b020b0ed1c
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo

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

Reply via email to