Blue Vision (15 Viewers)

ge2301

Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    Was a long and hard day today, sorry. I'll do it by tomorrow.
    Hi Osre, did. you already find a chance to add your model changes to v2? :)
    btw, I'm back at home and can build branches, so no need to upload the compiled files anymore.
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    775
    387
    Home Country
    Germany Germany
    The reason why Tuesday was that hard for me was that I was getting sick. I'm recovering now, so I'll have a look at it today.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    The reason why Tuesday was that hard for me was that I was getting sick. I'm recovering now, so I'll have a look at it today.
    Oh, hope nothing serious. Heard there is an unfriendly virus going around in Germany :sick:
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    775
    387
    Home Country
    Germany Germany
    It's getting better now. I'm happy my anti virus program does not push me into quarantine :sneaky:

    I have pushed my changes to GitHub, but in fact, now that I'm played a bit more with it I'm not that happy anymore :(
    For example, when you are in an actual screen (like music player, ...) and you focus one of the group items, it jumps back into home screen.
    This is ok as long as you are in the home screen, but I think we need to switch back to the "click" behavior, when the home screen is not the current screen.
    Also the selection is not visible on the group item, as soon as you select an actual menu item (I think this the same before my change) but I think it would be nicer if it actually would look like selected all the time.

    Try it for yourself, you'll see.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    It's getting better now. I'm happy my anti virus program does not push me into quarantine :sneaky:
    To make the virus scanner realize about your illness, you need at first connect yourself by USB ;) Good, that you are getting better!

    Also the selection is not visible on the group item, as soon as you select an actual menu item (I think this the same before my change) but I think it would be nicer if it actually would look like selected all the time.
    Yes, this behaviour came already with my previous changes. I changed from selected to focused for the "active symbol", this makes the active symbol not "white" in case anything besides main menu is used. I would also like it more, when the active symbol remains "white" until another symbol is focussed/selected. I played a bit in xaml and couldn't find a way to fix this yet. Let me try a bit more ...

    For example, when you are in an actual screen (like music player, ...) and you focus one of the group items, it jumps back into home screen.
    With homescreen you mean the screen with visible submenus? I think I didn't get it completely. I played a bit with the menu and in case I'm in "movies" and go over the "videohub" with my mouse, it remains in "movies" and does not go back to "videohub". This is how it should work. Can you give an example?

    In general like the modified menu, though some things need to be improved(y)
    What still is problematic is following:
    (2) EDIT:
    When switching back to the main menu by "up button" or similar, the focused item is which is close from position point of view (E.g. focus in on TV picture -> pressung "up button" brings the focus to power button, since it's located just on top)
    To make the menu work well, the focus should automatically go to the last selected menu item, when reentering the main menu.
    With remote control and keyboard it should always reenter the last selected group menu item. Can this be possible somehow?
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    775
    387
    Home Country
    Germany Germany
    I think it should ne possible to modify the focus behavior for the ItemsList somehow. I guess we need to trap the key event. I will play around a bit.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    @morpheus_xx
    The FanArt size in video and audio view is handled seperately now by checking the aspect ratio (as you proposed) (y)
    There is a MultiDetailsFanArt.inc, that selects the correct *.inc for both type of fanart (wide or square).

    However there is one "problem" or at least something I'm not happy with. Following code selects the screen in case no MediaItem is selected.
    The width of the ItemList depends on the size of the Fanart. No Fanart means, that the complete space is used for the ItemList (see screenshots).

    Code:
      <Control x:Name="AllOtherDetails_">
        <Control.IsVisible>
          <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{}!(({0}=={VisibilityEnum}.{Visible})||({1}=={VisibilityEnum}.{Visible})||({2}=={VisibilityEnum}.{Visible})||({3}=={VisibilityEnum}.{Visible}))">
            <Binding ElementName="AudioDetails_" Path="Visibility" />
            <Binding ElementName="ImageDetails_" Path="Visibility" />
            <Binding ElementName="MovieDetails_" Path="Visibility" />
            <Binding ElementName="SeriesDetails_" Path="Visibility" />
          </MultiBinding>
        </Control.IsVisible>
        <Control.TemplateControl>
          <Include Source="screens\MediaItemFanArtNone.inc"/>
        </Control.TemplateControl>
      </Control>

    I'd like to keep the ItemList width stable even the focus is not on a MediaItem.
     

    Attachments

    • NoMediaItemFocus.jpg
      NoMediaItemFocus.jpg
      523.2 KB
    • MediaItemFocus.jpg
      MediaItemFocus.jpg
      395.3 KB
    Last edited:

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    @morpheus_xx
    Are you busy with other topics? Do I ask too many questions? :)
    Unfortunately I can not solve several code related issues and a progress is not possible.
    If the questions are not clear, it takes too much time or additional information to be answered, please give me a hint.
    I really don't want to be annoying ;)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Are you busy with other topics?
    Yep, real life and work keeps me busy at the moment...

    Do I ask too many questions? :)
    No ;)

    I didn't checkout the current version. If you like to keep space on the right even if no item is selected, can't you just have an empty panel inside MediaItemFanArtNone.inc? You could assign a fixed size here. Also it is possible to assign a MinWidth property on controls, this could help to limit sizes.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    I didn't checkout the current version. If you like to keep space on the right even if no item is selected, can't you just have an empty panel inside MediaItemFanArtNone.inc? You could assign a fixed size here. Also it is possible to assign a MinWidth property on controls, this could help to limit sizes.
    This is how the code was in first step. Problem is, that the space is not fixed, it depends on the view "audio" or "video"/"series"/....
    Defining the width of the FanArt by AspectRatio works, but only, if an item is selected.

    I started to define the screen in MultiDetailsFanArt.inc by following
    Code:
      <Control>
        <Control.IsVisible>
          <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{}{0} == 30715D73-4205-417f-80AA-E82F0834171F ? {1} : {2}">
            <Binding Path="AdditionalProperties[Id]"/>
          </MultiBinding>
        </Control.IsVisible>
        <Control.TemplateControl>
          <Include Source="screens\MediaItemFanArtAudio.inc"/>
        </Control.TemplateControl>
      </Control>
    
      <Control>
        <Control.IsVisible>
          <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{}{0} != 30715D73-4205-417f-80AA-E82F0834171F ? {1} : {2}">
            <Binding Path="AdditionalProperties[Id]"/>
          </MultiBinding>
        </Control.IsVisible>
        <Control.TemplateControl>
          <Include Source="screens\MediaItemFanArt.inc"/>
        </Control.TemplateControl>
      </Control>

    Idea is, that the the fanart size is fixed based on the active "view"."30715D73-4205-417f-80AA-E82F0834171F" is the ID for "Audio".
    The idea should work. Problem is, that my poor code does not work and I could not find examples in other parts of the code or by google.
     

    Users who are viewing this thread

    Top Bottom