Bug 97819

Summary: Clipboard is emptied after first paste
Product: LibreOffice Reporter: Kumbarov <kumbarov>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: aron.budea, ilmari.lauhakangas, miguelangelrv, raal
Priority: medium    
Version: 5.1.0.3 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Kumbarov 2016-02-12 20:40:06 UTC
I used to copy some text and paste it in several cells one after the other. Now in LibreOffice 5.1 I paste the text in the first cell, then move to the next cell and when I press Ctrl+V to also paste the text in that cell - nothing happens. The clipboard is emptied after the first paste.

Note that this happens when I copy text from outside Calc. If I instead copy cells - it works as expected.
Comment 1 m_a_riosv 2016-02-12 23:57:54 UTC
I can't reproduce.
Win10x64
Version: 5.1.1.1 (x64) Build ID: c43cb650e9c145b181321ea547d38296db70f36e
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL/Default
Comment 2 Kumbarov 2016-02-13 06:58:46 UTC
I have this problem on Ubuntu 14.04. Just tried it with the same document on Windows 10 and it works there.
Comment 3 Kumbarov 2016-02-13 16:45:24 UTC
The problem seems to occur when you hit enter. If you select every next cell with the mouse, it works. But as soon as you paste the content and hit enter, the clipboard is emptied.
Comment 4 Maxim Monastirsky 2016-02-13 20:28:40 UTC
@Kumbarov: How did you install 5.1? If using PPA try removing the libreoffice-gtk3 package. Does it help?
Comment 5 Kumbarov 2016-02-13 20:40:47 UTC
This is how I installed it:

add-apt-repository ppa:libreoffice/libreoffice-5-1
aptitude update && aptitude upgrade && apt-get autoremove -y
aptitude install fonts-stix libreoffice-gtk3

Purging libreoffice-gtk3 solves the problem for me.
Comment 6 Buovjaga 2016-02-16 17:24:48 UTC
Cannot reproduce.

I have libreoffice-gtk3 and made sure to use it by launching with:
SAL_USE_VCLPLUGIN=gtk3 libreoffice

Was the copied text from inside LibreOffice or some other program?

Ubuntu 15.10 64-bit 
Version: 5.1.0.3
Build ID: 1:5.1.0~rc3-0ubuntu1~wily0
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
Locale: en-US (en_US.UTF-8)
Comment 7 raal 2016-02-16 20:12:56 UTC
(In reply to Kumbarov from comment #3)
> The problem seems to occur when you hit enter. If you select every next cell
> with the mouse, it works. But as soon as you paste the content and hit
> enter, the clipboard is emptied.

Hello, is it duplicate of bug 63077 and bug 34686? Enter makes paste.
Comment 8 Kumbarov 2016-02-16 20:18:28 UTC
(In reply to raal from comment #7)
> (In reply to Kumbarov from comment #3)
> > The problem seems to occur when you hit enter. If you select every next cell
> > with the mouse, it works. But as soon as you paste the content and hit
> > enter, the clipboard is emptied.
> 
> Hello, is it duplicate of bug 63077 and bug 34686? Enter makes paste.

No, it is not a dupe of any of these. Yesterday when I removed libreoffice-gtk3 it worked. Today after a restart it still empties the clipboard when I press Enter. I've been entering text from the Landmark or Region field from this site: http://ybrowse.y-chromosome.org/gb2/gbrowse/chrY/?
Comment 9 Buovjaga 2016-02-17 08:43:37 UTC
(In reply to Kumbarov from comment #8)
> I've been entering text from the Landmark or
> Region field from this site:
> http://ybrowse.y-chromosome.org/gb2/gbrowse/chrY/?

Still no problem for me.
Comment 10 Aron Budea 2016-08-03 10:25:59 UTC
As described in [1], Enter pastes in the current cell, and empties the clipboard. This is exactly the behavior you described in Comment 3 and Comment 8.

If you claim it isn't the same as bug 63077, please give details what the differences are in your case.

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=63077#c1
Comment 11 Aron Budea 2016-10-07 11:29:21 UTC
No reply, assuming my previous comment is correct, and closing this as NOTABUG.
If that isn't the case, feel free to return status to UNCONFIRMED with further details.