Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.8.100
-
None
-
None
Description
<pre class="brush: csharp;" name="code" style="padding: 0.5em 1em; border: 1px solid rgb(215, 215, 215); border-image: none; background-color: rgb(247, 247, 247);">
if (!_showLastActiveModule && !Utils.IsGUISettingsWindow(GUIWindowManager.GetPreviousActiveWindow()))
{
if (_startWithBasicHome && File.Exists(GUIGraphicsContext.GetThemedSkinFile(@"\basichome.xml")))
{
Log.Info("Main: OnResumeSuspend - Switch to basic home screen");
GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_SECOND_HOME);
}
else
{
Log.Info("Main: OnResumeSuspend - Switch to home screen");
GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_HOME);
}
GUIWindowManager.ResetWindowsHistory();
}
</pre>
<p>When the user not select the show last active module on resume, the GUI will return to home window after resume. When the GUI was on home before resume, the GUI returns the home without checking the previous window. It causes flickering.</p>
<p> </p>
<p> </p>
if (!_showLastActiveModule && !Utils.IsGUISettingsWindow(GUIWindowManager.GetPreviousActiveWindow()))
{
if (_startWithBasicHome && File.Exists(GUIGraphicsContext.GetThemedSkinFile(@"\basichome.xml")))
{
Log.Info("Main: OnResumeSuspend - Switch to basic home screen");
GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_SECOND_HOME);
}
else
{
Log.Info("Main: OnResumeSuspend - Switch to home screen");
GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_HOME);
}
GUIWindowManager.ResetWindowsHistory();
}
</pre>
<p>When the user not select the show last active module on resume, the GUI will return to home window after resume. When the GUI was on home before resume, the GUI returns the home without checking the previous window. It causes flickering.</p>
<p> </p>
<p> </p>