As of Kodi 18.8 ReplaceWindow is broken.
In my skin when in the Video/Music library I'm presenting the user with a sub menu to allow then to select a different category eg Actors, Genres, Year, etc... and I'm using
to replace the current library window with the new one while NOT maintaining the window history.
Using the return parameter means that on pressing back the user goes straight back to the home screen. This worked perfectly prior to Kodi 18.8
However in Kodi 18.8 ReplaceWindow isn't overwriting the window history like it should, meaning that when the user presses back they go back to the window that was replace and not the window before it.
The only recent changes to ActivateWindow, ReplaceWindow and window history in general I could find is this change.
https://github.com/xbmc/xbmc/commit/cb8b...33e44c5b51
This bug is also present in Kodi 19
In my skin when in the Video/Music library I'm presenting the user with a sub menu to allow then to select a different category eg Actors, Genres, Year, etc... and I'm using
ReplaceWindow(Videos,videodb://movies/genres/,return)
to replace the current library window with the new one while NOT maintaining the window history.
Using the return parameter means that on pressing back the user goes straight back to the home screen. This worked perfectly prior to Kodi 18.8
However in Kodi 18.8 ReplaceWindow isn't overwriting the window history like it should, meaning that when the user presses back they go back to the window that was replace and not the window before it.
The only recent changes to ActivateWindow, ReplaceWindow and window history in general I could find is this change.
https://github.com/xbmc/xbmc/commit/cb8b...33e44c5b51
This bug is also present in Kodi 19