Bug 169787 - [26.2] Ctrl + Shift changes horizontal alignment
Summary: [26.2] Ctrl + Shift changes horizontal alignment
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Paragraph-Alignment CTL
  Show dependency treegraph
 
Reported: 2025-12-02 09:28 UTC by nobu
Modified: 2026-01-29 05:45 UTC (History)
2 users (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 nobu 2025-12-02 09:28:49 UTC
Description:
Ctrl + Shift cancels the right alignment setting.

Steps to Reproduce:
1. Open new Writer.
2. Insert "AAA" and Enter.
3. Move Current Cursor to Line of "AAA". 
4. Set the paragraph for right alignment.
5. Press and release Ctrl and Shift at the same time.

Actual Results:
6. The paragraph will have a left-justified setting (probably the default setting).

Expected Results:
6. No setting is affected by pressing Ctrl + Shift.


Reproducible: Always


User Profile Reset: No

Additional Info:

Reproducible
[2025-12-02]
Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Reproducible
[2025-10-13]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d60ff8c8bd4e3ebf8f84f53448ead3c838332ea9
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Reproducible
[2025-11-29]
Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: cf56ab4c9e29cb076c3f986a75ade58d997cb43c
CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded

===

Not reproducible
[2025-09-17]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d48fddcd2014c1366766b3785f8b533f8cb545c7
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Not reproducible
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded
Comment 1 Takenori Yasuda 2025-12-02 12:06:41 UTC
Reproduced.
Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo
https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb103-1-TDF/2025-12-02_03.04.04/


Steps to Reproduce can be made simpler.
1. Set the paragraph for right alignment.
2. Ctrl+Shift(Left).

Note:
Ctrl+Shift(Right) has changed the writing direction from "left -> right" to "right -> left".
Comment 2 Takenori Yasuda 2025-12-02 15:56:58 UTC
It might not be "cancel right alignment", but rather "force left horizontal writing".

When checking the Style Inspector after pressing Ctrl+Shift (Left), the "Paragraph Direct Formatting" shows the following properties:
- Para Auto Writing Mode = False
- Writing Mode = 0
- Para Adjust = 0

With these present, even if the Page Style changes the writing direction, left horizontal writing is maintained. Without them, the paragraph follows the default settings.

Similarly, Ctrl+Shift (Right) might mean "force right horizontal writing". In that case, the properties are:
- Para Auto Writing Mode = False
- Writing Mode = 1
- Para Adjust = 1
Comment 3 nutka 2025-12-02 16:19:19 UTC
(In reply to Takenori Yasuda from comment #2)
> It might not be "cancel right alignment", but rather "force left horizontal
> writing".

See the information provided in Bug 120615
("Ctrl+LShift, Ctrl+RShift not setting direction in Impress"),
inter alia

"In LO Writer, like in MS Office, pressing Ctrl+LShift sets the paragraph direction to LTR, and pressiong Ctrl+RShift sets it to RTL."
Comment 4 Takenori Yasuda 2025-12-03 01:43:10 UTC
Reproduced.
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo

Menu > Options > Languages and Locales > General > Default Languages for Documents > Complex text layout: ON


(In reply to nutka from comment #3)
> "In LO Writer, like in MS Office, pressing Ctrl+LShift sets the paragraph
> direction to LTR, and pressiong Ctrl+RShift sets it to RTL."
Based on the circumstantial evidence, this might be the case. That’s how it appears to me now.
Comment 5 nutka 2025-12-03 09:46:34 UTC
Reproducible with LibreOffice 3.3.0.4 and OpenOffice.org 3.3.0 (on Windows).

Therefore the Version field should read: "Inherited From OOo" or the like.
Comment 6 nobu 2026-01-27 09:28:59 UTC
Reproducible
[2026-01-26]
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded
Comment 7 BogdanB 2026-01-28 19:53:50 UTC
nobu:
Not reproducible
Version: 25.8.3.2 (X86_64)

Takenori:
Reproduced.
Version: 25.8.3.2 (X86_64)

nutka
Reproducible with LibreOffice 3.3.0.4

nobu and takenori, could you test with an older version to be sure it is not a regression? Based on nutka observation...
Comment 8 nobu 2026-01-28 20:42:15 UTC
(In reply to BogdanB from comment #7)
> nobu:
> Not reproducible
> Version: 25.8.3.2 (X86_64)

Linux-OS on Virtual-box

Not reproducible
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3
Comment 9 nobu 2026-01-28 20:58:48 UTC
When searching only for the title, these two commits might be related, but both appear to be about macOS, so they may not be relevant.

https://git.libreoffice.org/core/+/ed45cdaef3d2807d0b9d6a4c08da375fc72024a6%5E%21

https://git.libreoffice.org/core/+/beafc69eaca9324f669555679fe9569a0e77f4d6%5E%21
Comment 10 Takenori Yasuda 2026-01-29 01:39:47 UTC
(In reply to BogdanB from comment #7)
> Takenori:
> Reproduced.
Menu > Options > Languages and Locales > General > Default Languages for Documents
- Complex text layout = OFF: Not reproduced
- Complex text layout = ON: Reproduced


Tested with (in Safe mode):
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 8; OS: Windows 11 X86_64 (build 26200); UI render: default; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded

Version: 5.4.7.2
Build ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU threads: 8; OS: Windows 6.2; UI render: default; 
Locale: ja-JP (ja_JP); Calc: group