Bug 146664 - Image jumps to different page at undo
Summary: Image jumps to different page at undo
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2022-01-09 10:25 UTC by Telesto
Modified: 2024-08-06 07:27 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (379.69 KB, application/vnd.oasis.opendocument.text)
2022-01-11 21:14 UTC, Telesto
Details
Example file (378.87 KB, application/vnd.oasis.opendocument.text)
2022-01-11 21:16 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2022-01-09 10:25:44 UTC
Description:
Image jumps to different page at undo

Steps to Reproduce:
1. Open the attached file
2. Go to page 3, select the image with red border
3. CTRL+X
4. CTRL+Z

Actual Results:
Image moves to 4 page

Expected Results:
Opens at 4 page on file open


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 1bb0e177124d5d6661b72df6c7d848fb23639652
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

4.4.7.2

and in
4.0.0.3

but not in
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
Comment 1 Telesto 2022-01-09 10:29:34 UTC
Different steps
1. Select image 25 (navigator)
2. CTRL+X
3. CTRL+Z -> At wrong spot
5. Click some different image on the same page CTRL+X CTRL+Z Image 25 jumps back in 3.5.7.2 not in 7.4
Comment 2 Deep17 2022-01-11 18:53:42 UTC Comment hidden (obsolete)
Comment 3 Telesto 2022-01-11 21:14:13 UTC
Created attachment 177468 [details]
Example file

Based on: attachment 159724 [details]
Comment 4 Telesto 2022-01-11 21:16:37 UTC
Created attachment 177469 [details]
Example file

Modified.. you can choose between first image with red border or the second
Comment 5 QA Administrators 2022-01-12 03:42:48 UTC Comment hidden (obsolete)
Comment 6 Tex2002ans 2022-01-16 17:05:10 UTC
I can reproduce in:

Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

by following your "Different steps" in Comment #1.

After Step 3, the image gets placed very oddly. But after Step 5, all the images fall back into their original location.
Comment 7 QA Administrators 2024-01-19 03:14:13 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2024-08-06 07:27:55 UTC
(In reply to Telesto from comment #1)
> Different steps
> 1. Select image 25 (navigator)
> 2. CTRL+X
> 3. CTRL+Z -> At wrong spot
> 5. Click some different image on the same page CTRL+X CTRL+Z Image 25 jumps
> back in 3.5.7.2 not in 7.4

Bibisected this change with Linux 43all repo to https://git.libreoffice.org/core/+log/179a6db61ee30cf776747802f06edeef45fec461..5f91f8a368343d8921a01edb7359cd300892f09d

Then I checked the steps in the description against the same commits and in the bad one it hangs at step 4 and in the preceding commit the image moves back to page 3.

Certainly many Writer table related commits in there.