Bug 170531 - LO crashes when DoubleClickEvent executes ThisComponent.close
Summary: LO crashes when DoubleClickEvent executes ThisComponent.close
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
25.8.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-29 16:54 UTC by joachim
Modified: 2026-01-31 10:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: acc77439-5277-4a00-afdf-ba35c3310a22


Attachments
Calc-spreadsheet with Basic-Macro and DoubleClick-Event and Control-Button assigned to Macro (126.25 KB, application/vnd.oasis.opendocument.spreadsheet)
2026-01-29 16:54 UTC, joachim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joachim 2026-01-29 16:54:35 UTC
Created attachment 205260 [details]
Calc-spreadsheet with Basic-Macro and DoubleClick-Event and Control-Button assigned to Macro

Calc Spreadsheet
Basic-Macro code:
   sub Close1
   ThisComponent.Close(true)
   End sub
Sheeet-Event DoubleClick is assigned to sub Close1

LO crashes on DoubleClick-event (after closing the document)

LO works in correct manner, if sub Close1 is assigned to a Control-Button.

Attached is a Calc-spreadsheet explaining the problem,
   containing the described Basic-Macro
   with Sheet-Event DoubleClick assigned to the sub Close1
   with a Contril-Button assigned to the sub Close1

A crash-report with ID acc77439-5277-4a00-afdf-ba35c3310a22 exists in Bugzilla.

By the way: The Link shown in the Crash Report window in Calc does not work.