Bug 148304 - Using toolbar in Calc to set object line, style, width or colour triggers Assertion `(typeid(*this) == typeid(SfxItemSet)) && "cannot call this on a subclass of SfxItemSet"' failed.
Summary: Using toolbar in Calc to set object line, style, width or colour triggers Ass...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2022-04-01 11:01 UTC by Buovjaga
Modified: 2024-04-07 03:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
GDB trace of crash (10.27 KB, text/plain)
2022-04-01 11:01 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2022-04-01 11:01:41 UTC
Created attachment 179252 [details]
GDB trace of crash

1. Open Calc
2. Create a text box (View - Toolbars - Drawing)
3. From the toolbar with the line properties, try to set any property

Arch Linux 64-bit
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 678446780446ae568ee8b1b814158c54ea5e393f
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 1 April 2022
Comment 1 Aron Budea 2022-04-01 23:06:58 UTC
Confirmed using an LO 7.4.0.0.alpha0+ (2fa01ae540e174452bf5cd763c1464cfe37af076) debug build / Ubuntu.
Nevertheless, since the assert doesn't seem to be OS-specific, setting it to All for now.

Assertion:
svl/source/items/itemset.cxx:1256: SfxItemSet SfxItemSet::CloneAsValue(bool, SfxItemPool*) const: Assertion `(typeid(*this) == typeid(SfxItemSet)) && "cannot call this on a subclass of SfxItemSet"' failed.
Comment 2 Regina Henschel 2022-04-07 23:26:28 UTC
I get the same in Writer, when I try to change the font size of the text in the text box via Font Size drop down of the toolbar. In Draw changing font size of text in the text box works.

I use a debug build Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: e2ba33336f5dfe989db0c287e3cb0d54e868939c
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: threaded
Comment 3 QA Administrators 2024-04-07 03:14:32 UTC
Dear Buovjaga,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug