Description: After clicking a style in the Styles sidebar, the selection immediately changes back to the style under the cursor in the document. I cannot edit a style unless it is already used. Steps to Reproduce: 1. Start a blank document 2. Type some text and set its style to Heading 1 3. In the Styles sidebar, right-click Heading 2. Actual Results: The selection immediately changes to Heading 1. Expected Results: The selection stays on Heading 2. Reproducible: Always User Profile Reset: Yes Additional Info: OS: Fedora 42, Gnome, gtk3. Occurs in safe mode also. Version: 25.2.3.2 (X86_64) Build ID: 520(Build:2) CPU threads: 8; OS: Linux 6.14; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: en-US Calc: threaded
I can't confirm with Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 3158b14e0b26875300a8098bc117a5e69b76f48f CPU threads: 12; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded So perhaps fixed in latest version or only a Linux issue.
Thank you for reporting the bug. I attempted this in Mint MATE to see if I had a different experience than the previous tester. Unfortunately, I can not reproduce the bug in either of the versions of LibreOffice listed below. In my testing "heading 2" remained selected on right-click and choosing "Edit Style". Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 866538a4aeb30a598a6ede3d1763d898eb1920b0 CPU threads: 2; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Version: 24.2.7.2 (X86_64) / LibreOffice Community Build ID: 420(Build:2) CPU threads: 2; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.4 Calc: threaded
The bug can be reproduced on a live session of Fedora 42 (Gnome). It doesn't occur on Fedora 42 KDE.
Left-clicking selects Heading 2, but after a few seconds it moves to Heading 1. reproduced with Version: 25.2.3.2 (X86_64) / LibreOffice Community Build ID: bbb074479178df812d175f709636b368952c2ce3 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ja-JP (ja_JP.UTF-8); UI: en-US Calc: threaded Reproduced on linux-64-25.2 oldest Not reproduced on linux-64-24.8 master Ubuntu 24.04LTS
I tried with right click - edit style. What I supose is happening: We select Heading 2, but after exisiting the Edit style window, the cursor is in the paragraph with Heading 1, so it is showing where the cursor is in. I can reproduce also on Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 21c5006f2e973c1d62085de29c3f4240dce1a4ff CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded And also in Version: 25.2.3.1 (X86_64) / LibreOffice Community Build ID: d8d1af5f77df955194e52baabe19324532ac8e8b CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
(In reply to BogdanB from comment #5) > I tried with right click - edit style. What I supose is happening: We select > Heading 2, but after exisiting the Edit style window, the cursor is in the > paragraph with Heading 1, so it is showing where the cursor is in. In my case the selection changes verty quickly, before I click on "Edit style...", so the dialog opens for the erroneously selected style.
Bibisected with linux-64-25.8 to 6042e60d69c40d1f307710e60a278cb286d68603 tdf#164745 fix SfxStateCache