Bug 134166 - Page style direction change not immediately applied to toolbar direction buttons
Summary: Page style direction change not immediately applied to toolbar direction buttons
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: RTL-CTL RTL-UI
  Show dependency treegraph
 
Reported: 2020-06-20 10:31 UTC by Eyal Rozenberg
Modified: 2022-10-31 08:32 UTC (History)
3 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 2020-06-20 10:31:22 UTC
Reproduction:

(I'm using LO writer with a Hebrew locale and English UI, not sure if that matters.)

1. Create a new document.
2. Sanity check: your paragraph style should be Default Paragraph Style; your paragraph style's direction should be inherit (i.e. "use superordinate object settings"); your page style should be Default Page Style.
3. Enter one word in an RTL language and another in an LTR language, e.g. "שלום Hello" (without the parentheses).
4. Place the cursor within that first paragraph.
5. Sanity check: Toolbar direction buttons have the same direction pressed as the Default Page Style's direction setting.
6. Switch the Default Page Style's direction setting (i.e. if it was LTR make it RTL and vice-versa)

Result: 

* Word order is switched - indicating that the paragraph style has switched.
* Toolbar direction buttons unchanged! Same button is pressed as was before.
* If you re-place your cursor (e.g. click somewhere else within that first paragraph, direction buttons get updated to correct setting.



PS - This bug made me mistakenly believe that inherited-paragraph-direction was not inherited from the page style settings... (bug 133816).
Comment 1 Buovjaga 2020-10-30 13:25:46 UTC
Reproduced

Arch Linux 64-bit
Version: 7.1.0.0.alpha1+
Build ID: 1a4ae360d06ae300a8fd5482b3b3a86dc021750d
CPU threads: 8; OS: Linux 5.9; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 30 October 2020
Comment 2 Buovjaga 2020-10-30 13:30:53 UTC
Same problem in 4.4.7, 3.3.0 (Win 10)
Comment 3 QA Administrators 2022-10-31 03:33:24 UTC Comment hidden (obsolete)
Comment 4 Eyal Rozenberg 2022-10-31 08:32:14 UTC
Bug still manifests with:

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2486d99c6053af1414117faac2c0db18c0d344c4
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US