https://bugs.documentfoundation.org/show_bug.cgi?id=151903
Bug ID: 151903
Summary: Crash when using removeChildByIndex of node in
TreeControl
Product: LibreOffice
Version: 7.4.2.3 release
Hardware: x86 (IA32)
OS: macOS (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
In a tree control of a dialog in Base, the removeChildByIndex method causes
Libreoffice to crash (spinning color wheel). Must use 'force quit' and restart
application. The tree data model of the tree control was initiated as
createUnoService("com.sun.star.awt.tree.MutableTreeDataModel"). Occurs
regardless of whether the node to be removed has any children nodes.
Steps to Reproduce:
1. oNode = oDialog.getControl("sTreeControl").getSelection
2. oParentNode = oNode.getParent
3. iIndex = oParentNode.getIndex(oNode)
4. oParentNode.removeChildByIndex(iIndex)
Actual Results:
Crash of Libreoffice (spinning color wheel) at execution of step 4.
Expected Results:
Deletion of selected node.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version - 7.4.2.3
Build - 382eef1f22670f7f4118c8c2dd222ec7ad009daf
Environment - CPU Threads: 4, OS: Mac OS X 12.6
User Interface - UI render: default; vcl: osx
Locale - en-US; UI: en-US
Misc - Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.