Created attachment 147293 [details]
ODT test file
- open the attached simple file and move the box "some red text" to the right side
- click the undo button
result: the movement is not undone since the moved text box lands on a different place
- now press the redo button
result: the box is placed somewhere else
- now press undo then redo a few times and see that the box is placed quite randomly
I found out that the bug does not appear when I delete the image in the file so it seems the fact that the file contains an image seems to be important for the bug.
The occurs no matter if you move the box to the upper or lower right of the page, the random movement with several undo/redo however only occurs when moving the box to the lower right.
I confirm it with
Version: 18.104.22.168.beta1 (x64)
Build ID: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win;
Locale: en-US (de_DE); UI-Language: en-GB
Not reproduced in
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.15; Render: default;
This seems to have begun at the below commit.
Adding Cc: to Miklos Vajna; Could you possibly take a look at this one? Thanks
fffa2416982cdc322a1c91acdf48e46c391b4c4f is the first bad commit
Author: Norbert Thiebaud <email@example.com>
Date: Tue Aug 7 00:20:18 2018 -0700
author Miklos Vajna <firstname.lastname@example.org> 2018-08-06 21:42:32 +0200
committer Miklos Vajna <email@example.com> 2018-08-07 09:14:03 +0200
commit 59f5f666a5085ae58a8dd164636a6bea47e6bddc (patch)
parent 7d800d0fa98978e06c5dc0f189501f96402e11d5 (diff)
tdf#109137 sw textbox: fix initial wrap type of a shape's textbox
Sorry, I think this just made existing problem more visible. I'll attach an ODT which has no textbox in it (textbox as in the feature described at https://vmiklos.hu/blog/textbox.html) and the same problem happens there as well: if you just select the shape, press the right arrow then undo, you don't get back the original position.
So yes, this is a bug, it has to be fixed, but it's not a regression.
Created attachment 147651 [details]
Reproducer document, whithout a textbox.
Reproduce document that shows this was already broken before.