Bug 67249 - Copying an email address and pasting it in a plain text editor shows U+0001 instead of the email address, also when referring the cell in a formula expression
Summary: Copying an email address and pasting it in a plain text editor shows U+0001 i...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1.0.1 rc
Hardware: Other All
: medium normal
Assignee: Eike Rathke
URL:
Whiteboard: target:4.2.0 target:4.1.1
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-07-24 10:59 UTC by Alberto Ruiz
Modified: 2013-07-25 16:41 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 Alberto Ruiz 2013-07-24 10:59:13 UTC
To reproduce in calc:

1) write an email address in a cell
2) Hit Enter
3) Select the cell
4) Ctrl+C
5) Open gedit/notepad or another plain text editor
6) Ctrl+V
Comment 1 Cor Nouws 2013-07-24 11:22:40 UTC
Hi Alberto,

thanks for the report. I can confirm this.
(Would not be surprised if there is a relation with bug 67094 )

Regards,
Cor
Comment 2 Cor Nouws 2013-07-24 11:24:24 UTC
See the problem already in 4.1.0 beta1
Comment 3 Eike Rathke 2013-07-24 16:36:01 UTC
(In reply to comment #1)
> (Would not be surprised if there is a relation with bug 67094 )

That's something completely different.
Comment 4 Eike Rathke 2013-07-24 19:01:33 UTC
Spotted the likely cause, working on a fix.
Comment 5 Eike Rathke 2013-07-24 19:18:39 UTC
Btw, same result when referring the cell in a formula, e.g.
A1: foo@example.org
A2: =A1
Result appears to be empty but is in fact U+0001 that is not displayed.
A3: =UNICODE(A2)
results in 1
Comment 6 Commit Notification 2013-07-25 14:20:21 UTC
Eike Rathke committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=1ecdc7aaf661e97a33cf521f553481d79cd26de2

resolved fdo#67249 use ScFieldEditEngine to resolve field content



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 7 Eike Rathke 2013-07-25 15:14:59 UTC
Pending review for 4-1 as https://gerrit.libreoffice.org/5106
Comment 8 Cor Nouws 2013-07-25 15:52:11 UTC
(In reply to comment #3)

> That's something completely different.

But luckily my false thought gave you the opportunity to step in quickly ;)
Comment 9 Commit Notification 2013-07-25 16:07:58 UTC
Eike Rathke committed a patch related to this issue.
It has been pushed to "libreoffice-4-1":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=8a42cb382fc1fff6ed0c57b33762080cdc0bd5a4&h=libreoffice-4-1

resolved fdo#67249 use ScFieldEditEngine to resolve field content


It will be available in LibreOffice 4.1.1.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.