Bug 132929 - Shape at the wrong position after save and reload caused by undo (see comment 2)
Summary: Shape at the wrong position after save and reload caused by undo (see comment 2)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2020-05-10 18:15 UTC by Telesto
Modified: 2024-08-13 17:29 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (8.42 KB, application/vnd.oasis.opendocument.text)
2020-05-10 18:16 UTC, Telesto
Details
Simpler (and working for older versions) (13.72 KB, application/vnd.oasis.opendocument.text)
2020-05-10 18:20 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-10 18:15:46 UTC
Description:
Shape at the wrong position after same and reload caused by undo

Steps to Reproduce:
1. Open the attached file
2. Place cursor after aa and delete them with backspace.
3. Shape will be gone
4. Undo
5. Place cursor after aa
6. Insert -> Autotext.. nice ipsum lorem or dummy text
7. Enable Page wrap optimal or page wrap..
8. Save & reload

Actual Results:
Same top corner

Expected Results:
At the spot as before save and reload


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 97a2c1fc5e376c0c00968f17a0392c6d3a5ed565
CPU-threads: 4; Besturingssysteem: Windows 6.3 Build 9600; UI-render: Skia/Rooster; VCL: win; 
Locale: nl-NL (nl_NL); UI-taal: nl-NL
Calc: threaded
Comment 1 Telesto 2020-05-10 18:16:09 UTC
Created attachment 160617 [details]
Example file
Comment 2 Telesto 2020-05-10 18:20:28 UTC
Created attachment 160618 [details]
Simpler (and working for older versions)

1. Open the attached file
2. CTRL+A
3. CTRL+Z
4. Save & reload
Comment 3 Telesto 2020-05-10 18:29:55 UTC
This probably a dupe of bug 132930 (look there first)
Comment 4 Xisco Faulí 2020-05-11 09:51:07 UTC
(In reply to Telesto from comment #2)
> Created attachment 160618 [details]
> Simpler (and working for older versions)
> 
> 1. Open the attached file
> 2. CTRL+A
> 3. CTRL+Z
> 4. Save & reload

Reproduced in

Version: 7.0.0.0.alpha1+
Build ID: 86bc13248c1d9f63b10aac304bdf0361d1dcc47f
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

you forgot step 2. Cut

Dataloss why ?
Comment 5 Telesto 2020-05-11 10:09:05 UTC
(In reply to Xisco Faulí from comment #4)
> Dataloss why ?

The positional data is lost.. You position & save to be around on the same place.. This is not the case. So you're actually "losing"  data, but sure it's slightly extensive interpretation of mine.

Bit similar to losing all formatting.. You can say, he everything - the text - is still around.. no dataloss.. Or say it's a dataloss case because formatting is relevant..
Comment 6 Xisco Faulí 2020-05-11 10:32:54 UTC
(In reply to Telesto from comment #5)
> (In reply to Xisco Faulí from comment #4)
> > Dataloss why ?
> 
> The positional data is lost.. You position & save to be around on the same
> place.. This is not the case. So you're actually "losing"  data, but sure
> it's slightly extensive interpretation of mine.

ok, sure, but no data is lost, just the position
Comment 7 Buovjaga 2020-06-10 14:32:46 UTC
(In reply to Telesto from comment #2)
> Created attachment 160618 [details]
> Simpler (and working for older versions)
> 
> 1. Open the attached file
> 2. CTRL+A
> 3. CTRL+X
> 4. CTRL+Z
> 5. Save & reload

With Linux 44max and 50max, the shape does not disappear upon cut, so can't try. How did you arrive at the earliest version info?
Comment 8 QA Administrators 2022-06-22 03:44:58 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2024-06-22 03:17:33 UTC Comment hidden (obsolete)
Comment 10 Buovjaga 2024-08-11 18:43:38 UTC
(In reply to Telesto from comment #0)
> Description:
> Shape at the wrong position after same and reload caused by undo
> 
> Steps to Reproduce:
> 1. Open the attached file
> 2. Place cursor after aa and delete them with backspace.
> 3. Shape will be gone

Shape is not gone, even in 7.0. I also can't repro comment 2 in master or 7.0. Please check this again, everybody.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 31f87f369fdb40fc746d98443d75af2e9ce2452d
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 9 August 2024
Comment 11 Telesto 2024-08-13 17:29:44 UTC
Appears to be fine and no idea what the original problem was
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 055c906d7b3f2e3709292d1410358d4e66a500ed
CPU threads: 4; OS: Windows 8.1 X86_64 (6.3 build 9600); UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded