Bug 148027 - File opens slowly when the source content being a copy/paste from the web
Summary: File opens slowly when the source content being a copy/paste from the web
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2022-03-16 09:41 UTC by Telesto
Modified: 2024-03-23 18:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Result of copy/paste to writer and saving as ODT (37.70 KB, application/vnd.oasis.opendocument.text)
2022-03-16 09:49 UTC, Telesto
Details
Successful bug reproduction (24.96 MB, video/webm)
2022-06-22 15:15 UTC, Esmeraldo
Details
Same domain but different part of the site (7.88 MB, video/webm)
2022-06-22 15:16 UTC, Esmeraldo
Details
Checking with MS Word (21.49 MB, video/webm)
2022-06-22 15:17 UTC, Esmeraldo
Details
Bug reproduction faster site with more images (25.48 MB, video/webm)
2022-06-22 15:18 UTC, Esmeraldo
Details
Bug reproduction faster site with normal number of images (13.36 MB, video/webm)
2022-06-22 15:19 UTC, Esmeraldo
Details
Checking with Google Docs (8.33 MB, video/webm)
2022-06-22 15:19 UTC, Esmeraldo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2022-03-16 09:41:14 UTC
Description:
File opens slowly when the source content being a copy/paste from the web

Steps to Reproduce:
1. Go to https://tree.taiga.io/project/rrbd-weststadtputz-2022/wiki/home with a browser
2. Select "Wiki' until bottom)
3. CTRL+C
4. CTRL+V in Writer (notice the first picture being empty square)
5. Save the document as DOCX
6. File -> reload -> Freeze (in my case the image appears; but has tendency to vanish again) after next save and reload round. 

Image properties show: the image is saved as link in Image tab
https://media-protected.taiga.io/attachments/8/c/e/b/bf2fe11a328432c58d33fab3c880a38c949c6149b1484d774b8cdd42df23/1903222_001_weststadtwaldputz_fwsbs2.jpg?token=YjGo5g%3AtD-5hvjFQa2s58C-lmhTYDJx1kYlNq4qFT-LLgARnl8E8je_PS_qWKigAGR52IyioG-xD5fMVMEumVBS57Owxw#_taiga-refresh=wikipage:1557824


Actual Results:
Document is connection to the internet again.. to download missing elements? 



Expected Results:
Image should be downloaded.. and stored.. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3ccc4c123f5e78e0204d11abeab2d1a74278ca3e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL Jumbo
Comment 1 Telesto 2022-03-16 09:49:12 UTC
Created attachment 178910 [details]
Result of copy/paste to writer and saving as ODT
Comment 2 Telesto 2022-03-16 09:52:19 UTC
@Rainer
You might be interested.. as I used your link
Comment 3 Rainer Bielefeld Retired 2022-03-16 15:51:40 UTC
> Image should be downloaded.. and stored.. 
Why?

And can you reproduce that with newly created User Profilee?
Comment 4 Rainer Bielefeld Retired 2022-03-16 15:56:40 UTC
NOT reproducible with Server Installation of Version: 7.4.0.0.alpha0+ (x64)  Build ID c856f9bec12d98ed49f01578ded79f16ae7be051
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US  |  Calc: CL  |  Auto Colibre Theme  |  Special devUserProfile: all Contents will notbe linked, but become part of the docment ane willbe saved with it.

NOT reproducible REPRODUCIBLE with  Installation of Version: 7.3.0.3 (x64) 
Build ID 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win | Locale: de-DE (de_DE); UI: de-DE | Calc: threaded | ElementaryTheme | My normal User Profile: as with 7.4.0.0

a) might be something with the preferences like "link all instead of integrate 
   into the document?
Comment 5 Esmeraldo 2022-06-22 15:15:50 UTC
Created attachment 180904 [details]
Successful bug reproduction
Comment 6 Esmeraldo 2022-06-22 15:16:57 UTC
Created attachment 180905 [details]
Same domain but different part of the site
Comment 7 Esmeraldo 2022-06-22 15:17:44 UTC
Created attachment 180906 [details]
Checking with MS Word
Comment 8 Esmeraldo 2022-06-22 15:18:29 UTC
Created attachment 180907 [details]
Bug reproduction faster site with more images
Comment 9 Esmeraldo 2022-06-22 15:19:16 UTC
Created attachment 180908 [details]
Bug reproduction faster site with normal number of images
Comment 10 Esmeraldo 2022-06-22 15:19:47 UTC
Created attachment 180909 [details]
Checking with Google Docs
Comment 11 Esmeraldo 2022-06-22 15:27:06 UTC
I was able to replicate the issue in

Version: 7.3.4.2 / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 8; OS: Mac OS X 12.0.1; UI render: default; VCL: osx
Locale: en-PH (en_PH.UTF-8); UI: en-US
Calc: threaded

And

Version: 7.3.4.2 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-PH (en_PH); UI: en-US
Calc: CL

But it seemed like the site https://tree.taiga.io/project/rrbd-weststadtputz-2022/wiki/home might be the issue (or the similar sites with identical loading speeds)

If we try to download the image on the webpage, we will be able to obtain an image of roughly 5MB size, and if it’s the first time you visited the page, it will be evident that the site has relatively slower loading times than a regular webpage in terms of displaying its larger images.

Now, the main issue is that LO is not showing the image/s correctly even after downloading them as shown in the https://bugs.documentfoundation.org/attachment.cgi?id=180904

I tried replicating it to Google Docs https://bugs.documentfoundation.org/attachment.cgi?id=180909 and MS Word https://bugs.documentfoundation.org/attachment.cgi?id=180906 and verified that Google Docs is the fastest one to load the pasted remote image together with its additional contents and MS Word has almost the same loading time as LO with regards to displaying the image after it has been downloaded. But MS Word has successfully loaded the image after.

I also tried replicating the issue in LO multiple times and encountered the same issue.

I also copied and pasted additional site contents that had regular or much faster loading times than the link provided in the steps for reproducing the bug and LO successfully downloaded and displayed the contents along the image/s. Kindly see https://bugs.documentfoundation.org/attachment.cgi?id=180907 and https://bugs.documentfoundation.org/attachment.cgi?id=180908

Lastly, I visited a different site of the link (from the Steps to Reproduce the bug), https://tree.taiga.io/project/rrbd-weststadtputz-2022/wiki/wild-im-wald, and encountered the issue as well. Kindly refer to https://bugs.documentfoundation.org/attachment.cgi?id=180905

I tried looking for a site with the same loading speed as the provided link by the bug reporter bug but was unable to search one. If I happen to stumble on one, I will update and report it here as well. Thank you.
Comment 12 Dieter 2023-10-04 08:17:51 UTC
(In reply to Esmeraldo from comment #11)
> I was able to replicate the issue in

=> NEW