Bug 133676 - Enhancement: cut a multiple selection on Calc
Summary: Enhancement: cut a multiple selection on Calc
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: lowest enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 155807 158903 (view as bug list)
Depends on:
Blocks: Cut-Copy
  Show dependency treegraph
 
Reported: 2020-06-04 14:57 UTC by clement.leclerc
Modified: 2024-01-11 16:36 UTC (History)
6 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 clement.leclerc 2020-06-04 14:57:22 UTC
Description:
Hi!

I usually use copy/cut and paste lines on Calc and I have this issue when trying to cut multiple unfollowed lines: it just won't work. Copying multiple unfollowed lines works, but cutting them won't, so I have to do the operation as many times as I have lines... That's quite annoying! Could you please consider adding this?

What would be even better is a function (available from the right-clic menu) that cuts the lines and removes the empty lines (or cells?), so we don't have to cut, paste and then go back to where it was before cutting it just to remove the now empty line(s). What do you think?

Thank you guys! Keep up the great work!

Steps to Reproduce:
1. Select multiple unfollowed lines
2. Ctrl+x
3.

Actual Results:
Information message saying it's unavailable.

Expected Results:
Cut!


Reproducible: Always


User Profile Reset: No



Additional Info:
.
Comment 1 BogdanB 2020-06-04 19:39:30 UTC Comment hidden (obsolete)
Comment 2 clement.leclerc 2020-06-04 20:54:13 UTC
This is not an error! This is normal! It's just that I'd like Calc to be able to do it!

To reproduce it, just open a new sheet on Calc, select lines 1 and 3 by clicking on their headers and using ctrl so you don't select line 2. Once only lines 1 and 3 are selected, just press ctrl+x (to cut, right?). You should get a message saying this is not possible... You can also click right to open the menu and you'll see that cutting is not available.

Am I clearer?

Thank you!
Comment 3 BogdanB 2020-06-08 18:30:11 UTC Comment hidden (no-value)
Comment 4 clement.leclerc 2020-06-09 18:58:55 UTC Comment hidden (no-value)
Comment 5 Timur 2020-06-11 13:59:39 UTC
If you have an example of other software doing it, please write. 
Literally this would be WontFix but let's see. 
This looks rather advanced and would more fit to an extension.

(In reply to clement.leclerc from comment #0)
> What would be even better is a function (available from the right-clic menu)
> that cuts the lines and removes the empty lines (or cells?), so we don't
> have to cut, paste and then go back to where it was before cutting it just
> to remove the now empty line(s). What do you think?
LO and MSO, after copy of separate rows, paste as they were, with empty rows. 
MSO needs a 3rd party tool to paste contiguous rows, without empty rows. 
In LO it would be an extension.
Comment 6 clement.leclerc 2020-06-11 18:17:59 UTC Comment hidden (obsolete)
Comment 7 Heiko Tietze 2020-06-14 11:40:27 UTC
Eike, what's the blocker for cutting non-consecutive rows/columns? Probably that you don't know how many rows/columns are left out and paste therefore in case of just copy one after the other. But it could be the same for cut.
Comment 8 Timur 2020-06-14 14:36:35 UTC Comment hidden (obsolete)
Comment 9 clement.leclerc 2020-06-14 22:17:42 UTC
(In reply to Timur from comment #8)
> (In reply to clement.leclerc from comment #6)
> > MSO, though, can CUT and paste separate rows, whereas LO can't.
> I don't remember seeing this. Please make a screencast.

You're right... I was sure I had been doing it with MSO for years, but I asked my father to try this on MSO (which I don't use anymore) and he told me it couldn't. It can copy or hide separate rows, but it can't cut.

Still, is there a reason why it can't cut? It would be a great function to add!

Thanks!
Comment 10 QA Administrators 2020-06-15 03:40:58 UTC Comment hidden (obsolete)
Comment 11 Heiko Tietze 2020-06-15 07:54:41 UTC
NEEDINFO @Eike
Comment 12 Eike Rathke 2020-06-15 16:47:14 UTC
Problem is that likewise for cutting one block, all references pointing to the cut-pasted multi-selections would need to be adjusted, requiring a new implementation that iterates over all cut selections for each formula (cell, conditional format, ...) and reference, instead of adjusting to one single block.
While probably doable it's quite some work.
Comment 13 Heiko Tietze 2020-06-15 17:08:33 UTC
So let's keep the ticket alive and wait with the implementation until user interest match the effort. The common workflow with copy+delete (also macro-izable) is a good alternative until then.
Comment 14 Stéphane Guillou (stragu) 2023-07-21 15:56:10 UTC
*** Bug 155807 has been marked as a duplicate of this bug. ***
Comment 15 Stéphane Guillou (stragu) 2024-01-11 16:36:54 UTC
*** Bug 158903 has been marked as a duplicate of this bug. ***