2012-04-18, 13:18
Hi all,
I am currently developing an add-on for xbmc where I am using and API browsing through differente directories/folders. Every time the user wants to browse one directory further, I create another xbmc.WindowXMLDialog class where I show the next directory. In this manner, when the user press back, the class is destroyed so they will see the previous directory without overloading the API (which has some demands per seconds limitation).
The issue here is that while requesting the next directory, I want to activate the busydialog and close it afterwards. What I am experiencing is that the busy dialog is only shown for the first instance of the WindowXMLDialog class, but I am not seeing it for the following class instances.
I do not know any other way to call this dialog than through the built-in function ActivateWindow(BusyDialog), so that is the way I am doing it.
My question is, is there any way to get this working? Maybe this several class instance thing that I am doing is not desirable? Is it a bug from the busy dialog?
Thank you in advance,
Efren
I am currently developing an add-on for xbmc where I am using and API browsing through differente directories/folders. Every time the user wants to browse one directory further, I create another xbmc.WindowXMLDialog class where I show the next directory. In this manner, when the user press back, the class is destroyed so they will see the previous directory without overloading the API (which has some demands per seconds limitation).
The issue here is that while requesting the next directory, I want to activate the busydialog and close it afterwards. What I am experiencing is that the busy dialog is only shown for the first instance of the WindowXMLDialog class, but I am not seeing it for the following class instances.
I do not know any other way to call this dialog than through the built-in function ActivateWindow(BusyDialog), so that is the way I am doing it.
My question is, is there any way to get this working? Maybe this several class instance thing that I am doing is not desirable? Is it a bug from the busy dialog?
Thank you in advance,
Efren