There is also BUG in original Mp 1.01 and previous(posted here too to get visibility) (1 Viewer)

te3hpurp

Retired Team Member
  • Premium Supporter
  • September 23, 2008
    904
    231
    Rovaniemi
    Finland Finland
    Country flag
    When using only back button, with no Home button in remote.

    in public static void ActivateWindow(int newWindowId, bool replaceWindow) function
    line 746 in GUIWindowManager.cs

    [...]
    if (_listHistory.Count > 15)
    {
    _listHistory.RemoveAt(0);
    }
    [...]

    If user has no Home button, then after a while using TvGuide user ends up into situation where this
    _listHistory.Count goes over 15. Then Home window gets removed from the _listHistory. It was in position
    0.
    So _listHistory does not contain Home Window anymore.

    Then user starts to pres back button over and over again until 15 times is reached. What happens then:
    You have a function:

    public static void ShowPreviousWindow() in line 914.
    and there is a part:
    [...]
    if (_listHistory.Count == 0)
    {
    return;
    }

    [...]

    So you end up stucked into TvGuide and cannot get into homescreen anymore. Only to start tv by selecting
    channell in guide.

    Well My patch in h**p://forum.team-mediaportal.com/general-development-no-feature-request-here-48/tvguide-navigation-history-54987/ solves these problems, but if MP dev's decide to correct this only, and not touch whole
    history management, then above lines should be something like:


    if (_listHistory.Count == 0)
    {
    //return;
    // if _listhistorycount gets corrupted, go home
    _listHistory.Add((int)GUIWindow.Window.WINDOW_HOME );
    }


    regards,
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    Top Bottom