https://bugs.documentfoundation.org/show_bug.cgi?id=166225

            Bug ID: 166225
           Summary: Inability to rename a module in the LibreOffice Basic
                    Macros window in LibreOffice 25.2.2.2
           Product: LibreOffice
           Version: 25.2.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
In LibreOffice 25.2.2.2 on LMDE 6 Faye, it is not possible to rename a module
(e.g., "Module1") in the LibreOffice Basic Macros window. This issue, likely
related to the GTK3 interface, hinders macro organization and usability.

Steps to Reproduce:
1. Open LibreOffice from the Start Center (running `libreoffice` in the
terminal).
2. Go to Tools > Macros > Organize Macros > LibreOffice Basic.
3. Expand My Macros > Standard in the tree.
4. Create a new module by clicking New (no naming prompt appears; "Module1" is
created by default).
5. Select Module1 in the tree.
6. Attempt to right-click on Module1 (no context menu appears).
7. Alternatively, select Module1 and click Edit in the toolbar.

Actual Results:
- Right-clicking on Module1 does not display any context menu.
- Clicking Edit with Module1 selected causes the dialog to close immediately
without allowing renaming.
- There is no apparent way to change the name of Module1 to a custom name.
- Double-clicking Module1 expands the branch to show the default macro Main,
which is normal but does not address the issue.

Expected Results:
- Right-clicking on Module1 should display a context menu with a Rename option.
- Selecting Rename should open a text field to change the name (e.g., to
"ExportPDFGlobal").
- Clicking Edit should open the macro editor without closing the dialog, or
allow renaming if that is the intended action.


Reproducible: Always


User Profile Reset: No

Additional Info:
- **LibreOffice Version**: 25.2.2.2
- **Operating System**: LMDE 6 (Faye)
- **Kernel**: Linux 6.1.0-33-amd64
- **Architecture**: x86-64
- **Hardware**: SLIMBOOK HERO-RPL-RTX
- **Firmware**: N.1.03GOS03
- **Graphical Environment**: GTK3 (Cinnamon)
- **Interface Language**: Spanish (es-ES)
- **Command used to start**: `libreoffice` (also tested with
`SAL_USE_VCLPLUGIN=gen libreoffice`, same issue)
- **Additional Configuration**: Standard LMDE 6 Faye interface with Cinnamon.
- **Notes**:
  - The issue is likely related to the GTK3 interface, as the context menu does
not respond.
  - No naming prompt appears when creating a new module, which may be a related
issue.
  - As a temporary workaround, I can use "Module1" without renaming, but this
is suboptimal for macro organization.
  - The issue affects users relying on macro customization.
- **Screenshots** (optional): [Include a screenshot if possible, showing the
Macros window with Module1 selected and the dialog that closes.]
- **Keywords**: macros, module rename, GTK3, BASIC

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to