[Approved] Filmstrip OnRight and OnDown do not work (1 Viewer)

mpiva

Portal Member
June 29, 2009
20
5
Home Country
OnRight and OnDown action are not executed on filmstrip.

This patch will enable them when spinCanFocus is false



Also on OnLeft there is this fragment of code on v1.4.0 MASTER:

Code:
		  if (_upDownControl != null && _spinCanFocus)
		  {
			_upDownControl.Focus = true;
		  }
		  else
		  {
			_listType = GUIListControl.ListType.CONTROL_LIST;
			this.Focus = true;
			base.OnAction(action);
		  }

Please check if the funcionality is desired (Keep pressing left, will jump to the updown button, or execute OnLeft if updown button cannot be focused). If the funcionality is the desired one, same functionality should be added in OnRight.
 

Attachments

  • GUIFilmstripControl.cs.patch
    1.5 KB

Holzi

Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    I noticed that OnDown is not working and did a workaround myself. Never tested OnRight. Will do soon. Thanks for your patch!

    @Sebastiii could you create a branch with this so we could test? Would be very nice! :)
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Will try to create a branch based on the atached path in first post, but not right now :)
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom

    Users who are viewing this thread

    Top Bottom