Bug 93626 - FORMATTING: Figure caption jumps from one page to another without editing
Summary: FORMATTING: Figure caption jumps from one page to another without editing
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.5.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-24 14:58 UTC by Milan Bouchet-Valat
Modified: 2016-09-11 16:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Bouchet-Valat 2015-08-24 14:58:19 UTC
I have a document here in which the caption of a figure, placed above it, jumps from one page to another without even editing the document. When opening it, the caption is on the page before the document, contrary to what the "Keep with following paragraph" setting should imply. But if I run the print preview, the caption jumps to the next page, right above the figure, as it should be; this change persists after going out of print preview.

I've seen this behaviour in other circumstances, but this time the document is relatively small. I can send it to you privately for investigation.
Comment 1 Joel Madero 2015-08-24 15:35:47 UTC
We need a test document. Marking as NEEDINFO - once you attach a test document set to UNCONFIRMED. Thanks
Comment 2 Milan Bouchet-Valat 2015-08-24 18:41:09 UTC
As I said, the document is private, I can't attach it here. But I can send it privately to anybody who wants to give a look.
Comment 3 Joel Madero 2015-08-24 18:46:09 UTC
This bug is unworkable without a test case - we do not accept private documents. I suggest you anonymize the document and then attach. Throwing back into NEEDINFO and it will be closed after 7 months as INVALID without an attachment.

https://wiki.documentfoundation.org/QA/BugReport/Attachments
Comment 4 Milan Bouchet-Valat 2015-08-24 19:55:59 UTC
I can't anonymize the document, that's the whole point. Formatting issues with figures are very tricky to reproduce. Changing a single line makes the bug disappear, and even copying the contents of the document to a new one is enough to make it go away. I've tried the anonymizing macro, I've tried removing parts of the document, and I failed. So I'm afraid that's a "take it or leave it", unfortunately. And I suspect this is quite a common dilemma for all bugs that appear only in complex documents.

I've already sent documents privately to LO developers several times, and it generally ended up with crashes being fixed quite fast. The wiki page at https://wiki.documentfoundation.org/QA/BugReport/Attachments never says private e-mails go against the policy:
"It is always better to include an attachment on a bug report if at all possible"
"Developers are typically unwilling to accept personal emails that contain confidential information." (notice the "typically")

So I don't see where's the problem. I'm not asking anybody to accept my private e-mail, and I'm not asking anybody to sign a non-disclosure agreement -- the file isn't really sensitive, it's just that I can't put this draft online. I'm merely proposing that anybody willing to receive the document, now or later, just asks. I can also put it on a public FTP for a few days, if you really prefer.
Comment 5 Joel Madero 2015-08-24 21:11:52 UTC
Stop messing with the status - this bug cannot move forward without a test document. The "big deal" is that we require documents to be shared and available. I don't get why you can't anonymize it (just replace letters with random letters to make it non-readable...pretty straight forward). Again moving to NEEDINFO.
Comment 6 Yousuf Philips (jay) (retired) 2015-08-24 21:27:01 UTC
Hi Milan,

You can privately email the document to me so i can confirm the bug and then i will change the status setting accordingly.
Comment 7 Milan Bouchet-Valat 2015-08-24 21:28:14 UTC
The document contains many pages, and almost any change made the bug disappear. Replacing letters makes the length of lines change, and a line more or less is quite a radical difference as regards this kind of formatting weirdness.

Anyway, forget about it for now. The test document I had saved no longer exhibits the bug. I'm not sure whether that's because I upgraded to LO 4.4.5.2-2.fc22 (together with other packages) this morning, or because it's random, but it's gone. How ironic, given that a few days ago I had a hard time getting rid of it.

I'll report back if I'm able to reproduce the bug again, but I must say I'm used to a much more welcoming LO community. Please try to understand that not all bugs are easy to reproduce with simple test cases.
Comment 8 Milan Bouchet-Valat 2015-08-24 21:29:15 UTC
(In reply to Yousuf (Jay) Philips from comment #6)
> Hi Milan,
> 
> You can privately email the document to me so i can confirm the bug and then
> i will change the status setting accordingly.
Ah, thanks! This encourages me to find a new reliable test case. I'll report back.
Comment 9 Cor Nouws 2015-09-08 12:40:09 UTC
(In reply to Milan Bouchet-Valat from comment #8)
> Ah, thanks! This encourages me to find a new reliable test case. I'll report
> back.

I see the behaviour too, sometimes, as one of the abnormalities in Writer and anchored object (prolly even have an issue for it :) - oh not exactly, it is bug 72758)

So a test document: great :)
Comment 10 Xisco Faulí 2016-09-11 13:56:30 UTC Comment hidden (obsolete)
Comment 11 Cor Nouws 2016-09-11 15:53:51 UTC
Hi Milan: please reopen if you can give the information asked for.

OTOH, there are probably similar bugreports, so it may get attention anyway.
(NB there is some follow text at one of the tabs of an image..)
thanks - Cor
Comment 12 Milan Bouchet-Valat 2016-09-11 16:54:52 UTC
Unfortunately, I haven't been able to reproduce the bug...