Bug 140205 - Dragging an image frame anchored as 'as character' twice followed by undo breaks layout
Summary: Dragging an image frame anchored as 'as character' twice followed by undo bre...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2021-02-06 08:31 UTC by Telesto
Modified: 2023-08-05 03:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-02-06 08:31:53 UTC
Description:
Dragging an image frame anchored as 'as character' twice followed by undo brakes layout 

Steps to Reproduce:
1. Open attachment 163564 [details]
2. Save as DOCX
3. File reload
4. Select figure 1 and drag it down somewhat (not happens, expected, 'as character'
5. Drag it down again (not happens, expected)
6. Press undo 2x

Actual Results:
Image moves off page

Expected Results:
Not so


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3ed9bba283a6a67864c0928186e277240be0d9ba
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
Comment 1 Telesto 2021-02-06 08:32:32 UTC
Still OK with
Version: 6.4.0.0.beta1+ (x64)
Build ID: 20be5cd0bdc57d812bf34a2debfe48caa51de881
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 2 NISZ LibreOffice Team 2021-02-09 10:00:51 UTC
Confirming with:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 44b914b1e2616ca8f70e896e653a46ca93610234
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-GB
Calc: CL

Still ok with:

Version: 7.1.0.3 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Also still good in bibisect-7.2 master:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 380ab85b6594a013f34f5e6ec69fb569336bbb48
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Must be something very fresh.
Comment 3 raal 2021-04-10 16:56:01 UTC
Can you check it? I cannot reproduce with Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: c47ad11f8c2e917adebbd5d7b3a3ef6cc4b3e670
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 4 Telesto 2021-04-12 11:18:35 UTC
Not totally the same as initially, but undo still broken..

1. Open attachment 163564 [details]
2. Save as DOCX
3. File reload
4. Select the frame of figure 1
5. Drag it over figure 2 (nothing happens)
6. Repeat -> Now the layout changes (more with space around figure 1
7. Press and hold CTRL+Z

Image frame and content out of sync. Not totally unique bug.. It has enough in common with bug 140208 to be related
Comment 5 NISZ LibreOffice Team 2021-04-23 12:05:13 UTC
Still confirmed in:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: db1cf111666847ce5ce93d18ae5ae8c29a4c44d6
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 6 Buovjaga 2021-08-04 15:37:11 UTC
(In reply to Telesto from comment #4)
> Not totally the same as initially, but undo still broken..
> 
> 1. Open attachment 163564 [details]
> 2. Save as DOCX
> 3. File reload
> 4. Select the frame of figure 1
> 5. Drag it over figure 2 (nothing happens)
> 6. Repeat -> Now the layout changes (more with space around figure 1
> 7. Press and hold CTRL+Z
> 
> Image frame and content out of sync. Not totally unique bug.. It has enough
> in common with bug 140208 to be related

It seems unreliable to reproduce. I can't repro with this from Linux 7.3 repo:

commit d1abf4acc1ed26e35ff1347dd5bf0b4ac4f0c70a (HEAD -> master, origin/master, origin/HEAD)
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Fri Jul 23 17:33:54 2021 +0200

    source 612d5b1a04fe022a34018d901bb9b052791d54e5

But I can repro with my master build

Arch Linux 64-bit
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: f234fe77a0070927b8ae2ba3309f63aa718624f5
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 4 August 2021

However, the result with the bounding box position is not always the same.
Comment 7 QA Administrators 2023-08-05 03:05:27 UTC
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug