[Bug] "Back" / "Up" icon on wrong position (1 Viewer)

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    I have no idea why things behave this way on your system. I can't reproduce it on mine.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    I don't think so but you could post your MusicViews.xml so that we can test your settings on other systems. Maybe something is mixed up there.
     

    Razor78

    Portal Pro
    June 4, 2009
    173
    32
    im Norden
    Home Country
    Germany Germany
    same problem here....

    after update from 1.5 to 1.6pre there is the same bug. Still after update to the 1.6final. :)
    please check my MusicViews.xml

    I use the StreamedMP Skin.

    PS: Please sorry, my English is not the best :(
     

    Attachments

    • MusicViews.xml
      29.2 KB

    robhawk

    MP Donator
  • Premium Supporter
  • January 20, 2008
    142
    14
    Thuringia
    Home Country
    Germany Germany
    So this seems to be a one-way road...

    I just recovered my 1.4.0, deleted it and installed 1.6.0 FINAL again. Issue solved! Razor78 i think you should do the same.

    Best of luck
     

    Marcus Venturi

    MP Donator
  • Premium Supporter
  • March 23, 2012
    614
    745
    56
    Home Country
    Germany Germany
    Same problem here. Happens with all folders, no difference between Video or Music etc.
    After extensive testing on my PC I upgraded my living room MP to 1.6 and now I have this "effect", which I didn't have on my dev-PC.

    Everytime I leave/enter the same folder, the position is moving constantly. Sometimes it is - as it should - on the left side, sometimes it's on the right side and sometimes in the middle. :)

    And it is independent from the skin, happens with Maya HD and Titan.

    ScreenShot.jpg


    Does anybody have a clue what's the reason for this behaviour?
     
    Last edited:

    Marcus Venturi

    MP Donator
  • Premium Supporter
  • March 23, 2012
    614
    745
    56
    Home Country
    Germany Germany
    As I couldn't reproduce it on my dev-PC I have setup remote debugging on my HTPC where the "magic" happens. In the remote session I could reproduce the error.

    In the \WindowPlugins\GUIVideoFiles\GUIVideoFiles.cs in line 3144 there is the following call:

    facadeLayout.Sort(newVideoSort(CurrentSortMethod, CurrentSortAsc));

    which uses a comparer defined in VideoSort.cs

    Until this call the ".." entry is the first in the "itemlist" and a would assume that it should remain the first after sorting, but it doesn't.

    Looks like the "comparer" has decided to work as a randomizer... :)

    The funny thing is that for remote debugging I just shared my dev-PC drive over Network into the HTPC, so exactly the same code that works on my dev-PC does not work on the HTPC.

    First I thought it would be the settings, therefore I copied my "C:\ProgramData\Team MediaPortal" directory to the HTPC, but the error remained. :confused:

    Does anyone have a hint if there is any other Setting - not in C:\ProgramData\ that might modify the behavior of the VideoSort comparer?
     

    Marcus Venturi

    MP Donator
  • Premium Supporter
  • March 23, 2012
    614
    745
    56
    Home Country
    Germany Germany
    It was a bug in the comparer in VideoSort.cs.

    In Line 95 this comparison is wrong:

    Code:
    if (item2.IsFolder && item2.Label == "..")
    {
      return -1;
    }

    It must return "1" instead.

    Before everyone starts to reinstall MediaPortal 1000 times ;), I created a patch.

    Please copy the attached file to "C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\Windows" and the error should be gone... :)
     

    Attachments

    • WindowPlugins.zip
      445.3 KB

    Users who are viewing this thread

    Similar threads

    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is completey broken with NET4 and NET6 :( Neither an existing profile can be selected nor a new one can be created.
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is...
    Description: Hi there. First of all, I appreciate all the effort in MediaPortal 2 release 2.5 - visible changes look great (eg...
    Replies
    1
    Views
    436
    MP1 MP2 MP2 - V2.5 Media Source DE
    @Brownard, just a stupid question. Yes it works now by manually entering the path. However when i try to edit the settings (like because i want to disable the share watch) I can select my Media Source, however i seems to only briefly been shown and the goes back to the list. So i cannot actually edit it. Can et bee due to the "long"...
    @Brownard, just a stupid question. Yes it works now by manually entering the path. However when i try to edit the settings (like...
    I had to replace my NAS and after reinstalling a new one i thought. Lets modify the Media Source. - However that did not work "if"...
    Replies
    25
    Views
    1K
    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after restart. If you go to an episode and open the options and pick choose artwork then choose episode thumbnail it shows the correct thumbnail and says it is remote. Click on it and it goes local instantly and...
    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after...
    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after...
    Replies
    0
    Views
    213
    I had the same issue and found the executable under C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan\BasicHome.Editor\TitanEditor.exe Only the shortcut was missing.
    I had the same issue and found the executable under C:\ProgramData\Team...
    Hi all, Not a rant, more a sharing of experience (maybe hoping to get some clarification on which wrong turn I took) It has been...
    Replies
    9
    Views
    1K
    Hi, yes, you are right. The official x64 1.32 is buggy. You can try a new installers from this post if you like.
    Hi, yes, you are right. The official x64 1.32 is buggy. You can try a new installers from this post if you like.
    hi, I'm setting up a new computer and have installed MP 1.3.2 after a few goes and getting all the prereqs installed, I was...
    Replies
    3
    Views
    720
    Top Bottom