https://bugs.documentfoundation.org/show_bug.cgi?id=172899
--- Comment #13 from MartinPC <[email protected]> --- (In reply to Heiko Tietze from comment #12) > Awesome! You could turn this into a toggle by reading the current state. Actually, I had previously tried to explain in a draft reply to you that I'm NOT REMOTELY A CODER and that the macros were the result of a fairly involved "conversation" between Google Gemini and me. Unfortunately, I attached the macro code block (to make sure I could) BEFORE submitting my reply, and I discovered that as a result, my reply got dumped without warning or chance of recovery. I'm tempted to say that that's just bad UI design, but live and learn… Anyway, I just realized that the cute little status messages posted by the macros actually prevent any other information that would normally be displayed in LibreOffice Writer's statusbar — page numbering, word and character counts, current page style, current language, a weird "selection-type" button I'm not familiar with, a group of Page Layout buttons, and what looks like a zoom bar — from being displayed at all. Everything to the right of the status message is blank. Also it prevents the "Save" progress bar from completing and disappearing. It doesn't prevent the SAVE ITSELF from completing; it just prevents the PROGRESS BAR from completing, and it just stays there, almost complete, until you close the document. Bizarrely, it is still possible to right-click on the status message, where the page numbering used to be, and pull up a list of bookmarks you can jumps to (a feature I use a lot). This is not tolerable, so for the time being I have commented out the ShowStatusFeedback(True) line in the SoftHyphensOn() subroutine the ' ShowStatusFeedback(False) line in the SoftHyphensOff() subroutine by prepending a straight single quote (') in front of them. I MAY ask Gemini to continue working on the status messages, so I'm not ready to comment or strip out related helper code. But I'm not enthusiastic about it. While Gemini is certainly thousands of times faster and more knowledgeable about LibreOffice than I will ever be, it is NOT an encyclopedically knowledgeable EXPERT, and it can take NUMEROUS iterations of a macro followed by testing and feedback followed by more iterations before it delivers REASONABLY bugfree, working results. Speaking of which, I actually BEGAN the conversation by requesting THREE macros: an ON macro, an OFF macro, and a TOGGLE ON/OFF macro. Gemini never got the TOGGLE macro to work, precisely because none of the multiple methods it tried were able to reliably read the current state of "Soft hyphens". Worse, every other iteration Gemini tried broke the ON and OFF macros. In the end, I threw in the towel and decided to live with two separate macros. By the way, can I edit my previous attachment, or do I have to make a NEW attachment with the ShowStatusFeedback lines commented out and all mention of status messages in the associated comment omitted? I'm not seeing any edit buttons. -- You are receiving this mail because: You are the assignee for the bug.
