Bug 63563 - EDITING: Apostrophe ( ' ) text enforcer shows inside the cell
Summary: EDITING: Apostrophe ( ' ) text enforcer shows inside the cell
Status: CLOSED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.0.2.2 release
Hardware: Other All
: high major
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-15 16:27 UTC by crazyskeggy
Modified: 2013-06-15 21:59 UTC (History)
3 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 crazyskeggy 2013-04-15 16:27:34 UTC
Problem description: 
When placing an apostrophe at the beginning of a cell where text or an = sign follows it, the apostrophe should be hidden.

Steps to reproduce:
1. Open a new calc document
2. Type the following into three different cells (minus speech marks): "'123" "'=SUM(1,2)" and "'text"

Actual behavior:
You see this cell layout:

123
'=SUM(1,2)
'text

Expected behavior:
You see this:

123
=SUM(1,2)
text

              
Operating System: Windows XP
Version: 4.0.2.2 release
Comment 1 Cor Nouws 2013-04-15 19:13:09 UTC
seems related to the locale.

I have a Dutch locale, thus a comma as decimal searator

Type    ->  Visible result
'77,7       77,7
'77.7       '77.7
Comment 2 crazyskeggy 2013-04-15 19:25:52 UTC
Well, I'm on en-GB here, so not sure about that. Should this go on as an MAB or is it not that critical?
Comment 3 crazyskeggy 2013-04-15 19:41:47 UTC
I cannot reproduce on Windows XP SP3 32-bit with LibO 4.0.2.2
Comment 4 Eike Rathke 2013-04-16 10:38:27 UTC
Not a bug. The ' text enforcer preceding numeric data leads to the numeric data being entered as text instead of number. With any other data it is part of the data.
Comment 5 henryc 2013-04-16 13:06:11 UTC
I think it's a bug or it's a change not documented. In any spreadsheet (Excel and OpenOffice for example) by prefixing the character ' into a cell means that you are going to insert a text field in that cell. There are some examples where you might need to write a text field like
=321 (not a formula)
JAN  (not the month that is affected by the sort lists)
Comment 6 Eike Rathke 2013-04-17 08:45:06 UTC
(In reply to comment #5)
> I think it's a bug or it's a change not documented.

What change?
Comment 7 henryc 2013-04-17 13:24:43 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > I think it's a bug or it's a change not documented.
> 
> What change?

I'm sorry, I'm not English. I wanted to say something like a "new" undocumented feature.
Comment 8 Eike Rathke 2013-06-15 21:59:45 UTC
But that is no change, there is no new undocumented feature, it works like this since ages and was the same in OOo.