New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gui] no need to store/restore modeless dialogs while unload/load skin #12105
[gui] no need to store/restore modeless dialogs while unload/load skin #12105
Conversation
A modeless dialog will automatically be opened/closed depending on its visible condition. This also leads to problems if different skins use custom modeless dialogs with the same id (skin A and B use window id 1000) and you switch between this skins (see http://forum.kodi.tv/showthread.php?tid=314185)
I see no regressions when testing, e.g. custom windows/dialogs still load when its visible after switching skins. Not sure if it should be part of this PR or not, but I do think we need an extra function like |
87c4564
to
dacce08
Compare
dacce08
to
c48862b
Compare
Added another commit to address your comment. It makes totally sense to remove custom windows from our window history while destroy them. |
Works great, thx for adding that 👍 |
Thanks for testing it. |
jenkins build this please |
1 similar comment
jenkins build this please |
There is no need to store/restore modeless dialogs while unload/load skin. A modeless dialog will automatically be opened/closed depending on its visible condition.
This also leads to problems if different skins use custom modeless dialogs with the same id (skin A and B use window id 1000) and you switch between this skins (see http://forum.kodi.tv/showthread.php?tid=314185)
@BigNoid mind taking a look.