Bug 130057 - Pasting image into .odt file in Collabora Online causes editor to hang/not open
Summary: Pasting image into .odt file in Collabora Online causes editor to hang/not open
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-17 14:20 UTC by Stu Sherwin
Modified: 2020-11-29 05:01 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of page with pasted images and <!--Fragment-->s (629.95 KB, image/png)
2020-01-17 14:20 UTC, Stu Sherwin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stu Sherwin 2020-01-17 14:20:00 UTC
Created attachment 157227 [details]
Screenshot of page with pasted images and <!--Fragment-->s

LOOLWSD
4.0.4 (git hash: 305832f)

LOKit
Collabora Office 6.0-29 (git hash: 5a695a1)

Browser: Firefox 71.0
OS: Windows 8.1

If I copy and paste an image from a webpage directly into an .odt document (into a table but also in the document body) it hangs for about a minute, and then when the image appears editing is either really slow or hangs. Sometimes after a while it lets me type but the cursor has gone so you can't see where you're typing. It also puts <!--StartFragment--> and <!--EndFragment --> in the margin which I can't remove unless I refresh the page. Then after reloading it doesn't even render the document for the next few attempts (just get a blank screen) until finally I can edit the document but the cursor disappears as soon as I try to edit content after the pasted images.

Once I delete the images and the <!--Fragment-->s it seems to go back to normal
Comment 1 Aron Budea 2020-11-28 04:25:17 UTC
I don't see this issue in a recent Collabora Online 6.4 or 4.2 version, please check with one of those, and if you can still reproduce the bug, open a ticket here:
https://github.com/CollaboraOnline/online/issues