MP2 - Spring'16 TV Guide - Jumping selection while scrolling (1 Viewer)

Jay_UK

Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    United Kingdom United Kingdom
    Country flag
    Hi there,

    No sure if this is classed as a bug, but....

    Not sure if it's a skin design issue or an actual MP2 issue, but....

    I'm running Bluevision skin with Spring release.

    When scrolling up and down through the channels on the main TV guide, I would expect the highlighted program to stay on the currently selected time. Eg: it's 10:20pm, I scroll from channel 1 to channel 2, I would expect the 10pm program to be highlighted, then when I scroll to channel 3,4,5 each one should have the 10pm program highlighted.

    What I am seeing is a "random" jump/selection of item selections, sometimes the 11pm program is selected, sometimes the actual channel name on the left of the screen.

    Not sure if this is by design or a bug??

    Thanks,

    J.

    ps - It appears it only jumps to the channel name when I am scrolling up through the channel list and not down(?)
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,716
    2,416
    Stuttgart
    Germany Germany
    Country flag
    Hi there,

    No sure if this is classed as a bug, but....

    Not sure if it's a skin design issue or an actual MP2 issue, but....

    I'm running Bluevision skin with Spring release.

    When scrolling up and down through the channels on the main TV guide, I would expect the highlighted program to stay on the currently selected time. Eg: it's 10:20pm, I scroll from channel 1 to channel 2, I would expect the 10pm program to be highlighted, then when I scroll to channel 3,4,5 each one should have the 10pm program highlighted.

    What I am seeing is a "random" jump/selection of item selections, sometimes the 11pm program is selected, sometimes the actual channel name on the left of the screen.

    Not sure if this is by design or a bug??

    Thanks,

    J.

    ps - It appears it only jumps to the channel name when I am scrolling up through the channel list and not down(?)
    Hi, thanks for testing MP2 and reporting a "potential bug".
    I just tried it in my EPG and could not reproduce it. Would you be so kind and take each 1 screenshot for correct and incorrect case.
    Thanks a lot
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,115
    3,697
    Lehmden
    Germany Germany
    Country flag
    Hi.
    I can confirm this, but it can not be shown on screenshot. You most likely need a screen video for this to demonstrate...
    As I'm not completely done with my Win10 migration I'm not able to provide such a video now...
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,488
    7,020
    Germany Germany
    Country flag
    I have reworked parts of EpgGrid for a better selection of next program. I now compare the start times (current program and all programs in next row) and select the nearest one. This still can lead to "jumps", if a long running program in one row and multiple shorter programs in next row.

    If the current focused program is the running one, then also the running item of next row will be chosen.

    This change also fixes a glitch in scrolling down behavior, the "down" needed to be done twice.
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    766
    386
    Germany Germany
    Country flag
    I actually have an idea for keybord Focus Change that might improve the prediction which button should be focused next.
    It's hard to explain but I try:
    You add a virtual Cursor Position which is managed at Pixel Level.
    wehen you navigate up it makes a ray cast from this Position up (may be a couple of Pixels wide) and the 1st button hit will get the Focus.
    The vertical Position of this Cursor is then set to the button Center. The horizontal Position of it will not Change.
    By thsi if you go up and down in the EPG and the Shows are shifted in time, you stay at the same time when going up or down multiple rows in a row.
    Does this makes sense?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,488
    7,020
    Germany Germany
    Country flag
    You add a virtual Cursor Position which is managed at Pixel Level.
    wehen you navigate up it makes a ray cast from this Position up (may be a couple of Pixels wide) and the 1st button hit will get the Focus.
    The vertical Position of this Cursor is then set to the button Center. The horizontal Position of it will not Change.
    By thsi if you go up and down in the EPG and the Shows are shifted in time, you stay at the same time when going up or down multiple rows in a row.
    Does this makes sense?
    I think this is the (nearly) way it currently works. Last changes on auto-focus logic was done by @Brownard, so it's better to let him know your ideas as well.

    We had different logic already, considering the center points of current and other controls and used the minimum distance in focus direction.
     

    Brownard

    Development Group
  • Team MediaPortal
  • March 21, 2007
    1,953
    1,307
    United Kingdom United Kingdom
    Country flag
    I think this is the (nearly) way it currently works.
    Yes this is basically how it currently works except that the ray cast is the width of the currently focussed control. The closest control partially within the ray gets the focus, if 2 controls are the same distance away the 1 with the largest width inside the ray gets the focus. I can see how narrowing the ray could improve things although I think it ends up being a trade off depending on the layout. The relevant logic is here if you want to play about with it.

    The reason why I made the ray the width of the control is for cases like the diagram below, if the bottom control has focus which control should get focus when pressing up?
    focus.png
     
    Last edited:

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

    OP Similar threads Forum Replies Date
    M Add Radio channels and EPG to Mediaportal xmlTV 2
    D Display Day of week in TV Guide? Feature Requests 0
    S Shortcuts MP1 My Recorded & TV Guide General 10
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    G Movie release date in guide Electronic Program Guide 2
    M [Rejected] Always show full hours in TV Guide Feature Requests 2
    M [fixed] [MP2-831] 12h time format shown in TV Guide with Swedish language settings Submit: Bug Reports 27
    geotwticher TV Guide EPG Grabber for Australia 2020 RIP freepg.tv General 4
    B [solved] MP2.2.3 TV Guide not scrolling with mouse wheel General 2
    R [solved] All Channel 7 stations listed in guide as 1000 Newcomers Forum 4
    T Freeview EPG-Anyone know what channel sends the guide data? Electronic Program Guide 10
    M Guide mapping schedules direct, tvguide, epg buddy How to get correct entry to the correct channel? Electronic Program Guide 0
    G Newb trying MP2, trouble with guide data General 5
    C How do I see the broadcast channel decimal numbers in the guide? General 0
    M [Pending] Fix for Inconsistent date display in TV Guide Submit: code patches (MediaPortal/TV-Server/etc.) 1
    G [solved] Are genres in the guide working properly General 4
    drumrob Inconsistent date display in TV Guide 1.22 Pre Release 15
    HTPCSourcer [Evaluate] MP2-Updates do not remove the GUID of previous installs MediaPortal 2 13
    Rob Hexenmeister Radio Guide descriptions in myradio.xml (screen 30) MediaPortal 1 Skins 3
    N Include both TV and Radio channels together in the guide Feature Requests 2
    doskabouter No guide info added due to a MYSQL deadlock Electronic Program Guide 1
    Patrik-See [solved] MediaPortal 2.2 Fernseher bleibt schwarz nach TV Sender Stop Allgemeines Support- und Diskussionsforum 2
    W Need help getting my TV guide working again General Support 1
    R TV Guide No Episode Info Displayed Electronic Program Guide 5
    ltfearme Feature request: Parental Guide IMDb+ 17
    Similar threads

























    Top Bottom