[Libreoffice-bugs] [Bug 125039] New: Regression from bug 123259 when anchoring a graphic as character

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 30 09:40:47 UTC 2019


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

            Bug ID: 125039
           Summary: Regression from bug 123259 when anchoring a graphic as
                    character
           Product: LibreOffice
           Version: 6.2.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: roland65 at free.fr

Created attachment 151088
  --> https://bugs.documentfoundation.org/attachment.cgi?id=151088&action=edit
Test document to reproduce the regression

Resolution of bug #123259 (LO release 6.2.3.1 and above) has introduced a
regression that occurs when anchoring a graphic object *as character* in
Writer.

Steps to reproduce:

1. Download the test document and open it in Writer 6.2.3.1 (or above)

2. Right click on the graphic and select menu item "Anchor / As Character"

3. As expected, the graphic is now anchored as character, but the graphic is
*deselected*.

4. Press Escape. The text cursor is shown *after* the graphic.

This is an incorrect behaviour.

First, anchoring a graphic should not deselect it. Note that doing the test
with anchoring to page, to paragraph and to character do not deselect the
graphic.

Second, after Escape is pressed, the text cursor should be located before the
graphic to be consistent with the behaviour of anchoring to page, to paragraph
and to character.

This regression can lead to serious issues when developing macros for Writer.
Indeed it breaks the TexMaths extension (http://roland65.free.fr/texmaths) that
I develop. TexMaths worked fine in LO 6.2.2.2 and before.

System: Ubuntu Linux 18.04.2 64 bits
Libreoffice 6.2.3.2 downloaded from www.libreoffice.org

I did all the tests with a *fresh profile*.

I traced the regression back to bug #123259 by compiling and bisecting and I
found the problematic commit is 214e6ed5286566e689a4ef13a9115e2ad38fff57.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190430/5ea3eebd/attachment.html>


More information about the Libreoffice-bugs mailing list