How to cancel?
#16
the bug has alread been posted and marked fixed several months ago - this obviously isn't correct.
bug 905913: 'cancel' button don't seem to work ?
Reply
#17
i have got the cancel button to work once, but i was using a mouse to press the button, so perhaps the only way to get it to work is using a mousel....
Reply
#18
and you have to implant cancel in phyton code for it to work.
it dosent seem that many that do this tough.
http://home.no.net/thor918/xbmc/xbmcgui....ogprogress
this is regarding a progress dialog. a normal dialog hasnt the same iscancel object.
Reply
#19
maybe it is because the script is not processing the buttonpress.
normally the script is notified when a button has been pressed. but when the script is fetching some html page then scripted is still busy (running) and not processing the buttonpress.
Quote:if button is a
   show dialog
   fetch html page
   hide dialog
else if button is b
    do cancel action
so if the script is currently fetching the page and showing the dialog it doesn't run simultaneously in the else part, since it is still processing the if part.

i think this problem can only be solved to implement timeouts in scripts, so the script won't wait forever for a response from the webserver.

bernd
Reply
#20
cancel button now works at my xbmc with the latest cvs build Wink
Reply
#21
(thor918 @ mar. 29 2005,04:03 Wrote:cancel button now works at my xbmc with the latest cvs build Wink

even on dialog created by scripts or just the stock xbmc dialogs?
Reply

Logout Mark Read Team Forum Stats Members Help
How to cancel?0