- Posts: 373
- Thank you received: 3
Weird Behavior (Project Properties)
- bitzerjd
- Topic Author
- Offline
- User
-
Less
More
2 years 4 months ago #2060
by bitzerjd
Weird Behavior (Project Properties) was created by bitzerjd
I added actions to the hard keys in the Project properties. I then deleted the duplicated actions in each scene. Everything worked great until it didn't. Out of the blue, the scene keys that should have used the Project Properties values stopped working. All the other hard coded keys worked as expected. This behavior has popped up a few times before but I ignored it thinking it was something I did during the programming of the remote. When it happens, the log shows the button press but there is no command.
The problem is that this behavior is totally random. As a fix I simply added the commands to each scene and everything is back to normal.
The problem is that this behavior is totally random. As a fix I simply added the commands to each scene and everything is back to normal.
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
2 years 4 months ago #2063
by David Li
Nothing happens "randomly" the problem is figuring out what happened and when. Use the Event Log to isolate what's going on (or not).
Ensure you are clicking off the field and THEN the save button and then the page save button for your changes to take effect. Reopen the page and double check your changes actually got saved. Then, reload the smartremote.apk to reload the webpages with your changes.
Replied by David Li on topic Weird Behavior (Project Properties)
You use the Global button definitions for general button commands that should get used most of the time. You use the webpage specific button commands for device specific commands that that webpage specializes in (like "roku.html" is for all Roku specific commands).I added actions to the hard keys in the Project properties. I then deleted the duplicated actions in each scene. Everything worked great until it didn't. Out of the blue, the scene keys that should have used the Project Properties values stopped working. All the other hard coded keys worked as expected. This behavior has popped up a few times before but I ignored it thinking it was something I did during the programming of the remote. When it happens, the log shows the button press but there is no command.
The problem is that this behavior is totally random. As a fix I simply added the commands to each scene and everything is back to normal.
Nothing happens "randomly" the problem is figuring out what happened and when. Use the Event Log to isolate what's going on (or not).
Ensure you are clicking off the field and THEN the save button and then the page save button for your changes to take effect. Reopen the page and double check your changes actually got saved. Then, reload the smartremote.apk to reload the webpages with your changes.
Please Log in to join the conversation.
- bitzerjd
- Topic Author
- Offline
- User
-
Less
More
- Posts: 373
- Thank you received: 3
2 years 4 months ago #2065
by bitzerjd
Replied by bitzerjd on topic Weird Behavior (Project Properties)
That is exactly what I did. What I saw in the log was that it recognized the button press, and didn't fire the command defined in the Project Properties. The command was clientcmd|back or loadscene|home.
When I checked the project everything was defined properly.
The issue is that it was working perfectly fine, and then starting doing this. When it happened, I was stuck on the scene with no way to exit it. Like I said earlier, I have seen this behavior a few times. It is random.
When I checked the project everything was defined properly.
The issue is that it was working perfectly fine, and then starting doing this. When it happened, I was stuck on the scene with no way to exit it. Like I said earlier, I have seen this behavior a few times. It is random.
Please Log in to join the conversation.
Time to create page: 0.178 seconds