Bug Scrollbar : evaluate wrong result ? Kodi Leia
#1
Hi, i face a problem, which i would descripe as a bug.

it seems that numitems returns always ' -60' / numpage evaluates '0'
if i focus a scrollbar from first item.



I have a grouplist (id=111097)
pagecontrol = scrollbar id = 60

filled with widget containers ( each use different height , id's  and  each with  onleft action = 60

Than the scrollbar scrollbar id = 60
which should navigate trough 111097 content (actual 4 widgets containers)
xml:
<control type="scrollbar" id="60">
            <showonepage>true</showonepage>
            <visible>true</visible>
            <left>301</left>
            <top>100</top>
            <height>980</height>
            <onup>60</onup>
            <ondown>60</ondown>
            <onleft>111098</onleft>
            <onright>111097</onright>
        </control>


My issue is that if i focus the scrollbar, the first Container (id, width, height, content doeasnt matter ) i cant move (pageup/pagedown) via the scrollbar,
unless i ..
 a) hover mouse onto the scrollbar and do 'left click'
or
 b) go to the second widget container and focus the scrollbar from there, this force corrcet avaluate


I tried everything now
(use common ids, triple checked action, removed every comments from xml, use debug overlay, double checked defined scrollbar tags in defaults.xml

IT just happens when try to navigate from 1st  grouplist entry (content,height,id doesnt make a difference there)

I made a little video, with custom debug overlay, may that helps to understand my issue better.

I appreciate any help here.

https://streamable.com/1bwpt
Skins |  Titan M O D   •   S W A N (WIP)
Reply

Logout Mark Read Team Forum Stats Members Help
Scrollbar : evaluate wrong result ? Kodi Leia0