Page 1 of 1

Button Chording Timeout 'Feature'

Posted: Sun Mar 15, 2020 4:10 pm
by drawbars
XMBC Version: 2.19
Windows Version: 10 Pro
Mouse Information (brand/model): J-Tech 628P
Relevant Computer Information (CPU, RAM etc): i5, 24GB
Did the problem occur after an upgrade of XMBC? (If so, from what version?): no
Did the problem occur after a Windows update/upgrade? (If so, from what version?): no
How long have you used XMBC?: < 10 days
What language and keyboard layout do you use in Windows?: US English 104 Std

Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).: I think I may have found a minor bug in the Button Chording Timeout.

I wanted to increase the timeout from 750ms to 1s. I clicked on the Up arriow in the widget and scrolled to "1,000" ms. When I saved the value, things didn't seem to work, so I checked the settings again. It seems that XBMC stored the setting as 1ms. Perhaps the comma messed things up? 999ms works fine.

If one inputs "1000" ms directly into the box and hits Enter, 1000ms is saved and everything works OK. So, it appears that the problem is with the scrolling method -- i.e., it adds a comma to the value -- not the value itself. Thoughts?

Regards,
-BW

Re: Button Chording Timeout 'Feature'

Posted: Sun Mar 15, 2020 4:11 pm
by drawbars
A clarification: I'm talking about the "Unblock after" feature, and its time widget.

Regards,
-BW

Re: Button Chording Timeout 'Feature'

Posted: Sun Mar 15, 2020 4:34 pm
by phil
Confirmed bug - nice find :)
I'll add it to the list to fix - not sure why its putting a comma in there but the will be messing up the setting in the XML!
I suspect it will affect other scroll boxes too so will have to check all of them out!

Re: Button Chording Timeout 'Feature'

Posted: Sun Mar 15, 2020 4:47 pm
by drawbars
Happy to help!

I used to manage a high-level test team for a major PC manufacturer (who shall remain nameless). I was notorious for finding little bugs that no one else saw. A side benefit: I always got a brand new PC every time there was a release coming up! :lol:

Regards,
-BW

Re: Button Chording Timeout 'Feature'

Posted: Sun Mar 15, 2020 4:49 pm
by Kukurykus
Wow, what a coincidence. I found this bug in about same minute as you :shock:

I changed my delayes of HELD button for another 'Held for actions' from 0 to 0, 250ms to 333ms, 500ms to 666ms and 750ms to 999ms that initially I increased of 1ms to 1000ms. After warning I rolled it back to 999.

I did not realise it's bug. I thought that was my mistake. Then on forum I found we met it at same time :/

Re: Button Chording Timeout 'Feature'

Posted: Sun Mar 15, 2020 4:56 pm
by drawbars
You can manually change the value to >999. Just don't scroll up to 1000. Or, go in and delete the comma, I imagine.

Regards,
-BW