Bug 160754 - Footnote indent is broken in this example
Summary: Footnote indent is broken in this example
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: DOCX-Footnote-Endnote
  Show dependency treegraph
 
Reported: 2024-04-20 21:36 UTC by Dan
Modified: 2024-05-07 21:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file that has the problem (17.39 KB, application/vnd.oasis.opendocument.text)
2024-04-20 21:40 UTC, Dan
Details
A 2007 version of a .docx created by OmniPage Pro version 18 (12.76 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-05-05 22:39 UTC, Dan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2024-04-20 21:36:40 UTC
Description:
Can't change the indent on the footnotes in this example document.

Steps to Reproduce:
1.Open the example file
2.Try to change the indent for the footnote
3.You can't

Actual Results:
Play with the example file and tell me how to change the indent in the footnote!

Expected Results:
Modifying the footnote style's paragraph indentation should make changes to the footnote's indent. It does not.

Caveat: the file was orginally created in OmniPage Pro 18. The output of OmniPro is a 2007 .docx file. I import styles from a .odt file that has what I need for my doctoral work and everything formats / changes as I expect EXCEPT for the footnote indentation. I think I have exhausted every option to know what is going on and I am asking for someone else to look and see if they can see what is wrong.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 Dan 2024-04-20 21:40:38 UTC
Created attachment 193774 [details]
Example file that has the problem

This file resists changing the footnote indentation and I don't know why. 

Again, for reference, the file was originally created in OmniPage Pro 18 and then I imported styles from a sample document built from a new .odt document. All attempts to adjust the indentation in the footnote fails. My testing says that it is something that OmniPage did, but I can't find what needs to change to make footnote indentation work again...
Comment 2 Dieter 2024-05-05 15:56:56 UTC
(In reply to Dan from comment #0)
> Caveat: the file was orginally created in OmniPage Pro 18. The output of
> OmniPro is a 2007 .docx file. I import styles from a .odt file that has what
> I need for my doctoral work and everything formats / changes as I expect
> EXCEPT for the footnote indentation. I think I have exhausted every option
> to know what is going on and I am asking for someone else to look and see if
> they can see what is wrong.

Very special case I think. Could you please attach .docx-file?
=> NEEDINFO

Additional information
I don't know why this happens, but if you place curser behind footnote number and press backspace you get the correct indent
Comment 3 Dan 2024-05-05 22:39:55 UTC
Created attachment 193976 [details]
A 2007 version of a .docx created by OmniPage Pro version 18

This is a freshly made file output from OmniPage 18 Pro without any changes. Try adding a footnote -- the indenting is wrong and I haven't been able to fix it. Someone asked for a raw sample file -- here it is.
Comment 4 QA Administrators 2024-05-06 03:15:15 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2024-05-07 05:23:40 UTC
(In reply to Dan from comment #1)
> Again, for reference, the file was originally created in OmniPage Pro 18 and
> then I imported styles from a sample document built from a new .odt
> document. All attempts to adjust the indentation in the footnote fails. My
> testing says that it is something that OmniPage did, but I can't find what
> needs to change to make footnote indentation work again...
- How did you import the styles?
- What exactly do you expect to see? Maybe also attaching the "source" ODT (from which your styles are supposed to come from) would help to understand what you are hoping to achieve.

Currently, I see in you example DOCX that:
- the number is left-aligned with the page body and horizontal line separator
- There is no space between the number and the first line of footnote text
- The following lines of the paragraph use a 0.6 cm indentation

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7a895ec4205659038aa95941b65715fed1a3e7be
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

There is indeed a change between 7.6 and 24.2: in 7.6, there is space between the numbering and the text.

I bibisected the change with the linux-64-24.2 repo to build [75beb49a132788db35592b449cc8a3506f50a6fd] which is:

commit 87f11c2961cd4bb8be6bc8f62442a706da0420b7
author	Mike Kaganski  Fri Jan 26 19:03:05 2024 +0600
committer	Michael Stahl 	Tue Jan 30 10:57:39 2024 +0100
tdf#159382: introduce a Word compat flag for hanging footnote number spacing

Mike, can you please clarify if this is expected?
Comment 6 Mike Kaganski 2024-05-07 15:49:03 UTC
Indeed, it is expected and normal; the file has the compatibility flag that tells it to behave as DOCX works: NoGapAfterNoteNumber. Since the file was created by re-saving a DOCX, this is normal.

The problem is that I didn't make the flag shown in Options->Writer->Compatibility (like bug 153138).
Comment 7 Dan 2024-05-07 21:16:46 UTC
So, how can you change the indenting in the footnotes. The system seems to want to let you set indents -- and ignores your efforts...