12-06-2010, 06:41 AM
Dean, is there somewhere I can download the latest RIVA header file with the definitions used by the progress bar command?
Official RIVA thread
|
12-06-2010, 06:41 AM
Dean, is there somewhere I can download the latest RIVA header file with the definitions used by the progress bar command?
12-06-2010, 08:52 AM
Dean Roddey Wrote:Oh, you meant a move while it was being held down. If it's not sending you anything, then I don't think you ever got a press inside the widget. It would only send you something if you got the original press inside the widget. Otherwise it won't be tracking the widget and therefore it won't send anything. I did some testing on the button press issue using the IPhone client yesterday. Here is the process I went through and results: --- Test 1 - Simple Button Press --- Press Button1 - Does not highlight Release Button1 - Command takes effect Press Button1 - Highlights Release Button1 - Command takes effect --- Test 2 - Moving In/Out of Button --- Press Button1 - Does not highlight Slide finger out of button1 - No effect Slide finger into button1 - No effect Release - Command takes effect, button does not highlight --- Test 3 - Alternating Buttons --- Press Button1 - Does not highlight Release Button1 - Command takes effect Press Button2 - Does not highlight Release Button 2 - Command takes effect Press Button1 - Does not highlight Release Button1 - Command takes effect So in summary, the first button press on a button never works. Subsequent ones do but if I press another button in-between it doesn't. If I get a chance I may take some sniffer traces to get more detail. Also, I think it might be a better user experience if commands happened on button down and not release that would make commands appear to happen faster to the user.
Wuench
My Home Theater/Automation Website [THREAD=5957]BlueGlass CQC Config[/THREAD] [THREAD=10624]Wuench's CQC Drivers[/THREAD]
12-06-2010, 09:02 AM
wuench Wrote:I think it might be a better user experience if commands happened on button down and not release that would make commands appear to happen faster to the user.It would, but then the Release might happen on a different template, which shouldn't matter with the command moved to the Press, but... That would also interfere with the Press/Move/Release, which might be even trickier...
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544). Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player. TaRIVA 1.26: Android RIVA client.
12-06-2010, 11:09 AM
You can choose to put commands in OnPress or OnClick. I usually use OnClick because it gives you a chance to back out if you want. Just move your finger out of the button and release. And this is how Windows works as well. Things don't happen on the press, they happen only if you press inside the thing and release inside the thing. So I figure folks are used to that scheme.
Dean Roddey
Explorans limites defectum
12-06-2010, 11:18 AM
Ah cool. OnPress, I should've remembered that. It would cut the response time of commands in half, so I think the interface would seem a lot snappier. I was only playing with pause/play so for that it would work. I could see how it could cause unexpected behavior for widgets that would make interface changes like popups etc.
Wuench
My Home Theater/Automation Website [THREAD=5957]BlueGlass CQC Config[/THREAD] [THREAD=10624]Wuench's CQC Drivers[/THREAD]
12-06-2010, 12:34 PM
wuench Wrote:I did some testing on the button press issue using the IPhone client yesterday. Here is the process I went through and results: And if you do one button twice and it starts responding, then you move out and just click anywhere, not on a widget, and then come back, does it still hilight or does it take two clicks again?
Dean Roddey
Explorans limites defectum
12-06-2010, 01:31 PM
Dean Roddey Wrote:And if you do one button twice and it starts responding, then you move out and just click anywhere, not on a widget, and then come back, does it still hilight or does it take two clicks again? It highlights. Click Button1 - no highlight Click Button1 - highlight Click base template Click Button1 - highlight
Wuench
My Home Theater/Automation Website [THREAD=5957]BlueGlass CQC Config[/THREAD] [THREAD=10624]Wuench's CQC Drivers[/THREAD]
OK, took some sniffer traces and I think I already see the problem. The server is indeed sending the unpressed button info twice on the first click. I haven't actually decoded the traces yet, this is just looking at the behavior of the traces and the readable text.....
In comparing the traces between the Iphone and the windows RIVA client the big difference is, you have a mouse in the windows client. When you click a button in the windows client it is always preceeded by mouse move messages. But in the Iphone client you just get the press. So to test my theory I loaded the IPhone riva client and instead of clicking a button directly I touched on the template and slid my finger onto the button. Then pressed it. It highlighted properly. So I think the server is expecting a move message into the object before a click otherwise it sends the unpressed info twice.
Wuench
My Home Theater/Automation Website [THREAD=5957]BlueGlass CQC Config[/THREAD] [THREAD=10624]Wuench's CQC Drivers[/THREAD]
12-06-2010, 04:56 PM
wuench Wrote:So to test my theory I loaded the IPhone riva client and instead of clicking a button directly I touched on the template and slid my finger onto the button. Then pressed it. It highlighted properly. So I think the server is expecting a move message into the object before a click otherwise it sends the unpressed info twice.Seems like a reasonable explanation. Not how it should work, but how it probably does... ![]()
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544). Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player. TaRIVA 1.26: Android RIVA client.
12-06-2010, 06:58 PM
Hmmm... then perhaps the issue is that the server is using the last mouse move position and not the position sent in the press. That would 'splain it. I'll look at that. I don't think that it expects a move into the widget, since the same engine is used by the regular IV and it runs on touch screens all the time. It's probably just the RIVA server not using the press position or something like that.
Dean Roddey
Explorans limites defectum |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Html 5 Riva | potts.mike | 9 | 14,950 |
09-15-2013, 04:22 AM Last Post: bjkiller |
|
Thinking about the next step in RIVA | Dean Roddey | 6 | 11,911 |
01-22-2013, 06:15 AM Last Post: brianmount |
|
.Net RIVA Client | Dean Roddey | 146 | 128,826 |
02-06-2012, 06:53 PM Last Post: Dean Roddey |
|
Transparent images in RIVA? | SamVimes2 | 36 | 52,021 |
02-05-2011, 04:34 PM Last Post: Dean Roddey |
|
riva | burkepaol4 | 1 | 8,718 |
12-17-2010, 11:39 AM Last Post: Dean Roddey |
|
Riva screen blanker on CF.NET | froop | 3 | 8,625 |
08-06-2010, 10:34 PM Last Post: froop |
|
RIVA Connection | batwater | 6 | 9,387 |
07-16-2010, 04:46 PM Last Post: batwater |
|
Java based RIVA Client? | batwater | 10 | 13,893 |
04-03-2010, 05:35 AM Last Post: wuench |
|
RIVA Client for Linux | bryanb | 22 | 22,042 |
07-16-2009, 09:11 PM Last Post: bjkiller |