Solved Dialog Halts main thread - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Solved Dialog Halts main thread (/showthread.php?tid=189320) |
Dialog Halts main thread - Xive - 2014-03-16 Hello everyone, I have been trying to pop-up a window dialog in xbmc script using "xbmcgui.WindowXMLDialog" but i found out that it halts the main thread from which i initiated the popup and all my socket programming in the background stops till i exit the dialog then everything goes back to normal even if i try to "popup" the "xbmcgui.WindowXMLDialog" in a separate thread ! I want to be able to feed the popup dialog with information i retrieved over the socket but everything is halted and "paused" till i close the dialog, anyone had this problem before, any help will be appreciated ! Thanks. RE: Dialog Halts main thread - Xive - 2014-03-16 Nvm, i found a solution in which i had to instantiate a new object of my socket that will be used in the period of opening that dialog on top my original socket .. not the most elegant solution but it works ! |