Bug 88987 - Copying text from within a Calc cell omits URLs
Summary: Copying text from within a Calc cell omits URLs
Status: RESOLVED DUPLICATE of bug 82719
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2015-01-31 18:44 UTC by Lehmeier
Modified: 2015-12-15 11:03 UTC (History)
4 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 Lehmeier 2015-01-31 18:44:02 UTC
Good day!

I have a problem in Calc with entering text.
When I try to copy an email address from one cell to another cell as it gets.
Also, the use of an email address in the text enem not possible. it will not appear.
Comment 1 raal 2015-01-31 19:17:04 UTC
I can confirm with Version: 4.5.0.0.alpha0+
Build ID: 60143f4f7bc50054dcef923218b8c7c3bc154933
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-01-21_04:58:34

steps to reproduce
 - write email address into cell, form example aa@aa.com
 - double click on cell and select this address; copy ctrl+c
 - click on another cell
 - paste ; ctrl+v

actual results 
 e-mail address doesn't appear
expected results
 e-mail address copied

works correct in LO 3.5 -> regression
Comment 2 m_a_riosv 2015-01-31 21:46:12 UTC
Seems that works pasting with paste-special [Shift+Ctrl+V] selecting unformatted text. At least is an easy workaround.
Comment 3 tmacalp 2015-01-31 22:38:12 UTC
Bibisected:
 1efd4fa8897d1c45ae8a92b4cb5d74049cc7dec8 is the first bad commit
commit 1efd4fa8897d1c45ae8a92b4cb5d74049cc7dec8
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date:   Sat Oct 18 06:47:56 2014 +0000

    source-hash-0d55277947fbc2f92fb9fe40dcfa804dc619c37a
    
    commit 0d55277947fbc2f92fb9fe40dcfa804dc619c37a
    Author:     Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
    AuthorDate: Sun Jun 29 20:15:50 2014 +0200
    Commit:     Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
    CommitDate: Tue Jul 1 09:11:33 2014 +0200
    
        LODroid: cleanup
    
        Change-Id: I3c2b156c6ed5c6a27ac845481150150812eef1ec

:100644 100644 9175649a432c48063d0a6677bbcf98bec57b120d dfb919049ad61631d365f9038e78ea6a9bd2057b M	ccache.log
:100644 100644 ec7186e7691e26fc8b8f65886cec7b1e99444780 a9084aa481645c85bc8e09936010199b7ee524de M	commitmsg
:100644 100644 0a031d6808382f09f1cbd8933e8590fcf3c3a99b f5c919ded771e0566a1a7ec9fbfcd59a2863e972 M	make.log
:040000 040000 413fdc559df56dbb0be9fa4d204aee4763757c07 08cb282a79a428e5cbb828c9a1a84a2808d3dc66 M	opt

$ git bisect log
git bisect start 'latest' 'oldest'
# good: [5d0dfb8e62ae61a240f8313c594d4560e7c8e048] source-hash-0c6cd530de13f80795881f61064f1bf1dcc4ea81
git bisect good 5d0dfb8e62ae61a240f8313c594d4560e7c8e048
# bad: [7dfacd0b8bd828331d74c0f79de6e8924bc4e6a5] source-hash-f93ce4f7eb90093d0ea3115d0a1c614612676dbd
git bisect bad 7dfacd0b8bd828331d74c0f79de6e8924bc4e6a5
# bad: [1a63057f6378db7c6b8af1171b7b140f7583f246] source-hash-59f84b4a2c082382767f12e0c7a06a3f0b52e721
git bisect bad 1a63057f6378db7c6b8af1171b7b140f7583f246
# good: [3787e4f82e47eaf4fa454afdca671272e50f875b] source-hash-0e09134a4a4cbb0639fc586c560c6fb2765487be
git bisect good 3787e4f82e47eaf4fa454afdca671272e50f875b
# bad: [13c63ebe51bd9151757981f75b62271c00a47bf1] source-hash-5ccb510ef7dd6688b86038b37563583f64107936
git bisect bad 13c63ebe51bd9151757981f75b62271c00a47bf1
# good: [c6f882c644d407425898f336d5395e4e9c2ba8e3] source-hash-2b9ad2ef6bf904a8c2ec94e58644e8a7f7a36ae3
git bisect good c6f882c644d407425898f336d5395e4e9c2ba8e3
# bad: [1efd4fa8897d1c45ae8a92b4cb5d74049cc7dec8] source-hash-0d55277947fbc2f92fb9fe40dcfa804dc619c37a
git bisect bad 1efd4fa8897d1c45ae8a92b4cb5d74049cc7dec8
# good: [357fc7f532c3c0194204a53fba56f1a5143f423c] source-hash-f90eb33a268bdcd1c52aea5670a58267b0907096
git bisect good 357fc7f532c3c0194204a53fba56f1a5143f423c
# first bad commit: [1efd4fa8897d1c45ae8a92b4cb5d74049cc7dec8] source-hash-0d55277947fbc2f92fb9fe40dcfa804dc619c37a
Comment 4 Matthew Francis 2015-02-01 07:24:21 UTC
The issue seems to have been introduced with the below commit.

Adding Cc: to matteo.campanelli@gmail.com; Could you possibly take a look at this? Thanks

(Updating title - this applies to all URLs, not just email addresses. Note also that it is the cell content, not the entire cell that must be copied to reproduce; pasting into gedit suggests that the URL has been replaced with a single U+0001)


commit 139ca8f26419d4b3e4f478ef8ff7536176c54f1c
Author: matteocam <matteo.campanelli@gmail.com>
Date:   Sat May 31 01:09:50 2014 -0400

    Added EE_CHAR_BKGCOLOR
    
    Change-Id: If11271f4b3b8f9ab67961206856938046ea2a416
    (cherry picked from commit c2580813426a58cd2ab22efacec9d28423201562)
Comment 5 Matteo Campanelli 2015-02-09 03:22:24 UTC
(In reply to Matthew Francis from comment #4)
> pasting into gedit suggests that the URL has been replaced with a
> single U+0001)

I tried this and it did actually paste the email on gedit.
Can you confirm me this occurred when trying to copy aa@aa.com selecting only the cell content?
Comment 6 Matthew Francis 2015-02-09 03:50:55 UTC
(In reply to Matteo Campanelli from comment #5)
> I tried this and it did actually paste the email on gedit.
> Can you confirm me this occurred when trying to copy aa@aa.com selecting
> only the cell content?

Apologies, I wasn't clear enough before.

1. Type aa@aa.com into cell A1
2. Copy the content of A1 and paste into A2 (paste is visually blank)
3. Copy A2 (cell or content, doesn't matter which)
4. Paste in gedit

-> U+0001 is pasted
(Same result for "A aa@aa.com B" -> "A U+0001 B")
Comment 7 Katarina Behrens 2015-03-03 15:23:48 UTC

*** This bug has been marked as a duplicate of bug 82719 ***
Comment 8 Robinson Tryon (qubit) 2015-12-15 11:03:18 UTC
Migrating Whiteboard tags to Keywords: (bibisected)
[NinjaEdit]