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

            Bug ID: 161352
           Summary: Macro recording: all .uno:ChangeCase* command uses are
                    written as rem comment lines
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: x86-64 (AMD64)
               URL: https://forum.openoffice.org/en/forum/viewtopic.php?t=
                    38378
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 64314

Steps:
1. Turn macro recording on in Tools > Options > LibreOffice > Advanced
2. Add sample text to Writer document
3. Tools > Macros > Record macros
4. Select some text, run the six case options from the Format > Text submenu
5. Stop the recording, look at recorded macro

All the following UNO commands are commented out as "rem" lines:

rem dispatcher.executeDispatch(document, ".uno:ChangeCaseToUpper", "", 0,
Array())
rem dispatcher.executeDispatch(document, ".uno:ChangeCaseToLower", "", 0,
Array())
rem dispatcher.executeDispatch(document, ".uno:ChangeCaseRotateCase", "", 0,
Array())
rem dispatcher.executeDispatch(document, ".uno:ChangeCaseToSentenceCase", "",
0, Array())
rem dispatcher.executeDispatch(document, ".uno:ChangeCaseToTitleCase", "", 0,
Array())
rem dispatcher.executeDispatch(document, ".uno:ChangeCaseToToggleCase", "", 0,
Array())

None of the other commands in that submenu are commented out in a recorded
macro.

Bug 38955's fix might help:
https://cgit.freedesktop.org/libreoffice/calc/commit/?id=e6ffcc9e12567dbff3197d3976339aab59456107

Repro in recent daily build:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 6084962f93efc005b6827edceae12d3170f17ccd
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

...as well as OOo 3.3 -> inherited.

(Thanks L.J. for pointing that out on Mastodon!)


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=64314
[Bug 64314] [META] Macro recording issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to