[Libreoffice-bugs] [Bug 143734] New: Calc randomly changes the encoding of "inverted commas" aka "quotation marks"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 4 22:07:30 UTC 2021


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

            Bug ID: 143734
           Summary: Calc randomly changes the encoding of "inverted
                    commas" aka "quotation marks"
           Product: LibreOffice
           Version: 7.0.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: nafik76032 at ncstorms.com

Description:
Calc in LibreOffice version 7.0.6.2 on Ubuntu 20.10.  UK keyboard and locale.

Symptom:
This is a text-entry or saving problem.
I save some commands for my Linux server in a spreadsheet which contains the "
character on most lines.  Bizarrely, random lines will have only the opening "
changed to a different encoding of " which looks like this: “ (curlier but not
set to italic).  It can sometimes be re-entered correctly and then changes
again upon saving.

Use case and effect:
This broke a lot of my recovery scripts (when I paste into terminal with
Shift+Ctrl+v) and led me on a merry goose chase including reinstalling my OS
because I thought rsync was broken because it just gave a nondescript > prompt.
 I also worried I might be hacked.  I recovered my system from live USB.  It
took an eagle eye to see this imperceptible change in a wall of code.

Many sysadmins keep short scripts in a spreadsheet.  This happens for a couple
of years now and I never figured out what was going on.

Corollary:
I have also had problems in Geany where _ underscores went missing and that
made debugging my mail server a nightmare.  I don't know if the two are
related, but these past couple of years I have seen more occurrences of text
entry getting mangled by programs.  This email is disposable so will only check
messages within bugzilla.  That bug has a workaround of changing the default
font.

Thank you for all your great efforts in making this software.  Filed with the
intention to help.

Steps to Reproduce:
1. Make a calc sheet with a one-liner rsync script for example containing an
opening and closing "" e.g. for a directory that has to escape spaces in the
path.
2. Save the file.
3. Reopen the file and try copying and pasting the cell with the script.  Edit
it for a new path and then edit another cell.  Witness the opening " change in
the original.

Actual Results:
Random lines will have the opening " change to curly “ which breaks a shell
when you try to paste and run the script.

Expected Results:
My " should stay as " and not be changed to “.


Reproducible: Sometimes


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Please fix this.  Posted in detail in case someone else faced this totally
random behaviour and scratched their head for hours.

Version: 7.0.6.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 1:7.0.6-0ubuntu0.20.10.1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210804/46671c91/attachment.htm>


More information about the Libreoffice-bugs mailing list