Bug 105248 - disappearing frame in cut/paste in multi-section document
Summary: disappearing frame in cut/paste in multi-section document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste Page-Layout-Columns
  Show dependency treegraph
 
Reported: 2017-01-11 02:27 UTC by john
Modified: 2024-10-06 00:08 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
example to demonstrate the bug (9.95 KB, application/vnd.oasis.opendocument.text)
2017-01-11 02:27 UTC, john
Details

Note You need to log in before you can comment on or make changes to this bug.
Description john 2017-01-11 02:27:21 UTC
Created attachment 130309 [details]
example to demonstrate the bug

This document has a first section in portrait (with PARA 1 and PARA 2), followed by a section break, then a one-page section in landscape (with some content in a frame FRAME 1), then another section break followed by section in portrait orientation (with PARA 3-PARA 5. There is a frame FRAME 2 linked to PARA 3. This document is attached as 'test1.odt'.

To show the bug, load test1.odt and attempt to cut PARA 3 and PARA 4 together from the last page and paste them immediately below PARA 2

When doing this, note that 'FRAME 1' disappears completely from view. And note that frame 'FRAME 1' is now duplicated, even though we previously cut it from the last page. ALSO note that there are now THREE section breaks in the document where the were previously only two. The document is now corrupted and cannot be restored with the use of the undo option.

If only PARA 4 is cut/pasted to the first page, there is no problem.

If FRAME 2 is re-anchored to PARA 4 and PARA 4 is cut/pasted to the first page, there is also no problem.

Hence the problem appears to arise as a result of cut/pasting from part-way through PARA 3, deliberately excluding the first few characters. So it is not a question of selecting/deselecting the first character after the section break.

This is a major bug causing corruption of documents.

Additionally, please not that PAGE 3 and the second section break are both rendered in the wrong place on the screen when zooming the view to show all three pages at once (zoom= 60% on my 1920x1200 monitor)
Comment 1 Xisco Faulí 2017-01-11 16:02:36 UTC
Confirmed in 

Version: 5.4.0.0.alpha0+
Build ID: 9a30cb2161506e003f14592d83075ab9d30516c1
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and 

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 john 2017-03-09 22:56:08 UTC
Please could the importance of this bug be increased? Bug leads to corruption of documents during normal use of LibreOffice.
Comment 3 john 2017-08-26 07:41:44 UTC
Please update to CONFIRMED (as noted above by Xisco).

Also, I can confirm that the bug is also present in 5.3.1.2 on Ubuntu 15.04 64-bit.
Comment 4 john 2018-07-10 01:49:41 UTC
I can confirm that this bug is still presented in 5.4.6.2.

Please update this bug to CONFIRMED??
Comment 5 john 2018-09-13 23:15:10 UTC
I confirm this bug is still present in version 6.0.3.2.
Comment 6 QA Administrators 2019-09-15 02:47:36 UTC Comment hidden (obsolete)
Comment 7 john 2019-09-19 14:15:58 UTC
There is still a bug here in LO 6.2.6.2 on Ubuntu 18.04. However the behaviour does seem to have changed somewhat. But it's still completely not correct, all over the place. The implementation of frames and sections in Writer documents definitely needs some more careful testing.

Version: 6.2.6.2
Build ID: 1:6.2.6-0ubuntu0.18.04.1~lo1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 8 Telesto 2020-08-02 11:59:30 UTC
Still reproducible

CTRL+A
CTRL+C
CTRL+N
CTRL+V produces also improper result
Comment 9 QA Administrators 2022-08-03 03:30:32 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2024-08-03 03:15:43 UTC Comment hidden (obsolete)
Comment 11 john 2024-10-06 00:08:38 UTC
This bug is still present. And Telesto's quick check of copying all next and pasting into a new document is a good quick check of the messed up behaviour.

Version: 7.6.7.2 (X86_64) / LibreOffice Community
Build ID: 60(Build:2)
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.7-0ubuntu0.20.04.1~lo1
Calc: threaded