Bug 159795 (lo_bug_copy_paste) - Failed to paste from outside after internal copy (libobasis24.2-gnome-integration_24.2.0.3-3_amd64.deb:libvclplug_gtk3lo.so)
Summary: Failed to paste from outside after internal copy (libobasis24.2-gnome-integra...
Status: UNCONFIRMED
Alias: lo_bug_copy_paste
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.8.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://adrianmoderna.com/wp-content/...
Whiteboard:
Keywords: possibleRegression
Depends on:
Blocks:
 
Reported: 2024-02-20 14:05 UTC by Adrian Moderna
Modified: 2024-03-08 19:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Bug demo graphic animation (7.31 MB, image/gif)
2024-02-20 14:08 UTC, Adrian Moderna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Moderna 2024-02-20 14:05:33 UTC
Description:
In a Devuan Linux environment (Debian 12 without systemd with XFCE and official LibreOffice 24.2 installed from the deb packages downloaded from es.libreoffice.org) we copy a text from Firefox to LibreOffice Writer and LibreOffice Calc. We repeat the operation as many times as we want and it works. But the moment we copy a text within LibreOffice we can paste it into the external program, but from that moment on we will no longer be able to copy into LibreOffice any text that we bring from outside LibreOffice.

I've tried installing other versions of LO to somewhat narrow down where the change occurred that could be causing this error. In version 6.1.6.3 everything works. In version 6.2.8.2 it no longer works and the error occurs. Both versions downloaded from downloadarchive.documentfoundation.org

Environment:
- Devuan GNU/Linux 5 aka daedalus amd64 (Debian 12.0 based dist with xfce4 4.18 and Linux 6.1.0-18-amd64)
- LibreOffice 24.2.0.3 (official LibreOffice 24.2 installed from the deb packages downloaded from es.libreoffice.org/descarga)

Suspicious package:
- LibreOffice_24.2.0.3_Linux_x86-64_deb/DEBS/libobasis24.2-gnome-integration_24.2.0.3-3_amd64.deb

Suspicious component:
- /opt/libreoffice24.2/program/libvclplug_gtk3lo.so

Bug demo graphic animation:
- https://adrianmoderna.com/wp-content/uploads/2024/02/20240217-am-lo_bug-pasted_from_outside_after_internal_copy.gif


Steps to Reproduce:
1. Open LibreOffice Writer/Calc and Firefox
2. Copy text in Firefox and paste in LibreOffice (works)
3. Copy text in LibreOffice and paste in Firefox (works)
4. Copy text in Firefox and paste in LibreOffice (fail)

Actual Results:
LibreOffice does not paste the text that we copy into Firefox.

Expected Results:
LibreOffice should paste the text we copied into Firefox.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I performed each test of each version with a clean system (os reset each time) and with a new user profile (without a user profile, the LO itself created it every time it started the software, as a new use).
Comment 1 Adrian Moderna 2024-02-20 14:08:46 UTC
Created attachment 192659 [details]
Bug demo graphic animation
Comment 2 Stéphane Guillou (stragu) 2024-03-05 15:34:47 UTC
Thanks for the report.

Can't reproduce Ubuntu 22.04 + GNOME 42.9 with:

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

and Firefox 122.0.1.

If you are willing to, you could try bibisecting the issue in the 6.2 repository: https://bibisect.libreoffice.org/
Comment 3 wjsim 2024-03-08 19:15:43 UTC
Thank you for reporting the bug. I can not reproduce the bug in

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

As well as 

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6a064b1967e06e40be40817deff99d00c1a8554f
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded