On Mac OS X, in the Macro Editor IDE when editing BASIC macro code, there is randomly the letter "s" is inserted into the code, causing the code to fail and break in odd ways. This problem does not exist in the main LibreOffice program where you edit real documents, it only exists in the Macro Editor IDE. Root cause: The Macro Editor "SAVE" menu is grayed out if a save is not needed. Only the macro editor grays out the save menu, the main document editors do not gray it out. In my operating system, I have configured the OS X operating system to use a special shortcut key of CTRL-S for Save. This means that if the user reflexively presses CTRL-S to save while in the LibreOffice macro editor, then if a save wasn't needed, the menu is grayed out and the user inserts and S instead of saving. On the next press of CTRL-S after having inserted the "s" into the code, then, the next CTRL-S works because the code has now had a change made to it, and it saves the syntax error of the extra added S into the code. This is extremely annoying and I keep ruining my code, and it makes the macro editor very frustrating. Note: I have not yet tried it with using Command-S (the OS X default) instead of Ctrl-S. I don't know if the same thing happens with Command-S. To aolve the problem, allow the Save menu to stay ungrayed all the time, like the main document editor in the main product does.
PLease write here info from LibreOffice->About dialog
As RequestedL Version: 6.3.4.2 Build ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded
Sorry, why are you using Ctrl-S instead of the default Cmd-S ?
I don't find this behaviour surprising. You have attempted to subvert an OS keyboard shortcut that is recognized by LO and use a custom keyboard shortcut instead. I would be inclined to mark this as NOTABUG. Please test with the default and report back.
I use Ctrl-S because I am a software developer who needs to switch between Mac and Windows constantly during the day. Remapping common key shortcuts is the only way I can remain sane as I switch between the operating systems. I'm trying to use LibreOffice on both platforms, so that I am not chained to Microsoft Office. This issue is one of the sticking points that makes it difficult to make the transition. The ability to remap the keys is not a subversion of the operating system, it is a supported feature built into the Mac OS, designed specifically for situations like this. No other application on the Mac has this problem with Ctrl-S. I can remap Ctrl-S in every other application on the Mac OS, this is the only program that gave me this particular trouble. Command-S doesn't have this issue, true. But even without any key remapping, CTRL-S shouldn't cause the letter S to be typed into the macro editor window no matter what.
I can certainly sympathise with your plight. Many personalised shortcuts are still broken with LO on macOS, unfortunately, and I'm pretty sure this one has come up before in bugzilla (typically I can't find the report now).
Thanks Alex! To be clear, the root of the issue isn't so much about the key remapping. It's about how CTRL-S shouldn't be interpreted as trying to type the letter "S". The main "Writer" program doesn't interpret it this way, so the Macro Editor shouldn't either.
(In reply to tfabris from comment #7) > Thanks Alex! > > To be clear, the root of the issue isn't so much about the key remapping. > > It's about how CTRL-S shouldn't be interpreted as trying to type the letter > "S". The main "Writer" program doesn't interpret it this way, so the Macro > Editor shouldn't either. I tried use Ctrl+S in Writer. It insert "S" letter into document. I think Alex is right. And my opinion that it's notabug. Just use special key ⌘ in macOS instead Ctrl key for all shortcuts and you'll be happy.