Bug 157674 - Heading Indent lost on Reopening File in Writer
Summary: Heading Indent lost on Reopening File in Writer
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-10 03:47 UTC by Tim Chambers
Modified: 2024-05-11 03:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
File in which the problem occurs (135.60 KB, application/vnd.oasis.opendocument.text)
2023-10-11 03:39 UTC, Tim Chambers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Chambers 2023-10-10 03:47:42 UTC
Description:
I have heading styles set with specific colours, sizes and indent formats. The indent is set to have an indent of 1.5cm before text and of -1.5cm for the first line.

On opening a document or creating a new document from a template, the indenting is lost although heading size and colour are correct. 

Steps to Reproduce:
1. Create a document with heading indents of 1.5cm before text and of -1.5cm for the first line in the heading style. I use a numbered heading
2. Confirm the heading shows a reasonable space between the number and the text.
3. Save and close the document
4. Open the document.

The space between the heading number and text has collapsed.

Actual Results:
The space between the heading number and text has collapsed (indent settings in headings are not honoured on reopening the document).

Settings in the heading style are correct, but the existing headings are not displayed correctly.

Reapplying the heading style does not help. 

Typing the heading text on a new line and applying the heading style works correctly, but the problem reoccurs if the document is closed and reopened.

Expected Results:
Heading indent settings should be displayed correctly when documents are reopened.


Reproducible: Always


User Profile Reset: No

Additional Info:
The templates and documents behaved correctly in earlier versions.

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 12; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.2~rc1-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2023-10-10 12:11:52 UTC
I can't reproduce in:

Version: 7.6.3.0.0+ (X86_64) / LibreOffice Community
Build ID: ba808a28f5ea365eaf8fe5d9c7c91b417633d75f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I tried from a new file, modifying the Heading 1 style and using Tools > Heading numbering > Numbering > Number: 1, 2, 3...

Can you please provide an example file that we can test on?
And also try backing up your user profile and starting with a fresh one to see if that is related: https://wiki.documentfoundation.org/UserProfile
Comment 2 Tim Chambers 2023-10-11 03:39:43 UTC
Created attachment 190134 [details]
File in which the problem occurs
Comment 3 Tim Chambers 2023-10-11 03:40:17 UTC
Problem persists in troubleshoot mode
Comment 4 QA Administrators 2023-10-12 03:17:34 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2023-10-12 10:49:14 UTC
I did the following, still not able to reproduce an issue:

1. Open attachment 190134 [details]
2. Change Heading 1 style to have 1.5 cm indent before text and -1.5 cm indent for first line
3. Save and reload

The indent remains as set before saving.

Can you please test with a new user profile after backing it up?
https://wiki.documentfoundation.org/UserProfile
Comment 6 QA Administrators 2024-04-10 03:13:27 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2024-05-11 03:17:00 UTC
Dear Tim Chambers,

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

MassPing-NeedInfo-FollowUp