Bug 154778 - tab stop adjustment in footer/header changes to direct when changing page format
Summary: tab stop adjustment in footer/header changes to direct when changing page format
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 19:30 UTC by goodguy00@zoho.com
Modified: 2023-05-05 16:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file after step 3 and inserting footer again (8.81 KB, application/vnd.oasis.opendocument.text)
2023-04-18 12:10 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description goodguy00@zoho.com 2023-04-12 19:30:22 UTC
Description:
this is probably a conceptual problem.
when changing page format in a document (eg between, lets say printer1 setting and printer2 setting) folowing happens (footer/header are synonymous): the footer gets adjusted for the changed page width
1) objects (like frames attached to para) are separately definable for each page style, hence come correctly.
2) tabstops are adjusted (to whatever hidden formula) to directly formatted tabstops
the problem gets obvious, when you clear all direct formatting in your perfect document relying on styles only (which i heavily use). then your footer layout is destroyed.


Steps to Reproduce:
1. create 2 page-styles with different page widths
2. create a footer under page-style1 with a para-style with tabstops (eg page number left/right aligned)
3. change page-style to page-style2. the footer might come properly (not important).
4. clear all direct formatting.

Actual Results:
as tabstops in the footer get directly formatted, which is (as i highligted in Bug 154776) not obvious, clearing direct formatting destroys footer layout.

Expected Results:
well, complicated. this seems to be a conceptual problem, as of where tabstops are defined. i would propose to have tabstops defined in the page>footer/header settings, so that a defined page-style would own it similarly to frames attached to the footer (which can be different per page-style). this would override the para-tabstop definition. ideally, when editing the para-style while in footer(-mode), this should be grayed out in the para pannel.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 4; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-CH (en_US.UTF-8); UI: en-US
Comment 1 Buovjaga 2023-04-18 12:10:18 UTC
Created attachment 186757 [details]
Example file after step 3 and inserting footer again

I'm having trouble understanding the report. I'm attaching a file that represents the state after step 3. The footer got reset after switching the page style, so I inserted it again and applied the custom paragraph style.

Please advise based on the file.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1ee5ae0eec2d1c673af6b8f18a2c36b4d1e7fb70
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 18 April 2023
Comment 2 goodguy00@zoho.com 2023-05-05 16:11:05 UTC
Buovjaga, thank you very much for looking into it and creating the attached document. i admit, i should have done that.
-> well, in my case, "i" created that direct formatting (a long time ago) and that is, what the page remembered. so, changing the page format does not change anything in the footer, it only remebers direct formatting without showing that anywhere (for that i have the other bug mentioned above).