Bug 163796 - Beanshell macros disappear in Customize dialog Keyboard tab Function list when their library container is the same name as a BASIC macro library container
Summary: Beanshell macros disappear in Customize dialog Keyboard tab Function list whe...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Jim Raykowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Beanshell-Editor
  Show dependency treegraph
 
Reported: 2024-11-07 08:58 UTC by Jim Raykowski
Modified: 2024-12-05 21:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
demonstration of the bug (637.02 KB, video/x-matroska)
2024-11-07 08:58 UTC, Jim Raykowski
Details
expected results (630.40 KB, video/x-matroska)
2024-11-07 09:00 UTC, Jim Raykowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Raykowski 2024-11-07 08:58:32 UTC
Created attachment 197470 [details]
demonstration of the bug

I have only seen this for Beanshell macros. Likely it happens when JavaScript, Java, and Python macros are in the same location container and have the same library name as a BASIC macro.

Please see the attached video that demonstrates the bug.

I will upload another video showing expected results.
Comment 1 Jim Raykowski 2024-11-07 09:00:53 UTC
Created attachment 197471 [details]
expected results

Demonstration of expected results.
Comment 2 Jim Raykowski 2024-12-05 21:52:50 UTC
A fix for this was included with the patch for Bug 120658 - Reworking of dialogues Organize macros (make from 5 existing only one).

For reference to the change made for this ticket to be set as 'Resolved Fixed' please see:

https://gerrit.libreoffice.org/c/core/+/176254/36/cui/source/customize/cfgutil.cxx

The conditional statement 'if (!m_xTreeView->iter_has_child(*xIter))' on line 887 is removed.