Bug 161656

Summary: Incorrect page field values
Product: LibreOffice Reporter: Roman <Nfsmobile>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: ilmari.lauhakangas, miguelangelrv, rb.henschel
Priority: medium    
Version: 24.2.4.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: r7.png
r7.docx

Description Roman 2024-06-19 13:41:30 UTC
Description:
EN: Page style: Page – The fields at the Top and Bottom are edited by the footer, not by the user
RU: Стиль страницы: Страница – Поля Сверху, Снизу редактируются колонтитулом, а не пользователем

Steps to Reproduce:
EN: 1. Create a new document In any office software MO,Google, r7, my office, 
2. Turn on the footer and write the text
3. Adjust the page margins on the left - 2 cm; On the right - 1 cm; On top - 2 cm; On the bottom - 2 cm.
4. Save the document and close or download it.
5. Open the document in LOTUS
6. Pry-click – Page style: – Page
RU: 1. Создаём новый документ В любом офисном ПО MO,Google, r7, мой офис, 
2. Включаем колонтитул и пишем текст
3. Настраиваем поля страницы Слева - 2 см; Справа - 1 см; Сверху - 2 см; Снизу - 2 см.
4. Сохраняем документ и закрываем или скачиваем.
5. Открываем докуент в LO
6. Прай клик – Стиль страницы: – Страница 


Actual Results:
EN: After opening the document, the fields Above and below are reflected in LO in a different value set from step 3.
RU: После открытия документа в LO отражаются поля Сверху и снизу в ином значении, заданном от шага 3.


Expected Results:
EN: After opening the document, the fields Above and below are reflected in LO in a different value set from step 3.
RU: После открытия документа в LO отражаются поля Сверху и снизу в ином значении, заданном от шага 3.



Reproducible: Always


User Profile Reset: Yes

Additional Info:
EN: Is it possible for a user to perform an action, and it is interpreted in a different meaning?
RU: Разве можно так чтобы пользователь выполнил действие, а оно интерпретировалось в ином значении?
Comment 1 m_a_riosv 2024-06-19 22:24:31 UTC
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.

Also, please detail what is wrong opening with LO.
Comment 2 Roman 2024-06-20 06:39:57 UTC
Created attachment 194842 [details]
r7.png
Comment 3 Roman 2024-06-20 06:40:49 UTC
Created attachment 194843 [details]
r7.docx
Comment 4 Roman 2024-06-20 06:43:28 UTC
The page fields are not displayed correctly in the page style, they must be equal to the specified value in r7
В стиле страницы неправильно отображаются поля страницы, они должны быть равными заданному значению в r7
Comment 5 Regina Henschel 2024-06-20 10:41:01 UTC
The numerical values are not comparable, because in Word the "margin" measures from page edge to body text area and in LibreOffice the "margin" measures from page edge to start of header area. The values are converted in the import and export filter so that the content is at the same place in Word as in LibreOffice.

The position of the content is the same in Word as in Writer. I have tested it with Microsoft® Word for Microsoft 365 MSO (Version 2405 Build 16.0.17628.20006) 64-bit and LibreOffice Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: aaf2967d74a9a7ba2d28433e1872422ce38b6244
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: default