Bug 144078 - Stylist: Assertion when deleting user-defined paragraph styles
Summary: Stylist: Assertion when deleting user-defined paragraph styles
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2021-08-25 09:05 UTC by Heiko Tietze
Modified: 2022-07-08 03:04 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast (4.41 MB, image/gif)
2021-11-09 08:52 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2021-08-25 09:05:24 UTC
When I drag-add a style to the PS list and delete it, the application crashes with

sw/source/core/txtnode/ndtxt.cxx:5257: void SwTextNode::TriggerNodeUpdate(const sw::LegacyModifyHint &): Assertion `dynamic_cast<SwTextFormatColl const*>(static_cast<const SwFormatChg*>(pOldValue)->pChangedFormat)' failed

Happens also per "New from Selection", which interestingly brings up a second file name dialog.

(tested with gtk3 and gen)
Comment 1 Roman Kuznetsov 2021-08-28 18:00:30 UTC
No repro in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4debb7e8cc12563f46d1aaa58afdcb831f21cc83
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL

Linux only?

Heiko please write info from your LibreOffice's Help->About dialog
Comment 2 Heiko Tietze 2021-08-30 08:38:44 UTC
(In reply to Roman Kuznetsov from comment #1)
> No repro in

Requires the latest modifications on Stylist with PS/CS in one text style deck.
Comment 3 Xisco Faulí 2021-11-08 15:21:35 UTC
Hi Heiko,
Do you still reproduce this issue in a master build ?
Comment 4 Heiko Tietze 2021-11-09 08:52:39 UTC
Created attachment 176160 [details]
Screencast

A video is worth a thousand pictures is worth a thousand words...
Comment 5 Heiko Tietze 2021-11-09 08:53:15 UTC
(In reply to Xisco Faulí from comment #3)
> Do you still reproduce this issue in a master build ?

Yes, I do.

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: a75324ccabcf09c0f1bc7a1a43256aa37f0da751
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Dieter 2022-03-10 12:23:30 UTC
Tested with steps from screencast and

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 51fb84829afbc1c0957fd1a489085613ad199f1a
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

An-Kh, have you fixed this issue or are you still working on it (nobody else than Heiko could reproduce it)
Comment 7 Heiko Tietze 2022-03-10 12:48:06 UTC
It's an assertion not a crash and you need debug symbols enabled. Lowering the importance.

Anshu is not working on this topic anymore. Resetting to default.

Repro with 

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 16551052f823cb475bba5297ebf08b6cd3c4fc41
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: gtk3
Locale: de-DE (en_US.UTF-8); UI: en-US
Calc: threaded