https://bugs.freedesktop.org/show_bug.cgi?id=87936

Markus Mohrhard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #15 from Markus Mohrhard <[email protected]> ---
(In reply to Luuk from comment #14)
> (In reply to Robinson Tryon (qubit) from comment #13)
> 
> > I just chatted w/the Calc devs. One problem with adding explicit
> > separators/delimiters here is that they aren't there in the original input.
> > If there is no ocSep token in the token sequence, adding one in might break
> > some other use-cases.
> 
> Nothing should be added because there are multiple 'ocSep' characters in the
> pasted string.

There is no ocSep. These are decimal separators in your locale. Change the ','
to ';' and it works as they are the separators in your locale.

> 
> > 
> > In this particular example, the input goes through the formula compiler
> > which means that it is interpreted as normal formula. Making changes at that
> > level is very tricky, and has a high possibility of inadvertently
> > introducing a number of regressions.
> > 
> 
> The input should not go through the formula compiler because there are
> multiple 'ocSep' characters in the pasted string.
> 
> I think it should be pasted as 'text'. (no changes to the pasted text!)

Just stop with that "paste" stuff. This has nothing to do with pasting. You get
the same result if you type that character sequence. As soon as we start to
parse that formula this goes wrong.

After thinking about it even more I think that it is actual the correct
behavior so I will close that bug. Don't use the decimal separator in a formula
string unless you want the stuff being parsed as decimal number. There is
nothing wrong with how we parse the formula.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to