Bug 135206 - Lots of layout movement deleting part of a text
Summary: Lots of layout movement deleting part of a text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2020-07-27 18:53 UTC by Telesto
Modified: 2023-01-02 16:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (71.39 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-07-27 18:54 UTC, Telesto
Details
Screencast (19.77 MB, video/mp4)
2020-07-27 18:55 UTC, Telesto
Details
Source ODT (76.59 KB, application/vnd.oasis.opendocument.text)
2020-07-27 18:56 UTC, Telesto
Details
Screenshot of when it's not going as expected (137.99 KB, image/png)
2020-07-27 18:57 UTC, Telesto
Details
ODT of the DOCX (as the ODT is inheriting DOCX flaws) (65.72 KB, application/vnd.oasis.opendocument.text)
2020-07-27 19:22 UTC, Telesto
Details
Example file (80.54 KB, application/vnd.oasis.opendocument.text)
2023-01-02 14:13 UTC, Telesto
Details
Gif screencast (450.63 KB, image/gif)
2023-01-02 14:14 UTC, Telesto
Details
Gif screencast (500.32 KB, image/gif)
2023-01-02 14:15 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-27 18:53:46 UTC
Description:
Lots of layout movement deleting part of a text

Steps to Reproduce:
1. Open attached file
2. Go to page 57
3. Delete 171 until 176 ending with "In what year was Friends first broadcast and for how many seasons did it run?
4. Press backspace

Actual Results:
Lots of movement

Expected Results:
Less shifting around


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
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 2020-07-27 18:54:00 UTC
Created attachment 163652 [details]
Example file
Comment 2 Telesto 2020-07-27 18:55:32 UTC
Created attachment 163653 [details]
Screencast
Comment 3 Telesto 2020-07-27 18:56:17 UTC
Created attachment 163654 [details]
Source ODT
Comment 4 Telesto 2020-07-27 18:57:18 UTC
Created attachment 163655 [details]
Screenshot of when it's not going as expected
Comment 5 Telesto 2020-07-27 19:22:13 UTC
Created attachment 163656 [details]
ODT of the DOCX (as the ODT is inheriting DOCX flaws)
Comment 6 Telesto 2020-07-27 20:03:00 UTC
DOCX export of ODT with 4.3 appears to be 'good' in the sense of not causing massive movement.

So STR
1. Open source ODT
2. Save to DOCX
3.Go to page 57
4. Delete 171 until 176 ending with "In what year was Friends first broadcast and for how many seasons did it run?
5. See what happens -> maybe delete some more.. press undo.. to double check.. 

Note: timers triggered a bit slower compared to 7.1.. So need a bit of waiting or a good I noticing
Comment 7 Xisco Faulí 2021-02-09 15:12:30 UTC
Dear Telesto,
Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 8 QA Administrators 2021-08-10 03:49:53 UTC Comment hidden (obsolete)
Comment 9 Telesto 2021-08-10 07:16:57 UTC
1. Open attachment 163652 [details] in multi page mode (so you can see 2 rows of pages)
2. Go to page 59 (with number 176 on it)
3. Place the cursor at the end of "In what year was Friends first broadcast and for how many seasons did it run?
4. Press and hold backspace.
Comment 10 Jean-Baptiste Faure 2022-04-06 08:35:52 UTC
> Lots of layout movement deleting part of a text

I do not see how you can expect something else while the layout need to be updated each time a line is erased, taking into account that the software don't know when you will release the backspace key.

For me this behavior is not a bug, only a constraint of the wysiwyg feature of Writer combined with this suboptimal procedure for deleting a long part of text and the key repetition frequency of the keyboard.

Best regards.
JBF
Comment 11 Buovjaga 2023-01-02 11:45:26 UTC
I don't see the problem in 7.1 or the latest.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cbf30153a5c776e6d1ee26f2f83c8f77503eceb9
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 2 January 2023
Comment 12 Telesto 2023-01-02 14:13:57 UTC
Created attachment 184445 [details]
Example file

1. Open the attached file
2. Go to multi-page view. Zoom in/out until you see 3 pages a row
3. Go to page 57; they page with yellow marking. The page will be at the right side of the multipage view. 
4. Select the yellow highlighted text & press backspace 

Expected: The text below the yellow highlighted text moves up (green highlighted). No change in layout of the previous pages. The green highlighted text is at the right page in multi-page view.

Actual: a new page is added for content above (haven't checked what actually changes)
Comment 13 Telesto 2023-01-02 14:14:25 UTC Comment hidden (obsolete)
Comment 14 Telesto 2023-01-02 14:15:28 UTC
Created attachment 184447 [details]
Gif screencast
Comment 15 Buovjaga 2023-01-02 16:38:18 UTC
(In reply to Telesto from comment #12)
> Created attachment 184445 [details]
> Example file
> 
> 1. Open the attached file
> 2. Go to multi-page view. Zoom in/out until you see 3 pages a row
> 3. Go to page 57; they page with yellow marking. The page will be at the
> right side of the multipage view. 
> 4. Select the yellow highlighted text & press backspace 
> 
> Expected: The text below the yellow highlighted text moves up (green
> highlighted). No change in layout of the previous pages. The green
> highlighted text is at the right page in multi-page view.
> 
> Actual: a new page is added for content above (haven't checked what actually
> changes)

I suppose so as the page count stays 86. Probably exporting PDFs and diffing them would help tell what changes.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b844605b101bd752c8a0c07117b5d3faf2b2aebb
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 22 December 2022