Bug 160801 - Writer crash when use clear formatting after insert page break (macOS only)
Summary: Writer crash when use clear formatting after insert page break (macOS only)
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.2.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 07:37 UTC by vika
Modified: 2024-05-09 11:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example of a file (text is in Slovene) (12.04 KB, application/vnd.oasis.opendocument.text)
2024-04-24 07:40 UTC, vika
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vika 2024-04-24 07:37:33 UTC
Description:
I have a Table of Content and headings with outline numbers. Heading are formatted with page break before. I insert a page staying with a cursor after a heading number. It is normally that in a new page paragraph style is Heading 1. I try to clear formatting what cause the program crash.
I found that if I use Default paragraph style Writer does not crash. The same if do not use heading numbers.

Steps to Reproduce:
1.insert page break before a numbered Heading 1
2.clear formatting in a new page (I do not like that style Heading 1 is used)


Actual Results:
Writer crashed. If I use Default paragraph style instead of Clear formatting, it does not crash. It also not crash if the headings are not numbered. 

Expected Results:
Clear formatting should work.


Reproducible: Always


User Profile Reset: No

Additional Info:
The style of heading formatting (numbers, outline numbers, dots..) does not matter.
Comment 1 vika 2024-04-24 07:40:18 UTC
Created attachment 193831 [details]
example of a file (text is in Slovene)

Translation: Naslov = Heading, Kazalo vsebine = Table of Content; text is dummy text.
Comment 2 Dieter 2024-05-09 10:22:41 UTC
(In reply to vika from comment #0)
> Steps to Reproduce:
> 1.insert page break before a numbered Heading 1
> 2.clear formatting in a new page (I do not like that style Heading 1 is used)

I don't get a crash with

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
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

So perhaps only a Mac issue. But please your steps of "clear formatting"
=> NEEDINFO
Comment 3 vika 2024-05-09 11:23:22 UTC
It is true. I have tested on Win machine, it is only a Mac issue :-(

Steps:
1. Insert page break before Heading 1
2. Clear formatting on the new page.
On Mac crash, on WIN does not.