Summary: | `Macro Selector` should only show macros to Run which are “not Private” and have “no arguments passed” | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Óvári <ovari123> |
Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | himajin100000 |
Priority: | medium | ||
Version: | 7.3.4.2 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Attachments: |
Macros.xls
MS Excel Macro Window screenshot LO Calc Macro Selector Window screenshot |
Description
Óvári
2022-06-24 22:10:01 UTC
Created attachment 180953 [details]
Macros.xls
MS Excel spreadsheet with 3 functions:
1. Private
2. With passed argument(s)
3. Public and no passed arguments
Created attachment 180954 [details]
MS Excel Macro Window screenshot
MS Excel only displays 1 macro which can be run, i.e. the public macro with no passed arguments.
Clicking `Run` produces no error.
Created attachment 180955 [details]
LO Calc Macro Selector Window screenshot
LO Calc displays 3 macro which can be run.
The `Private` macro can be run, which is wrong
The `Passed Argument` macro can be run, which produces an error.
Perhaps this issue should be changed from request for enhancement (RFE) to bug?
What do you think?
Thank you
https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/macrodlg.cxx?r=499ecbf3#494 https://opengrok.libreoffice.org/xref/core/include/basic/sbxdef.hxx?r=de81c254#147 https://opengrok.libreoffice.org/xref/core/include/basic/sbxcore.hxx?r=0afb2b63#112 https://opengrok.libreoffice.org/xref/core/basic/source/comp/codegen.cxx?r=5200a736#353 |