-
Notifications
You must be signed in to change notification settings - Fork 24
Image edit - save and close button not working #575
Comments
I can't test with the latest version a.t.m. It looks a bit familiar with #561 that has to do with Windows, Firefox and asynchronous ajax calls but only for "Save & Close" not "Save".
|
Hello @schnuti, 1 2 |
I load the new nightly build from this night and test a little bit more. |
You mean if you refresh the page the changed image appears? |
The message "Image saved" (or "Error") is really needed. |
yes
yes, the old image is displayed. After refresh the page the changed images appears.
No message is displayed in the homepage. Only when i delete a picture then it shows "Item deleted". The developer console is empty. |
Yes, image edit has no messages. The mentioned PR adds them. A small push for the idea ;) That PR depends though on the solution for browse IE11. I'll check if it's testable and let you know. |
I've updated the repository and made a quick test. Works as expected. The repository -> here <- |
Thanks, yes I will test soon. |
I installed your repository and tested. The Save and Close button works good. But the image list is not refreshed. The old image is displayed. I do not know if this is relevant for your patch. Only when I changed the image a second on and click the "save and close" button then the new image is displayed (image list). |
Thanks for testing. As you said, please open a new issue for "Not reloading saved images". Reloading of the images seems to be very random. In my quick test before asking you to test they really did load correctly. After testing a bit more I now can see that there are troubles with it. Sometimes the changed image appear sometimes the old. I so far can't find any pattern. The images must be buffered (cached) somehow and not reloaded from the server. Funny example: after a changed image correctly appeared it changed back to the old one after moving to a another directory and back. Open in the editor it was the changed one. A presidential muddle? Is the browsers cache involved? Vue.js is involved in the "Image list" so it's nothing for me. Not a clue, |
I open a new issue this weekend. |
Thanks @schnuti ! Any updates after two month with no response? |
Is this not the same issue as #576? |
No, this error is about the button "save & close". |
Would be raising a PR for that ASAP. |
There are 2 problems.
|
What I did was, first disable the currently opened tab, then close the window. Previously, they were directly closing without calling the disable function of individual plugin (Crop, Resize, Rotate). |
I probably found an answer to why one browser saves the image and another not. In Chrome there is an option:
This should save the AJAX call from being interrupted. I do not know if other browsers have a corresponding setting. |
Steps to reproduce the issue
Select and edit an image
use the button save and close
back to the image and folder list
the change from the image has not saved
Expected result
The changed image should display and not the original
System information (as much as possible)
php: Windows NT TOBSBOBS 10.0 build 17134 (Windows 10) i586
dbserver: mysql
dbversion: 5.5.5-10.1.33-MariaDB
dbcollation: latin1_swedish_ci
dbconnectioncollation: utf8_general_ci
phpversion: 7.2.6
server: Apache/2.4.33 (Win32) OpenSSL/1.1.0h PHP/7.2.6
sapi_name: apache2handler
version: Joomla! 4.0.0-alpha5-dev Development [ Amani ] 22-July-2018 22:58 GMT
useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Joomla Build = These packages were built based on commit 3596efb
Additional comments
The text was updated successfully, but these errors were encountered: