Bug Hunting Session
Bug 59260 - Can not use selection clipboard across sheets with middle-click
Summary: Can not use selection clipboard across sheets with middle-click
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.6.4.3 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Clipboard
  Show dependency treegraph
 
Reported: 2013-01-11 23:15 UTC by almos
Modified: 2019-09-16 17:11 UTC (History)
0 users

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 almos 2013-01-11 23:15:54 UTC
Selecting something in calc, moving to an other sheet, and middle clicking there doesn't paste anything.
Comment 1 ign_christian 2013-06-10 06:47:18 UTC
Please supply detailed information such as your OS, & how to see that problem.
Then mark this bug as UNCONFIRMED

Perhaps that caused by OS settings ?
Comment 2 almos 2013-06-10 23:34:51 UTC
On linux and any unix-like systems with X window system there are two different clipboards. The normal clipboard, which is usually accessed with ctrl-x ctrl-c and ctrl-v, works in calc as expected. The selection clipboard works as follows: if something is selected with the mouse, it is automatically copied into a buffer, and you can paste it anywhere with middle click (extremely handy). Calc puts the contents of the selected cells into the selection clipboard, which is OK, but it shouldn't clear the clipboard on unselecting. This has a side-effect that you can't paste the selection to an other sheet with the middle click, because the selection is canceled when changing sheets, and the selection clipboard is also cleared.
Comment 3 QA Administrators 2014-02-02 02:07:05 UTC Comment hidden (obsolete)
Comment 4 almos 2014-05-24 21:28:08 UTC
Is there any progress regarding this?
Comment 5 Owen Genat (retired) 2014-08-01 14:13:07 UTC
(In reply to comment #2)
> Calc puts the contents of the selected cells
> into the selection clipboard, which is OK, but it shouldn't clear the
> clipboard on unselecting. This has a side-effect that you can't paste the
> selection to an other sheet with the middle click, because the selection is
> canceled when changing sheets, and the selection clipboard is also cleared.

Confirmed. Status set to NEW. Is there is some sort of GNU/Linux UX precedent for maintaining the copy buffer contents after de-selection?
Comment 6 almos 2014-08-01 22:24:01 UTC
(In reply to comment #5)
> (In reply to comment #2)
> Is there is some sort of GNU/Linux UX
> precedent for maintaining the copy buffer contents after de-selection?

AFAIK LibreOffice is the only application that clears it.
Comment 7 ign_christian 2014-08-02 03:46:26 UTC
Hi.. I can't reproduce issue in Calc with LO 4.2.6.2 - Ubuntu 12.04 x86
But I can reproduce in Writer as reported in Bug 62047.

Please tell exact steps to reproduce issue and reset user profile, also your detailed OS & desktop environment.

Then change status to UNCONFIRMED.

*) Please be noted without sufficient information there is small chance dev will touch this bug
Comment 8 Owen Genat (retired) 2014-08-02 05:31:01 UTC
(In reply to comment #7)
> Please tell exact steps to reproduce issue and reset user profile, also your
> detailed OS & desktop environment.

I'm using Crunchbang 11 x86_64 with Openbox. It is basically Debian 7 x86_64 with a different WM. In Calc v4.2.5.2:

1. In a new sheet enter some data into cells A1, A2, A3.
2. Highlight cells A1:A3.
3. Middle-click elsewhere on the same sheet pastes the highlighted data and highlights the pasted location (thus continued use of middle-click is possible for repeated paste).
4. Add a new sheet (Sheet2).
5. Highlight cells Sheet1.A1:A3.
6. Select Sheet2.
7. Middle-click on Sheet2.

Observed behaviour:
Middle-click on Sheet2 does nothing (because the act of selecting the sheet removes the cell highlighting on Sheet1).

Expected behaviour:
Middle-click on Sheet2 pastes the contents of Sheet1.A1:A3 (because the act of highlighting has copied the contents to the clipboard).

> But I can reproduce in Writer as reported in Bug 62047.

That bug would seem more related to inter-application pasting (which WFM). Thanks for pointing it out. I will comment in it also. Status set back to UNCONFIRMED. I have already confirmed this bug, but it would be great if you could also and set the status back to NEW.
Comment 9 ign_christian 2014-08-02 14:54:50 UTC
(In reply to comment #8)
Yep..I can reproduce now :)

Formerly I can't reproduce because I do highlight in input line of a cell. Surprisingly..it works accross sheets..
Comment 10 QA Administrators 2015-09-04 02:49:53 UTC Comment hidden (obsolete)
Comment 11 almos 2015-10-27 23:35:20 UTC
This is still not fixed in 5.0.3.
Comment 12 QA Administrators 2016-11-08 12:03:08 UTC Comment hidden (obsolete)
Comment 13 almos 2016-11-09 00:24:41 UTC
Version 5.2.3.1 still has this bug.
Comment 14 QA Administrators 2017-11-10 08:03:34 UTC Comment hidden (obsolete)
Comment 15 almos 2017-11-10 22:47:22 UTC
Still the same in 5.4.2.2
Comment 16 QA Administrators 2019-09-16 02:46:29 UTC Comment hidden (obsolete)
Comment 17 almos 2019-09-16 17:11:15 UTC
LO 6.1.5.2 still clears the selection clipboard when switching to another worksheet.