Bug 155890 - Changing page direction misplaces end-of-paragraph pilcrow
Summary: Changing page direction misplaces end-of-paragraph pilcrow
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.4.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
 
Reported: 2023-06-17 07:51 UTC by Eyal Rozenberg
Modified: 2023-07-06 04:53 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Pilcrow placement before and after page style direction change (104.52 KB, image/png)
2023-06-17 07:51 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2023-06-17 07:51:47 UTC
Created attachment 187956 [details]
Pilcrow placement before and after page style direction change

Reproduction: Enable formatting marks display, then follow the same instructions in 

https://bugs.documentfoundation.org/show_bug.cgi?id=135350#c3

(in a nutshell: Switch a new LTR-pages document's default page style to be RTL)

Expected result:

End-of-paragraph pilcrow appears at left edge of text area, inside the text area.

Actual result:

End-of-paragraph pilcrow appears at right edge of text area, outside the text area.

(Also, the buggy behavior in 135350.)

Build info:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: qt5 (qfont+xcb)
Locale: he-IL (en_IL); UI: en-US
Calc: threaded
Comment 1 Eyal Rozenberg 2023-06-17 07:55:56 UTC
Notes:

* This happens both if you change the direction via Format | Page Style or by editing the default page style.

* If you force the paragraph direction to LTR (like it should have anyway) then  to RTL, the pilcrow appears within the text area.
Comment 2 ysui2022 2023-07-06 04:38:45 UTC
I reproduced the bug successfully.The pilcrow went out of the border.

Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: CL threaded