[fixed] General considerations about playlists and media browsing (1 Viewer)

Albert

MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: General considerations about playlists and media browsing

    Change of plan: I just fixed the problem which I think caused the lost chars in the search text box.
    So Smeulf, can you please test the last SVN rev?
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    :oops:
    @rev 3325

    Sorry to say that, but the changes are not working :

    sg1-s04 -> sg1s40, and the text cursor is placed like the "|" : sg1s4|0 so if you try to delete the last char, the "4'" is deleted.

    Find attached logs with debug enabled at the same place, log1 is an extract.

    Ask me if/when more debug is needed.
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: General considerations about playlists and media browsing

    Oh, shit, yes, I forgot the text cursor. I'll change it tomorrow.
    But I still can't reproduce the problem.
    Smeulf, can you tell me the data of your hardware where the problem occurs? Processor and Ram, please.
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Hi Albert,

    My system is :

    AMD Phenim II x4 955 @3.2Ghz
    4 Gb of RAM
    Windows 7 x64 Home
    Disk 500 Gb 7200rpm

    More details on my profile, but I think it's not a too small machine ;)

    Sources compiled with C# Express 2008 SP1, with your options, no changes made.

    How to reproduce : It seems the problem occurs only on a very large number of items starting with the same name (over 500 ?), and if I do a little pause in typing, as you can pause to get the "-" of the numpad. If I search on a few video, i can't see the problem.

    It's why I told search begins, I type while searching, and when search finish, the text is changed.

    Good luck with this bug, I very hope you'll find the solution ! For all : you and us :)

    Cheers.
    Smeulf.
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: Re: General considerations about playlists and media browsing

    How to reproduce : It seems the problem occurs only on a very large number of items starting with the same name (over 500 ?), and if I do a little pause in typing, as you can pause to get the "-" of the numpad. If I search on a few video, i can't see the problem.

    It's why I told search begins, I type while searching, and when search finish, the text is changed.

    I don't understand that completely. From my current knowledge, currently there is one bug remaining which can cause the cursor to be updated inconsistently in the other thread. That problem is the same as we had with the text before, which I fixed two days ago. After I fixed the cursor problem (maybe tonight), both the text and cursor changes should be consistent in both threads.
    -> The cursor problem is the answer why your text cursor was not positioned correctly. And this problem is independent from the actual search; it should occur in each text field.

    But the missing chars problem should actually be gone, that's why I need additional help here:
    I don't understand from your description above what exactly you do. Is it possible that this happens:
    You type "sg1", then the search starts, then the search returns and builds the result list, then while the result list is being built, after 1 second the busy cursor appears and you try to type the "-", which is being discarded while the busy cursor is visible? That could explain the missing "-".
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Hi Albert,

    Inconsistent cursor mouvement problem is fixed, but the main problem remains @revision 3330

    Tried SG1-S09

    Shows : sg1-
    Then : sg1s0
    And then : sg1-9

    The busy cursor can explain the missing "-", but I've the feeling (I may be wrong) that missing chars and replaced chars are in fact one only problem, that appears differently. Some times the char as enough time te appear, some time not.

    If it is only a busy cursor problem, I would not see a char replaced by another one...

    Or it's only a busy cursor problem, that is not woorking as expected ? If the busy cursor is not active, the input is not disabled, and then I can see things that sould not be handeled ? Am I right ?

    See attached logs.

    Cheers.
     

    Attachments

    • log1.zip
      1.6 KB

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: General considerations about playlists and media browsing

    Currently, I don't have any idea why the problem still exists. But it seems that it only happens on the fourth or fifth char, always when you have to move the hand from the alpha-keyboard to the "-" on the numpad and back. So it is probably a timing issue. Maybe your typing is exactly so fast that when you type the "-", some internal state is given for that problem. I'll see if I find another bug which might produce that problem.
    Btw, I fixed another issue which COULD cause multithreading issues with bindings, but I didn't assess it exactly yet if that bug could be responsible for the problem here.
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    @rev 3362, problem still exists.

    Your last fix did not solved it, sorry...

    Take your time, you'll find it the day you will not search ;) I hope...

    Still aviable for debug if needed.

    Cheers.

    Smeulf.
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: General considerations about playlists and media browsing

    I'll set this thread to "fixed" because all bugs are fixed. Two items from the original message are remaining; I'll put them onto an internal todo list:
    - Sort playlists
    - Save playlist position and resume playlist
     

    Users who are viewing this thread

    Top Bottom