| Summary: | Special characters not appearing as autotext replacements | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Anthony <congressman9000> |
| Component: | LibreOffice | Assignee: | Andreas Heinisch <andreas.heinisch> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | andreas.heinisch, buzea.bogdan, jumbo4444 |
| Priority: | medium | ||
| Version: | 7.5.5.2 release | ||
| Hardware: | All | ||
| OS: | Windows (All) | ||
| Whiteboard: | target:24.8.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 108663 | ||
| Attachments: | Auto Text Dialog Preview with ? Shortcut | ||
|
Description
Anthony
2023-08-14 16:47:22 UTC
1. Preview panel only shows a preview of already existing autotext entries. It could be reasonable to add a preview for a new (edited) entry - but possibly not easy, because it uses existing autotext *documents* IIRC, and there's no document (yet) for a new entry... 2. Did you forget to *add* the new entry, using Autotext button -> New? 1 You are correct and I misstated what I was experiencing. It is only after re-opening the autotext window to see the contents of this particular autotext function that I see that it's body is blank in the pane. 2 Good question but no, I did not forget. I do the "Autotext button -> New?" step, close the auto text window, type the autotext char+ F3 and nothing is inserted (to be super-clear, the character that is triggering the autotext is erased, and no text is inserted in it's place). (In reply to Anthony from comment #2) > 2 Good question but no, I did not forget. I do the "Autotext button -> > New?" step, close the auto text window, type the autotext char+ F3 and > nothing is inserted (to be super-clear, the character that is triggering the > autotext is erased, and no text is inserted in it's place). Which char did you use? The inverted question-mark (¿), triggered by ?-F3 (In reply to Anthony from comment #4) > ?-F3 Repro. I would suggest to not use AutoText for such replacement but instead AutoCorrect replacement table: 1. Copy your special character ¿ 2. Tools > AutoCorrect > AutoCorrect options > Replace 3. Replace = a unique code, such as __? for instance 4. With = paste your special character ¿ 5. Click New, OK Now you can type the chosen code and a space and the special character is inserted. This is not a resolution of the bug but an easy workaround Created attachment 191865 [details]
Auto Text Dialog Preview with ? Shortcut
It seems that it depends on the questionmark. Using another character as shortcut works correctly.
If you use the questionmark an exception occurs: core/package/source/xstor/xstorage.cxx:2312: Unexpected entry name syntax. at C:/cygwin/home/andre/lode/dev/core/package/source/xstor/xstorage.cxx:2312 Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a03a9236b01437b573cb68112959b9403418e11b tdf#156769 - Escape the question mark in the storage name It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |