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

            Bug ID: 93944
           Summary: gotoStart does not work in a writer document starting
                    with table
           Product: LibreOffice
           Version: 4.4.5.2 release
          Hardware: Other
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Hi,
Please, could you help?

Calling gotoStart() on a cursor, text cursor or view cursor, does not work when
a text table is at the very start of a text document.

Example macro:

Sub jumpToStart()
   dim vc   
   vc = ThisComponent.getCurrentController().getViewCursor()
   vc.gotoStart(true)
End Sub

If any text (but not hidden!) is placed in front of the table, cursor moving
and selection stretching works.

All details in the forum.
https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=79065
Sample document to reproduce is attached in the forum.

How to reproduce:
 * Open the attached document
 * Place cursor somewhere in the middle of the document.
 * There is "Macro" a custom item added to main app menu, go there and click
"jumToStart" which calls the simple macro show above.

Now add any text above the first table and hit 'jumToStart' again. Now it works
as expected! You should see "blue" selected area from where you initially had
cursor spanning to the page top, including the text in table(s).

This is quite serious as it affects scripts like full content copy script I
recently published in snipplets:
https://forum.openoffice.org/en/forum/viewtopic.php?f=21&t=78814
Well, it affects its general usability.

Affected versions:
Writer LibreOffice 4.5 (latest)
Writer AOO 4.1.1 (lates)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to