Bug 154289 - WRITER: Enabling outline folding disables character style application
Summary: WRITER: Enabling outline folding disables character style application
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-20 14:02 UTC by ajlittoz
Modified: 2023-10-12 06:38 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 ajlittoz 2023-03-20 14:02:21 UTC
Version: 7.4.6.2
Build ID: 40(Build:2)
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded

Fedora 37 with KDE Plasma desktop

Enabling outline folding causes character styles to have no effect though the various icons in toolbar are highlighted as if the effects occurred.

Steps to reproduce:

- open a blank document
- lorem + F3
- apply Strong Emphasis to some word => word turns bold as expected
- Tools>Customize, LibreOffice Writer>View
- tick Show outline-folding buttons
- apply Strong Emphasis to some other word => no effect
Button B is highlighted as if the style had been effective. Style inspector reports style has been applied but if you move the cursor, even inside styled word, character style disappears from inspector. Previous style application is unaffected.
- disable the folding setting
- apply Strong Emphasis to yet another word => word turns bold as expected
first word remains bold, second word remains without bold

Enabling outline folding seems to disable later character style applications. Paragraph style applications are unaffected. Looking at .fodt version of document, no <text:span …> for character styles are recorded while outline folding is enabled.

No attachment as creating the mishap is straightforward.
Comment 1 ajlittoz 2023-03-21 08:40:58 UTC
Erratum: in the above procedure, read "Tools>OPTIONS, …" (not Customize)
Comment 2 Dieter 2023-04-05 08:27:41 UTC
Can't confirm with

Version: 7.5.2.1 (X86_64) / LibreOffice Community
Build ID: e8bf3b441b8370f8440b0339fd9490765a8d57ca
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Please retest with actual version of LO. Is bug still present there?
=> NEEDINFO
Comment 3 Jim Raykowski 2023-04-05 22:25:51 UTC
I don't repro with current master build:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0de30e55b325b06354ae6a21d388261caef15134
CPU threads: 2; OS: Linux 5.19; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

I think the patch done for bug 151521 also fixed this bug.
Comment 4 QA Administrators 2023-10-03 03:16:29 UTC Comment hidden (obsolete)
Comment 5 ajlittoz 2023-10-03 08:04:12 UTC
Can no longer reproduce the bug in 7.5.6.2

Report can be closed as RESOLVED, but which substatus?
Comment 6 Dieter 2023-10-12 06:38:47 UTC
(In reply to ajlittoz from comment #5)
> Can no longer reproduce the bug in 7.5.6.2
> 
> Report can be closed as RESOLVED, but which substatus?

I would say RESOLVED WORKSFORME