[Approved] Add support for scrolling in a loop (1 Viewer)

Brownard

Development Group
  • Team MediaPortal
  • March 21, 2007
    1,953
    1,307
    United Kingdom United Kingdom
    Country flag
    • Thread starter
    • Moderator
    • #1

    Attachments

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,622
    2,387
    Stuttgart
    Germany Germany
    Country flag
    thanks a lot. is there also a solution, that allows to scroll while the focus is always on the center item and the list is moving up- or downward in the background?

    Nice idea and good sketch (y)!

    What you propose is often called "carousel control" and you can find some WPF examples like: http://wpfcarousel.codeplex.com/.

    The code for that is not so complicated, we might port this to a MPF control...

    Edit: if someone is not able to compile the example, I have added a binary
    Edit: a Tried to make a reference, but didn't work from cell phone. There is an example in the bamboo theme tread for MP2 with more details of What I mean with above :)
     
    Last edited:

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    @Brownard thanks again for your work. I've commited the patch to a new branch and pushed it to: https://github.com/MediaPortal/MediaPortal-2/commits/FEAT_LoopScroll

    I've added a test screen (GUI Test plugin). Left side uses normal listview, right side looping mode.
    Once "LoopScroll" is enabled, you can no longer leave the list to up and down (red marked). One idea (yellow): should we use the other direction to leave the list in this case? Left line means: hit left, focus up. Right: hit right, focus down.

    This could solve also some requests to improve navigations inside listviews.
    focus_movements.PNG
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,085
    3,685
    Lehmden
    Germany Germany
    Country flag
    should we use the other direction to leave the list in this case?
    I think best is to use the "back" button to leave the loop especially if there is something right or left (some context menu) that needs to be accessible too. And if we have a "landscape" list the navigation should work with left/right buttons instead of up/down... Last but not least if we have a grid view this should work for both directions so we really only can leave with some extra button like the back button...
     

    Brownard

    Development Group
  • Team MediaPortal
  • March 21, 2007
    1,953
    1,307
    United Kingdom United Kingdom
    Country flag
    • Thread starter
    • Moderator
    • #5
    It's a tricky one :confused:

    MP1 uses left/right to exit so that's what existing users are used to, I'm not sure if using the back button is particularly intuitive but neither is being stuck in the list lol.
    My original thought was to implement 'double tap' handling, e.g. when you're at the top of the list quickly double tapping up would exit the list, I briefly looked into that but it didn't seem easy to implement using the current input handling.

    I think what MP2 really needs is a way to pragmatically override the focus handling so in the xaml you can define OnLeft, OnRight, etc (the same as you can in MP1), the default focus handling would still be used in most cases so you wouldn't have to define them for every control, but they would be useful in special cases like this.
     

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

    OP Similar threads Forum Replies Date
    ajs [WiP] 5030: Add UHD Thumb size to TV Server MediaPortal 1 0
    ajs [fixed] 5029: Add the ability to choose the type of pause for designers in the slideshow MediaPortal 1 4
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    raffe How to add 500+ streams? OnlineVideos 1
    T How to add missing buttons IR Server Suite (IRSS) 0
    R [solved] Moving pictures importer wont add files from a removable drive. Is there a work around ? Moving Pictures 8
    cbr954rr Possibillity to add more Movie Folders in Menu General 5
    ajs [solved] 4935: Add string.replace function to Skin engine MediaPortal 1 10
    haaitje Crashes when trying to add lyrics MPTagThat 0
    H Add site to home OnlineVideos 5
    E Can I add folder icons to my list of videos MediaPortal 1 Talk 9
    Timothy Cobb Mediaportal 2 Weather - Can't add Weather locations Plugin Development 5
    E How can I add some site to Online Video Plugin ? OnlineVideos 4
    J silly question: where do I add my login details!! OnlineVideos for MediaPortal 2 5
    CyberSimian Support for control.isvisible() in expressions MediaPortal 1 8
    morpheus_xx [WiP] OnlineVideos: New browser based playback support using WebDriver, new Amazon siteutil MediaPortal 2 6
    M 2nd (Touch-)Display Support on MediaPortal 2 such MPDisplay++? General 2
    J Support waipu TV TV-Server 0
    doskabouter WebDAV support OnlineVideos 0
    K Multichannel audio and subtitles for TV not properly supported General Support 4
    CyberSimian Support pack for Ortek VRC-1100 and Hama 00052451 Remotes 6
    cbr954rr [Finished] [MP2-801] Support for tag image extraction Archive 7
    catavolt [solved] FanartHandler - Skin - Holiday and Spotlight support Fanart Handler 9
    C Drive Type is not supported by system Allgemeines Support- und Diskussionsforum 3
    raffe [solved] Export tool and import support from MP-TVSeries & Moving Pictures to MP2 General 22
    Similar threads

























    Top Bottom