Bug 138754 - Undo/redo duplicating the pasting of an image frame (with image)
Summary: Undo/redo duplicating the pasting of an image frame (with image)
Status: RESOLVED WORKSFORME
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:
Depends on:
Blocks:
 
Reported: 2020-12-08 21:16 UTC by Telesto
Modified: 2021-06-12 15:43 UTC (History)
2 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 2020-12-08 21:16:16 UTC
Description:
Undo/redo duplicating the pasting of an image frame (with image)

Steps to Reproduce:
1. Open attachment 163554 [details]
2. Select say Figure 8 (frame)
3. CTRL+X -> frame not properly deleted (reported somewhere)
4. CTRL+N
5. CTRL+V -> Image should show up (it does in 7.0/6.4) not totally sure about current state of 7.1 (kind of hoping for https://gerrit.libreoffice.org/c/core/+/107221)
6. Press CTRL+Z
7. Press CTRL+Y
8. Drag the frame around or look in the navigator..

Step 6/7 work correct if image not present the first time.. it's broken if the image is visible at paste.. followed by undo/redo

Actual Results:
Duplication of frame by undo

Expected Results:
1 frame/ 1 image


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.1.0.0.beta1+ (x64)
Build ID: f9fab4203c1aa0b9a3f27ce2713b6d5addc7df19
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL

not in
Version: 6.4.0.0.beta1+ (x64)
Build ID: 20be5cd0bdc57d812bf34a2debfe48caa51de881
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: GL; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2020-12-08 21:18:14 UTC
@NISZ
I think you want to keep track of this one

FWIW: the (redundant) comment for step 3 is only true for older versions, working fine in 7.1
Comment 2 Buovjaga 2021-03-31 15:05:58 UTC
I can't repro on Linux or Windows, please re-test

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: ec44f87d5b99a3299322d0b79abc4c6808877865
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 31 March 2021