[Libreoffice-bugs] [Bug 125785] New: Pasting PNG images from the clipboard cause a long loop with no result

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 7 15:01:41 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125785

            Bug ID: 125785
           Summary: Pasting PNG images from the clipboard cause a long
                    loop with no result
           Product: LibreOffice
           Version: 6.0.7.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: richard.elkins at gmail.com

Description:
Running Ubuntu 18.04.2 LTS libreoffice-writer 1:6.0.7-0ubuntu0.18.04.6.
This is not a new issue; I've experienced it on earlier versions of Ubuntu &
Libreoffice.

I take a screenshot in another application like Chrome.  Save to the clipboard.
 If they are "small" (E.g. < 300kB), then I can paste them into Writer without
issues.  

However, there is some threshold past which where Writer will go into an
uninterruptible loop.  I have to wait ~60 seconds before it stops looping and
it does not complete the paste.  On the other hand, for the same sized
screenshot image, if I first save it to a file and then insert the PNG from the
Image drop-down, then my image is incorporated as expected.

Writer should not loop on a clipboard paste.  If a paste is somehow beyond
capacity, then the user would prefer a diagnostic.

Preferred action: Image insertion into the document logic should be used for
clipboard image pastes.

Steps to Reproduce:
1. Launch Writer with a 5-page document.
2. Launch Chrome.
3. In Chrome, find a screen with a lot of colorful detail.
4. Take a screenshot of a region which will produce about 400kB of PNG data.
5. Copy the captured region into the clipboard.
6. Paste into the Writer document.

Actual Results:
Looping for about 60 seconds.
The paste is unsuccessful at the end of the loop.

Expected Results:
The pasted image immediately appears in the Writer document.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.6
CPU threads: 2; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190607/0a6bd558/attachment.html>


More information about the Libreoffice-bugs mailing list