Bug 155151 - something similar to a page break appears in the document and text disappears
Summary: something similar to a page break appears in the document and text disappears
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-04 20:54 UTC by Nyoo
Modified: 2024-04-13 20:38 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
photo of the page break look-alike (6.96 KB, image/png)
2023-05-04 20:54 UTC, Nyoo
Details
A document that shows this bug sorry it's so big (220.82 KB, application/vnd.oasis.opendocument.text)
2024-01-23 20:32 UTC, bathsheba
Details
an example of copy-paste op that triggers this bug (159.65 KB, image/jpeg)
2024-01-23 20:40 UTC, bathsheba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nyoo 2023-05-04 20:54:35 UTC
Created attachment 187093 [details]
photo of the page break look-alike

unpredictable shape appears in the document, that looks similar to a page break, and certain amount of text above and below it, DISAPPEAR. If I save the corrupt document in plain text (.txt) the text reappears. that "page break look-alike", cannot be removed. it appears at random location in the document, when in .odt format. see the attached photo of that weird "page break look-alike".
I'm using:
Ubuntu 22.04
I had the snap version of Libreoffice.
I used the flatpak version.
I used the downloaded version from the LIBREOFFICE website.
the problem remains. and in one file, the text was completely gone. I lost 2 days worth of notes.
Comment 1 m_a_riosv 2023-05-05 12:57:08 UTC
Maybe Menu/View/Whitespace
Comment 2 Robert Großkopf 2023-05-05 17:12:55 UTC
Could also be: Outline folding mode
https://wiki.documentfoundation.org/ReleaseNotes/7.1
but: There must be experimental features been enabled.
Comment 3 Nyoo 2023-05-08 22:21:12 UTC
(In reply to m.a.riosv from comment #1)
> Maybe Menu/View/Whitespace

you are right, Menu/View/Show whitespace   affects it's shape. it changes from the broad band shape to a line shape. and hovering the cursor over it, changes the cursor to a rectangle with arrows sticking out from the top and bottom of the rectangle; although cursor does NOT do anything, other than change shape once you hover over that thing. 
My problem with it, is that it shows up at random locations in the document, when closing and opening the doc, will show it at different lines. 
and MY WORRY, is when text above and below that crazy line (wide band) DISAPPEARS.
Comment 4 Nyoo 2023-05-08 22:23:35 UTC
(In reply to Robert Großkopf from comment #2)
> Could also be: Outline folding mode
> https://wiki.documentfoundation.org/ReleaseNotes/7.1
> but: There must be experimental features been enabled.

Please elaborate. I looked into the "outline folding mode" and played with it. at least what I found, had no effect on that "malicious" weird line (see my comment above, re: why malicious)
Comment 5 QA Administrators 2023-05-09 03:17:01 UTC
[Automated Action] NeedInfo-To-Unconfirmed
Comment 6 Joseph Walton 2023-06-02 14:11:41 UTC
Thank you for reporting the bug. I can not reproduce the bug in: 
LibreOffice Version 7.5.3.2 (X86_64)or 7.6.0.0.aplha1+ (X86_64)
Kernel: 5.19
OS: Ubuntu 22.04.2

The steps I followed were:
1. Launched Writer 
2. Created a new .odt document
3. Added some text over two pages
4. Toggled 'Menu/View/Whitespace' on and off
5. Scrolled up and down

No strange shape appeared.

Can you confirm that the above steps produce the bug for you?
Perhaps you can attach the document you are using?
Comment 7 Joseph Walton 2023-06-02 14:15:01 UTC
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 8 QA Administrators 2024-01-11 03:13:10 UTC Comment hidden (obsolete)
Comment 9 bathsheba 2024-01-11 03:26:32 UTC
Please don't close this! I see this problem constantly. I'm busy this second but I will try to get you better info later.

I'm in Windows. I see this problem most frequently when pasting text. I think it's related to outline folding because the rogue "page break" often appears above a header, and I can sometimes get rid of it by folding or unfolding that header.

I don't have a simple test case, I see this in documents which have many levels of headers and have seen many changes and lots of folding and unfolding. It starts after I've been editing for some days. Once it has started, every paste triggers it.
Comment 10 bathsheba 2024-01-23 20:32:12 UTC
Created attachment 192128 [details]
A document that shows this bug sorry it's so big
Comment 11 bathsheba 2024-01-23 20:40:36 UTC
Created attachment 192129 [details]
an example of copy-paste op that triggers this bug
Comment 12 Robert Großkopf 2024-01-24 10:40:31 UTC
Have tested the attached document with
 
Version: 24.2.0.2 (X86_64) / LibreOffice Community
Build ID: b1fd3a6f0759c6f806568e15c957f97194bbec8f
CPU threads: 6; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

Couldn't see any buggy behavior.
Note: The document is set to View → Web. So no page break would be shown at all …
Comment 13 bathsheba 2024-01-24 19:12:31 UTC
And yet, per my screenshot, I see one. Or something that looks like one.

I'm sorry that my document doesn't show this for you, but it is truly something that I see dozens of times each day. Hundreds, if I'm doing a lot of edits.
Comment 14 Armondo Lopez 2024-04-13 20:38:38 UTC
I was unable to reproduce this behavior in 

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

or

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a2265e8faa099d9652efd12392c2877c2df1d1eb
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded