iViewer problem when reloading with Upload Service off

36 views
Skip to first unread message

wouter grutt

unread,
Mar 11, 2018, 3:43:53 PM3/11/18
to comman...@googlegroups.com
CommandFusion guiDesigner version: 2.7.4.705

Android iViewer version: 4.0.211

Test Project Zip: https://www.dropbox.com/s/ai77fssndmx6rw6/ErrorTest.zip?dl=1


The Problem:
When reloading an app without having "Reload GUI Layout" and "Reload GUI assets" on, somehow makes every commandfusion variable empty.
My set userMain function does not seem to be called.
CF.systems variable is empty even though it should have one item.
But commandfusion actions, for example, in a button, do still work.

Steps to Reproduce:
I made a simple example that has the same problem. This is the test project.
One of the 2 buttons, switches to the other page by system command with a javascript function.
The other button, switches page with a button pageflip action.

The 2 input fields will be loaded with the IP and port from the system when the app is loaded (in the userMain function).

Now when the app loads with the upload service ON, everything works fine.
But the problem occurs when stopping the upload service, then stopping iViewer (completely close the app) and finally, start iViewer again.
Now since we have reload GUI layout and reload GUI assets off, the expected behaviour is that it loads normally again. But what actually happens is that the button that switches page by system command no longer works and, the IP and port are just empty.
However, the button with the pageflip as button action does still work.

Seems to me this is a Bug in the iViewer app.

Kind Regards,
Wouter
Reply all
Reply to author
Forward
0 new messages