-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
visu doesn't get updated after changes #15
Comments
Got the solution, but it is not satisfying. If I delete all data for the website of the visualisation in preferences-> Privacy & Security -> Manage Data, the visu works again in the newest version. |
is it ok to for a full reload only when closing and opening the tab again ? |
Could you test with this version: |
Closing the tab and opening a new one works. Even just opening a new one without closing the old one works. |
The loaded visu files are stored in the local storage intentionally. This was implemented to reduce the load time for big sized visualisations, like Wago own facility solutions. They are quit heavy, so the storaging should be kept in my opinion. It improves the user experience. |
I see the advantage of storing the visu locally. But there should definitely be an easy, intuitive way to reload the visu like CTRL+F5, as long, as the automatic reload doesn't work reliable. If it works, it would be of course the best solution. |
Okay, thanks for your help. We have to include the functionality of a CTRL+F5 hard reload. |
The Edit: I may have found a way to keep the local storage and having the update file without reloading everything. |
I made a new system which check the file "last modified" parameter to determined if we need to download it again or not. |
The visu_ini.xml file isn't updated every time, I change the visu. Till now, I wasn't able to find out, what kind of changes in the program or visu result in a change of the visu_ini.xml (and so maybe a change of the |
Indeed there is no information. |
I have tested it. The problem should be solved. Every change will be trigger a reload of the visu. |
Yes after a page refresh just the changed page is redownload and updated. |
great, sounds good. I'm out of office for one week now and can't test this (and the other issues) till I'm back end of next week. |
yes, works for me too. Just a |
unfortunately it doesn't also the page reloading is automatic even on page change (no need to reload normally). |
I made a reworking with sessionstorage who is cleared on page reload. This will be the best option in my opinion, a revisit of a site inside a session is faster then. |
For me it is a good solution now. It works like a normal user would expect it. Thanks for your solution. |
Does not update the visu on a 750-841 controler. I changed the plx_visu.xml file manually (changed the text tag of a rectangle), made a reload, and it doesn't show the new text. Even after closing an reopening the tab it doesn't show the change. |
Hopefully should be fixed now in the latest release. We will use only the sessionStorage now. A F5 will clear all prefetched visus. |
It is frustrating. With every change of the programme the variables get more and more mixed up in the javascript visu. If I look in the visu of codesys everything shows up right.
The old variables, which I didn't touch are still displayed correctly, but variables, that I recently changed get mixed up. Even dump lables, which I added just for testing, are not shown.
It seams like webvisu.js uses still the old visu. But the plc_visu.xml is defenitely updated in the controller. I also tried to clear the cache of firefox (ctrl+F5). Without success.
I opened the visu in chrome for the first time, and there everything was displayed correct. But the next changes are lost again (I deletet the dump label, which I added just earlier for testing, and it is still there)
The text was updated successfully, but these errors were encountered: