(2017-04-03, 05:32)mikeSiLVO Wrote: [ -> ] (2017-04-02, 20:06)flhthemi Wrote: [ -> ]I looked over the log but saw nothing I recognized, but then I'm not a master of log reading by any means.
So here's a debug log if you wanna peek at it.
Maybe I missed someone else mentioning it but I see no logo while I'm in there setting up menu items and such...
There seems to be an issue with the onfocus conditions to clear a property. Not sure how to fix it. Perhaps you can post about it in the android section to get a recommendation how to fix for touch devices.
You can link to the button here as an example of the code used where your touch device seems to be having an issue.
Before I go there and post I want to better understand what the problem is so I can post somewhat intelligently. So rather than you wasting time giving me a lesson in coding let me see if I understand it.
script.skinshortcuts is supposed to start when I touch "Widget 1" or "Widget 2". When I touch either a condition is not being cleared so script.skinsortcuts isn't being called?
EDIT:
I have the widget menu item working on Android with mouse and on android with touch!
Let me set this up:
ALL installs are Kodi 17.1 Final
Android with mouse is a Ugoos UT2 box running a custom ROM so I could get it to Android V5.1 and Kodi 17.1
Android Touch is a Samsung Galaxy Tab S10.5 SM-T800 on Android 6.01 Stock no root
Your link to the
code got me to thinking and looking. I noticed between the present V6.06 and the previous git V6.06 there was an extra line of code that was NOT in the older git v6.06.
Code:
<control type="button" id="800">
220 <description>Widget 1</description>
221 <width>1216</width>
222 <height>90</height>
223 <textoffsetx>30</textoffsetx>
224 <font>font15</font>
225 <label>$ADDON[script.skinshortcuts 32044] 1</label>
226 <label2>$VAR[Widget1DisplayTitleVar]</label2>
227 <onfocus>ClearProperty(skinshortcuts-management-widget,Home)</onfocus>
228 <onclick>SetProperty(skinshortcuts-management-widget,1,Home)</onclick>
229 <onclick>Control.SetFocus(312)</onclick>
230 <visible>String.IsEqual(Window.Property(groupname),mainmenu)</visible>
231 <texturenofocus border="1">separator5.png</texturenofocus>
232 </control>
This line was added in the present git for Krypton:
<onfocus>ClearProperty(skinshortcuts-management-widget,Home)</onfocus>
So, I removed it and fired Kodi up and low and behold on the Samsung the touch worked for widget 1.
Now I go do the same thing to the Ugoos box, edit out that line of code, and the mouse still works on Widget 1 but it's also working on widget 2 which is not happening on the tablet. I suppose that line of code repeats somewhere for Widget 2, like item 801.
Now tell me how I just hosed up my whole install of Kodi on both devices cause I don't know what the heck I'm doing and why would I go in there an tinker around anyway.