Bug 139978 - Forced autocorrections of formulas to fractions as text, on paste into Calc
Summary: Forced autocorrections of formulas to fractions as text, on paste into Calc
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-28 17:18 UTC by davidpbrown
Modified: 2022-06-01 09:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davidpbrown 2021-01-28 17:18:36 UTC
Description:
With autocorrect options disabled, as much as is possible, pasting of formulas still seems to force fractions and breaks the formulas - and in a way that cannot be easily worked around.

Steps to Reproduce:
Paste from a plain text file "​=1/2" to any cell on a new file, with the format already then number:general

Actual Results:
see then "​=1⁄2" is made with a Unicode fraction slash U+2044 and not the usual solidus U+002F
and some zero width space U+200B has been introduced as a prefix, which stops it as a formula.



Expected Results:
expected formula to action as 0.5 or worst case default as text but not badly translated.


Reproducible: Always


User Profile Reset: No



Additional Info:
Repeat this with 
"
​=0+1⁄2
=9+1/2
"
to see the oddity also that =9+1/2 works - so "=0+" is not a workaround.

-------------------
[Information automatically included from LibreOffice]
Locale: en-US
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 m_a_riosv 2021-01-29 18:45:06 UTC
Copying from you comment and pasting in a new spreadsheet works fine for me.
Version: 7.0.5.0.0+ (x64)
Build ID: e29387a749edb1bf39ca2b558099964da42b3a4b
CPU threads: 4; OS: Windows 10.0 Build 21296; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 86c8c775bbefe333d684e12c99855a3c1de68051
CPU threads: 4; OS: Windows 10.0 Build 21296; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL

Please detail your steps to paste, if using paste unformatted text or any other way.
Comment 2 davidpbrown 2021-01-29 19:59:41 UTC
Copying from my comment =1/2 and pasting in a new spreadsheet, does reproduce this 7.0.4.2
Perhaps is and obvious bug already fixed, if you're on a later version.

I do the [Help].[Check for updates]="LibreOffice 7.0 is up to date."
and I'd rather stick to stable versions.
Comment 3 QA Administrators 2021-01-30 04:18:23 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2021-12-02 12:57:06 UTC
Not reproduced.

Arch Linux 64-bit
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: ac21d937690c1ef995df22e11384e0fab226472e
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 2 December 2021

Please copy and paste here the contents of your Help - About. This allows us to know more about your system.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 5 QA Administrators 2022-06-01 03:38:19 UTC Comment hidden (obsolete)
Comment 6 davidpbrown 2022-06-01 07:48:14 UTC
Closing - seems fixed