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: LibreOffice (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: 2024-08-15 03:15 UTC (History)
1 user (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 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.
Comment 18 Fred 2020-08-13 15:40:39 UTC
This bug is confirmed in Writer, and very annoying (my current version is 6.1.5.2, but this is a very old bug)

In Linux, when you select a sentence (for exemple), this sentence is stored is the primary selection and can be called back, in the same window or in any other window, with a middle click. No need to use keyboard. Very handy !

In Writer, when you deselect the text, you are not able anymore to paste it with middle click, it is available only while the selection stay active. Which is not the standard behavior in linux (any other soft clears the primary selection only when a new selection is done).

So if I need to create a new line, or begin to type and then call back the text that was selected, it is not possible anymore, then I remember that LO is buggy on this point, I have to go back where I was, select again, and make a ctrl-C to be sure my clipboard will survive. ;-)

Very often, in production tools, I use both clipboards at the same time, (the ctrl-c one and the middle click one), and in LO this is an acrobatic task.

I wonder if it is easy to fix this, as it is a standard feature of all graphical interfaces in linux, in this case it would be a great progress !

-------------

I have another bug in the same domain, which equally invalidate the middle click past, only the beginning of the selection is stored, not the whole selection, but I guess I have to open a new bug for this part.
Comment 19 QA Administrators 2022-08-15 03:44:38 UTC Comment hidden (obsolete)
Comment 20 almos 2022-08-15 18:43:48 UTC
Still the same in 7.3.1.3
Comment 21 QA Administrators 2024-08-15 03:15:03 UTC
Dear almos,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug