Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4553

Flickering the home when return to home after resume

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.0
    • 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);">
      &nbsp;&nbsp;&nbsp; if (!_showLastActiveModule &amp;&amp; !Utils.IsGUISettingsWindow(GUIWindowManager.GetPreviousActiveWindow()))
      &nbsp;&nbsp;&nbsp; {
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (_startWithBasicHome &amp;&amp; File.Exists(GUIGraphicsContext.GetThemedSkinFile(@&quot;\basichome.xml&quot;)))
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Log.Info(&quot;Main: OnResumeSuspend - Switch to basic home screen&quot;);
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_SECOND_HOME);
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Log.Info(&quot;Main: OnResumeSuspend - Switch to home screen&quot;);
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_HOME);
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GUIWindowManager.ResetWindowsHistory();
      &nbsp;&nbsp;&nbsp; }
      </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>&nbsp;</p>

      <p>&nbsp;</p>

      Attachments

        Activity

          People

            regeszter regeszter (Inactive)
            regeszter regeszter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: