Bug 167454 - Set line spacing button has an RLTB mode, but Increase and Decrease spacing don't
Summary: Set line spacing button has an RLTB mode, but Increase and Decrease spacing d...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Toolbars Icon-Themes-Code-Language RTL-UI
  Show dependency treegraph
 
Reported: 2025-07-10 21:08 UTC by Eyal Rozenberg
Modified: 2026-03-18 19:32 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 Eyal Rozenberg 2025-07-10 21:08:57 UTC
In Writer:

1. Make sure your toolbar has all three buttons: "Set Paragraph Spacing", "Increase Paragraph Spacing", "Decrease Paragraph Spacing" visible.
2. In Tools > Options > Languages & Locales > General, make sure extended RTL/CTL support is enabled.
2. Create a new document or open an existing one
3. Be on some paragraph of text
4. Switch the direction from RTL to LTR or vice versa, using the keyboard
5. Look at the three buttons from step (1.) as you switch directions

Expected results:
All three buttons' direction flips, i.e. the arrows' position relative to the lines switches from one side to the next.

Actual results:
We see a switch for "Set Paragraph Spacing", but no change for "Increase" nor for "Decrease".
Comment 1 Shreejana 2026-03-18 10:36:32 UTC
I can't reproduce from the latest version 
Can you upload which version you are using 
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 8; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Eyal Rozenberg 2026-03-18 17:44:58 UTC
(In reply to Shreejana from comment #1)
> I can't reproduce from the latest version 

Can't you really? That is, when you switch the paragraph direction, do the "Increase Paragraph Spacing", "Decrease Paragraph Spacing" buttons flip horizontally?

Right now, on a Windows machine, I only have a 25.8 build:

Version: 25.8.4.2 (X86_64)
Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df
CPU threads: 20; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Raster; VCL: win
Locale: en-US (en_IL); UI: en-GB

but I doubt these button icons have been made direction-dependent since last year. Adding Jonathan just in case he has done work on this. Will double-check with a newer 

I tried with both the Colibre and Elementary icon scheme so I don't think it's icon-scheme-specific.
Comment 3 Buovjaga 2026-03-18 19:15:19 UTC
(In reply to Eyal Rozenberg from comment #0)
> 1. Make sure your toolbar has all three buttons: "Set Paragraph Spacing",
> "Increase Paragraph Spacing", "Decrease Paragraph Spacing" visible.

The first one should be "Set Line Spacing".

I confirm that when switching the direction, only the arrows in the icon for "Set Line Spacing" switch to the other side.

Version: 26.2.0.3 (X86_64)
Build ID: 620(Build:3)
CPU threads: 2; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 4 Jonathan Clark 2026-03-18 19:16:34 UTC
Confirmed. Toggling paragraph direction doesn't mirror the increase/decrease paragraph spacing buttons in the toolbar.

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: d881b750bb1cef93a9050f0d59033e4fe0f49296
CPU threads: 32; OS: Linux 6.17; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-CA (en_CA.UTF-8); UI: en-US
Calc: threaded

Fixing this is as easy as changing some numbers in officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu, so it seems like a good easy hack candidate. Are there any others that need to be updated? We could include them all here.