home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
There is also BUG in original Mp 1.01 and previous(posted here too to get visibility)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="te3hpurp" data-source="post: 406915" data-attributes="member: 82806"><p>When using only back button, with no Home button in remote.</p><p></p><p>in public static void ActivateWindow(int newWindowId, bool replaceWindow) function</p><p>line 746 in GUIWindowManager.cs</p><p></p><p>[...]</p><p>if (_listHistory.Count > 15)</p><p>{</p><p>_listHistory.RemoveAt(0);</p><p>}</p><p>[...]</p><p></p><p>If user has no Home button, then after a while using TvGuide user ends up into situation where this</p><p>_listHistory.Count goes over 15. Then Home window gets removed from the _listHistory. It was in position</p><p>0.</p><p>So _listHistory does not contain Home Window anymore.</p><p></p><p>Then user starts to pres back button over and over again until 15 times is reached. What happens then:</p><p>You have a function:</p><p></p><p>public static void ShowPreviousWindow() in line 914.</p><p>and there is a part:</p><p>[...]</p><p>if (_listHistory.Count == 0)</p><p>{</p><p>return;</p><p>}</p><p></p><p>[...]</p><p></p><p>So you end up stucked into TvGuide and cannot get into homescreen anymore. Only to start tv by selecting</p><p>channell in guide.</p><p></p><p>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</p><p>history management, then above lines should be something like:</p><p></p><p></p><p>if (_listHistory.Count == 0)</p><p>{</p><p>//return;</p><p>// if _listhistorycount gets corrupted, go home</p><p>_listHistory.Add((int)GUIWindow.Window.WINDOW_HOME );</p><p>}</p><p></p><p></p><p>regards,</p></blockquote><p></p>
[QUOTE="te3hpurp, post: 406915, member: 82806"] 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, [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
There is also BUG in original Mp 1.01 and previous(posted here too to get visibility)
Contact us
RSS
Top
Bottom