strange effect with WindowDialog - 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: strange effect with WindowDialog (/showthread.php?tid=20333) |
- Rockstarr - 2006-06-05 hi. i was writing on a script as i noticed a strange effect with the windowdialogs. i will try to explain the best i can. i have 2 classes. booth are windowdialogs. the first class is startet on script start and generates a menu. when i click on a button the second class loads and load's an other menu. now when i click the first button in the second menu the first menu dissapeares and the second is still shown. when i close the second menu the script stopps. i tried to reproduce it the best i can and wrote a simple script that shows the error. this one you can find here. maybe somebody can explain me why this gives such a strange effect. thanks edit: i only was able to test it with xbmc release of may 22 t3ch - solexalex - 2006-06-06 i will tell you something someone already explained me on this forum... the windowdialog class is like a 'dialog' and is intended to be shown over all other windows. so when you open a windowdialog over an other windowdialog, it is not a correct behaviour... what could be nice, would be to have a new window class available, with transparent background... why not making the window class transparent it could be very helpfull - Rockstarr - 2006-06-07 humm. i like it to design scripts completly with dialogs. starting scripts from submenu and the background is still visible looks much better. a dialog witch is overlaying another dialog sounds logical to me but probably its not - solexalex - 2006-06-07 yes sounds logical to me too |