Bug 143774 - Retain Macro Expanded Folders
Summary: Retain Macro Expanded Folders
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Macro-UI
  Show dependency treegraph
Reported: 2021-08-07 23:23 UTC by flywire
Modified: 2022-12-15 05:20 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description flywire 2021-08-07 23:23:38 UTC
Macros can be run manually by expanding the folders to display the file containing the macro then running it. The next time the Macro selector is opened the folder structure is collapsed again. It is likely the user will want to run a macro in the same file again so it would be more convenient to retain the folder expansion.

Steps to Reproduce:
1.Tools, Macro, Run Macro
2.LibreOffice Macros, Select HelloWorld in Library, Select HelloWorldPython, click Run
3.Repeat Step 1. Note: All folders have been collapsed

Actual Results:
Folders are always collapsed when selecting Macros.

Expected Results:
Retain expansion of folders and currently selected macro so macros in same file can be run without having to renavigate folder structure, just double click Macro Name.

Reproducible: Always

User Profile Reset: No

Additional Info:
Basic Macro selector
Selects the Basic macro to run. Locate the macro by selecting the container, library, module and macro name.

To access this command...
Choose Tools - Macros - Run Macros.

Lists the existing macro containers, Basic macro libraries and Basic modules for the current application and any open documents.

Macro name
Lists the Basic macros for the selected module. Select a macro and click Run.

Comment 1 Nina_Shtygailo 2021-08-10 07:49:20 UTC
no repro in

Version: (x64) / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: CL

According to the description, it seems to me that this does not apply to the bug.
Comment 2 Buovjaga 2022-05-12 10:31:02 UTC

Let's call this an enhancement.

Version: (x64) / LibreOffice Community
Build ID: 172e208e6b0674f42c301c5ee5e280e9138ba1b4
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded Jumbo

Arch Linux 64-bit
Version: / LibreOffice Community
Build ID: 3dcf845691ee55621a9475d7c39cbc63611c3f7a
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
Built on 12 May 2022
Comment 3 flywire 2022-05-12 10:54:02 UTC
Note this functionality is included in APSO (Alternative python script organizer for OpenOffice and LibreOffice) as of https://gitlab.com/jmzambon/apso/-/releases/v1.3.0

> Add two options to keep tree state and to collapse childs on parent collapsing (issue #23).
> Add shortcut Ctrl+Enter (Cmd+Enter on Mac) to collapse node, alongside with left arrow (compare with Enter/right arrow).

Settings are described in https://gitlab.com/jmzambon/apso/-/issues/23