Bug 135657 - After canceling chart insertion twice and inserting third time: Error activating object in a table: General OLE error.
Summary: After canceling chart insertion twice and inserting third time: Error activat...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2020-08-12 09:50 UTC by Telesto
Modified: 2024-09-11 18:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast (754.99 KB, video/mp4)
2020-08-12 09:51 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-08-12 09:50:31 UTC
Description:
Error activating object: General OLE error.

Steps to Reproduce:
1. Insert a table in the header
2. Insert a table with the table picker (2x2)
4. Press Insert chart
5. Cancel the wizard dialog
6. Press Insert chart again

Actual Results:
Error activating object: General OLE error.

Expected Results:
Probably not


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: ru-RU (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-08-12 09:51:02 UTC
Created attachment 164188 [details]
Screencast
Comment 2 Dieter 2020-10-29 21:20:03 UTC
I confirm it with

Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: he-IL (de_DE); UI: en-GB
Calc: threaded

But I can't assess, if this is a bug or not.
Comment 3 Telesto 2020-10-29 21:40:19 UTC
(In reply to Dieter from comment #2)
> I confirm it with
> 
> But I can't assess, if this is a bug or not.
Comment 4 Buovjaga 2020-10-30 14:30:52 UTC
Then let's put it out there for auction regarding assessment
Comment 5 QA Administrators 2022-10-31 03:33:33 UTC Comment hidden (obsolete)
Comment 6 Dieter 2022-11-01 09:15:41 UTC
Situation seems to have canged a bit

Steps
1. Insert with table picker a 2x2 table (bug is not related to table in header)
2. Place cursor in first cell of the table and insert chart with chart icon
3. Press cancel in chart wizard
4. Place cursor in first cell of the table (chart icon is not acive; perhaps intended)
5. Insert -> Chart -> Press cancel in chart wizard
6. Place cursor in first cell of table
7. Insert -> Chart

Actual result:
Error activating object: General OLE error.

Expected result:
No error

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9cd0f4c2d25462feba0ffcbd906c199273821243
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 threaded
Comment 7 Buovjaga 2024-09-11 18:59:13 UTC
(In reply to Telesto from comment #0)
> Description:
> Error activating object: General OLE error.
> 
> Steps to Reproduce:
> 1. Insert a table in the header
> 2. Insert a table with the table picker (2x2)
> 4. Press Insert chart
> 5. Cancel the wizard dialog
> 6. Press Insert chart again

Step 1 is not needed. Second insertion has to be done from menu as toolbar icon was disabled.

Bibisected with linux-64-7.0 to aafea2f2a23203e44adc8c394021b87ac57b74c3
updateModel must remove the SelectionChangeListener from the old controller

The requirement to insert 3 times as mentioned in comment 6 started with feb17e47bc04e2af6b4ecf7202764ce980f83242
tdf#142364 exception thrown during destruction

Even in master, there is still a crash upon closing the document after going through the repro steps.