Bug 241035 - Can't copy multiple cells to a text editor or text field
Summary: Can't copy multiple cells to a text editor or text field
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: 2.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 19:43 UTC by Todd
Modified: 2011-07-30 14:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd 2010-06-07 19:43:46 UTC
Version:           2.2 (using Devel) 
OS:                Linux

When I select a single cell and hit copy, then paste it into a basic text editor or text field (like a line edit field), it works properly and pastes the text from the cell.  But if I select multiple cells it does not work at all.  If I copy a row, I seem to just get a newline.  If I copy multiple rows I get nothing at all.



Reproducible: Always

Steps to Reproduce:
Put some text in one or more cells.  It doesn't matter how many.  Then select the that cell and at least one other cell.  The additional cell or cells can have values of their own or be empty, it doesn't matter.  Then hit copy (keyboard shortcut, toolbar button, or right-click menu).  Then go to either a basic text editor (like kate) or a program with a line edit (like the address bar of a web browser).  Paste what you just copied.



Actual Results:  
If the data you copied was a single row and you pasted it into a text editor, you should get an additional blank line.  If it was more than one row or you paste it into a line edit field, you should get nothing.

Expected Results:  
You should get the text you copied, probably as tab-separated values.
Comment 1 Tomas Mecir 2011-07-30 14:13:56 UTC
Git commit 7bc5e78e8ff09a446eb06a748ba8392a9c88e170 by Tomas Mecir.
Committed on 30/07/2011 at 16:11.
Pushed by mecir into branch 'master'.

- Optimise the common case of the regionintersecting function - should speed up range functions.

- Make plaintext copying work correctly

BUG: 241035

M  +12   -13   tables/commands/CopyCommand.cpp
M  +31   -1    tables/Region.cpp

http://commits.kde.org/calligra/7bc5e78e8ff09a446eb06a748ba8392a9c88e170