Bug 165360 - Writer: Text alignment on the page changes when you edit text
Summary: Writer: Text alignment on the page changes when you edit text
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.7.2 release
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-20 18:04 UTC by Wandering
Modified: 2026-02-06 03:16 UTC (History)
1 user (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 Wandering 2025-02-20 18:04:50 UTC
Description:
In your document, the text is initially aligned to the width. But after you delete some part of a sentence or text fragment, the text on the line where the cursor is placed becomes left-aligned (not the entire paragraph, but only this line).

The situation is almost exactly the same when you paste unformatted text that has been copied from somewhere else. In this case, the last line of the pasted text is not placed in width, but becomes aligned to the left edge.

The problem started in version 24.2.7 and is present in all subsequent versions up to 25.2.0. I did a complete reinstallation and a new profile setup, but the problem persists. Now I've rolled back to version 24.2.6 - this version works correctly, and I don't have this problem.

By the way, there are no such problems on Linux. - Checked.

System:
macOS Sequioa 15.3 & 15.3.1 (Apple M2)

Steps to Reproduce:
1. If delete some part of a sentence or text fragment, the text on the line where the cursor is placed becomes left-aligned (not the entire paragraph, but only this line).

2. When paste unformatted text that has been copied from somewhere else. In this case, the last line of the pasted text is not placed in width, but becomes aligned to the left edge.

Actual Results:
When pasting text from the clipboard, the text must retain the set text placement.

Expected Results:
When pasting text from the clipboard, the text must retain the set text placement.


Reproducible: Sometimes


User Profile Reset: No

Additional Info:
When pasting text from the clipboard, the text must retain the set text placement.
Comment 1 Wandering 2025-02-21 10:08:22 UTC
The reported bugs is also present in Writer of version LibreOffice 25.2.1.
Comment 2 BogdanB 2025-02-21 15:46:09 UTC
Right click on that paragraph and choose Pargraph - Paragraph - Alignment. Here you have Options. You can choose for a justified paragraph to be centered, to be left align, or to be justified.

Waiting for an answer from you if this solved your problem.
---------------
Note: in order to answer, please in email click on bug number, and answer in browser. Do not reply peronally to me. Thanks
Comment 3 Wandering 2025-02-22 16:41:50 UTC
(In reply to BogdanB from comment #2)
> Right click on that paragraph and choose Pargraph - Paragraph - Alignment.
> Here you have Options. You can choose for a justified paragraph to be
> centered, to be left align, or to be justified.

Thank you for trying to help. But this method does not solve the problem.
Comment 4 BogdanB 2025-02-22 18:37:27 UTC
Ok, waiting for others to test on macOS.
Comment 5 Wandering 2025-02-23 07:10:35 UTC
When paste unformatted text that has been copied from somewhere else or delete some part of a sentence or text fragment, pasted or deleted text on the line where the cursor is placed becomes left-aligned (not the entire paragraph, but only this line). Before that, all text was placed in width. But if you press “Enter”, the text (in both cases described above) is immediately aligned to the width.

It is noteworthy that I have now rolled back to version 24.2.6.2. - Everything works correctly on this version only. In all later versions (from 24.2.7 and up to the current beta), as I said, the described problems are present.
Comment 6 meagan.eggert 2025-03-14 17:14:37 UTC
Version 25.2.1.2
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 8; OS: Windows 11 x86_64
UI render: Skia/Raster; VCL: win
Locale: en-US; UI: en-US
Calc: threaded

Have not been able to reproduce bug in Windows version. Text alignment stayed justified after deletions and insertions and pasting from clipboard.
Comment 7 Alec K 2025-07-08 19:03:26 UTC
Thank you for reporting the bug. I can not reproduce the bug in:

Version: 25.2.4.3 (AARCH64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 10; OS: macOS 15.3.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 8 BogdanB 2025-07-09 15:18:28 UTC
Valentyn, thank you for reporting the bug. To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile (<https://wiki.documentfoundation.org/UserProfile>) and
re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 9 QA Administrators 2026-01-06 03:11:25 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2026-02-06 03:16:33 UTC
Dear Wandering,

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