Bug 72090 - Header disappears and is unusable/unrestorable if first body content is columns
Summary: Header disappears and is unusable/unrestorable if first body content is columns
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
Keywords: haveBacktrace
Depends on:
Blocks: Writer-Header-Footer Page-Layout-Columns
  Show dependency treegraph
Reported: 2013-11-27 23:20 UTC by Shannon W.
Modified: 2020-07-09 03:42 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

test file with header / colums (7.58 KB, application/vnd.oasis.opendocument.text)
2013-11-28 08:43 UTC, Cor Nouws
example file for header/column crasher/disappearance bug (10.03 KB, application/vnd.oasis.opendocument.text)
2013-11-30 00:55 UTC, Shannon W.
gdbtrace (3.56 KB, application/gzip)
2015-01-15 21:27 UTC, raal
printscreen of freeze (68.73 KB, image/png)
2015-01-15 21:29 UTC, raal

Note You need to log in before you can comment on or make changes to this bug.
Description Shannon W. 2013-11-27 23:20:41 UTC
1. create a new document.  Shortest way to test is to use an envelope size page or other short page.
2. Format -> Page and click Header, turn header on, uncheck Same Content on First Page
3. Type a line into the Header (possibly two lines)
4. Click to begin typing in the main body
5. Format -> Columns  and select two columns
6. Start typing in short lines.
7. Once a new line of typing puts you into the 2nd column, the header disappears, and is completely uneditable, and Undo does not restore it.

Does not occur if one types all content first and then formats a header and columns.  If you do it this way then you can edit the columns all you want and the header stays.
Comment 1 Cor Nouws 2013-11-28 08:42:16 UTC
Hi Shannon,

thanks for the issue. I do not have this problem - will attach a test file: continue typing in there after the last bla bla line to test.

Can you attach your test file?

Comment 2 Cor Nouws 2013-11-28 08:43:05 UTC
Created attachment 89946 [details]
test file with header / colums
Comment 3 Shannon W. 2013-11-30 00:52:45 UTC
It looks like the issue is (perhaps also) triggered by a tab in the Header.  I could not reproduce this today using the above instructions.  It is hard to pin down but I am still able to get it to reliably behave badly very quickly.

One extra thing I would do is type in the header, then tab until the cursor is at the right margin.  typing a few more words you can see it is automatically right-aligned.  Then press return and type a little into the second line of the header.

I was able to get the crash just by backspacing and altering the header all by itself.  However the columns appeared to make the problem occur the other day.

At some point one of two things will happen:  the header will disappear, and/or LibreOffice will crash.  I was going to write up the crasher separately, but ran out of time.  Perhaps they are related anyway.

This is on Windows 7 Home Premium SP1, Intel I5-4430 in case that matters.
Comment 4 Shannon W. 2013-11-30 00:55:08 UTC
Created attachment 90010 [details]
example file for header/column crasher/disappearance bug

This is a starting point for creating the behavior.  As I mentioned in my comment, the appearance of the problem is unpredictable, but it is soon after where I have left off in creating this document.  

Basically I was attempting to format a recipe on a 3x5 index card.  Hope this helps.
Comment 5 QA Administrators 2014-07-08 17:28:50 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2014-11-02 14:53:04 UTC
Unable to reproduce header disappearance or crash.
Shannon: if you can still get it to crash, you could try getting a backtrace:

Tested on Win 7 64-bit Version:
Build ID: b167d1127e1579468a74c4414e7f4f33d9d24122
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-11-02_03:04:44
Comment 7 raal 2015-01-15 21:26:58 UTC
I can reproduce with Version:
Build ID: a272f5b7b30f356418ecf28eb95d066f081d1624
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-01-09_09:50:59
Comment 8 raal 2015-01-15 21:27:18 UTC
Created attachment 112318 [details]
Comment 9 raal 2015-01-15 21:29:35 UTC
Created attachment 112319 [details]
printscreen of freeze

to reproduce write some text and delete some text, then in header delete text, use TAB keys and write text to header on right side
Comment 10 QA Administrators 2016-01-17 20:01:51 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2017-03-06 13:44:32 UTC Comment hidden (obsolete)
Comment 12 Timur 2019-12-10 17:50:15 UTC
This is hardly repeatable bug and no response to QA ping.
So I put it in Needinfo to see if it happens with fresh LO 6.3.3 or master.
Comment 13 QA Administrators 2020-06-08 03:46:13 UTC Comment hidden (obsolete)
Comment 14 QA Administrators 2020-07-09 03:42:39 UTC
Dear Shannon W.,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team