-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Diagram loading very slow, with time out, when adding 2 images #183
Comments
I don't reproduce the issue. Maybe it depends on the size of the images. For me the loading time of the diagram editor (after closing #192) is always between 2.5s (Chrome) and 3s (Firefox). |
It seems I reproduce the issue as well on Diagram 1.17.3 (XWiki 14.9/ Edge 107/ PostgreSQL 15/ Tomcat 9.0.68), but on my side the page saved normal when using two local inserted images. However, after inserting an image from an URL (e.g. https://upload.wikimedia.org/wikipedia/commons/e/e0/Large_Scaled_Forest_Lizard.jpg), the page was seemingly "stuck" for quite a long time in waiting when saving it (app. 50 sec) and I got the following error in browser's console:
|
I didn't reproduce this issue on the latest version of the app Diagram 1.17.3 on XWiki Docker image 13.10.11 MySQL & Tomcat. Moreover no errors in the browser's console I created a diagram with two images:
The last one was downloaded in original size. Both images were resized in the application due to the size
That's why I choose the largest size of one and which is free. Load in edit mode with force refresh Simple load of diagram with two images (no edit mode) with force refresh |
@ane-gabriela could you please let us know if you reproduce on 14.10? thank you! |
@snazare Hi! Just tested locally on XWiki 14.10, Chrome 127, Diagram Application (Pro) 1.20.5, Windows 11 Pro and I've followed the exact steps from here It seems I can't save the diagram at all now. When I click Save & View I get: and in the wiki console:
|
Steps to reproduce:
eg.
Expected results: The images are added to the diagram.
Actual results: The images are added but the diagram is loading very slow when accessed. In the browser console there is:
Environment: Windows 10, XWiki 12.10.5, 9.11, Chrome 89, Diagram Application (Pro) 1.16-rc-2
The text was updated successfully, but these errors were encountered: