Announcement

Collapse
No announcement yet.

V4.25: Sort directory files xp style not working correctly

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Pending V4.25: Sort directory files xp style not working correctly

    Hi everyone I think I found a "bug".

    When using the xp sorting mode irfanview (with original settings apart from the sort as xp option) shows pictures in the "wrong" order.

    To show what I mean I submitting 4 pictures:



    If possible, could admins try to fix it in future irfanview versions, and/or could someone help me modifying xp so that it shows previews/files in the same order as irfanview (the problem is that they show them in different ways )

    Step by step guide:
    Download and unrar the files into a folder on xp.
    Rightklick in the xp folder: "arrange files by" and "name"
    Open one picture, make sure you use "option/sort directory files/by name XP style"
    Go from the first to the last picture by pressing the arrowkeys(or any other way, im just using the arrowkeys to make sure we do it the same way), you will notice that irfanview wills how you the pictures in this order:
    1:__The_King___by_Krestersy
    2:_Naruto___Looking_for_Angels__by_orin
    3:where is your heart gone to
    4:2be4fb4779174ed12b38fd717908df7e_abigel

    BUT xp will show them in this order:
    1:__The_King___by_Krestersy
    2:_Naruto___Looking_for_Angels__by_orin
    3:2be4fb4779174ed12b38fd717908df7e_abigel
    4:where is your heart gone to


    So basicly its swapping 3 and 4.

    Extra info: version: 4.25 (the latest)
    Operating system: XP x86 SP3 (english)
    Hardware: AMD athlon 64 x2 3800+, geforce 8400

    Changing their names to 1,2,3,4 stopped this from happening.

    I think (but im not sure) that it happens the most when special characters such as ' _ and - are used.


    Btw love irfanview
    Attached Files
    Last edited by illya_; 20.02.2011, 03:43 PM. Reason: forgot to add some info

    #2
    Your are right!

    The program is swapping 3 and 4!

    see:

    (Click to view full size!)
    Last edited by Frank; 21.09.2009, 09:12 PM. Reason: I had to change my answer! After testing and exact looking I saw it also!

    Comment


      #3
      I havent been able to find a pattern yet, ill post sometime tomorrow if I find one.

      ill post some data now:
      in windows(with arrange icons by name"):

      1:a3ded5ce10c54803a67614c4bf46543c
      2:A_Little_Break_Time_by_jevanni0611
      3:A_whisper_by_radfel
      4:all the pigs are all lined
      5:ANBU Itachi in water
      6:ANBU_Itachi_Sketch_by_stirringwind
      7:Anbu_Itachi_Wallpaper_by_Jasmine_Hime25
      8:and-I-knew-my-loss,-before-
      9:and-you,-as-well,-my-dear
      10:Another_Demonic_Itachi_ver_
      11:ants are in the sugar
      12:b938a473dfa8f790


      in irfanview(with "by name ascending xp style"):

      1:a3ded5ce10c54803a67614c4bf46543c
      2:all the pigs are all lined
      3:ANBU Itachi in water
      4:ANBU_Itachi_Sketch_by_stirringwind
      5:Anbu_Itachi_Wallpaper_by_Jasmine_Hime25
      6:and-I-knew-my-loss,-before-
      7:and-you,-as-well,-my-dear
      8:Another_Demonic_Itachi_ver_
      9:ants are in the sugar
      10:A_Little_Break_Time_by_jevanni0611
      11:A_whisper_by_radfel
      12:b938a473dfa8f790


      2 and 3 move to 10 and 11, and they both have a _ early in their name, so Im asuming those are to blame here.

      All the files are .jpg

      I have a lot of files that are in the wrong order, but I figured a sample would be better than nothing.

      EDIT:

      It seems ' also causes problems:

      windows:
      1:I can try to scratch away
      2:I can't go on, digging rose
      3:I'd love to just give in
      4:I'm not
      5:it seems insane to me, can't escape the family tree
      6:it_makes_no_difference_to_me_by_alice_insain

      irfanview:
      1:I'd love to just give in
      2:I'm not
      3:I can't go on, digging rose
      4:I can try to scratch away
      5:it seems insane to me, can't escape the family tree
      6:it_makes_no_difference_to_me_by_alice_insain

      I can try to scratch away
      Last edited by illya_; 21.09.2009, 09:43 PM. Reason: added more info

      Comment


        #4
        Both lists are not according to the ASCII order, where capitals come first.
        The underscore could indeed cause the trouble, because it's 5Fh, which is in between capitals and lowercase.
        0.6180339887
        Rest In Peace, Sam!

        Comment


          #5
          There is really no such thing as a universal XP sort order. The order is set by a Registry key and the default changes according to the language selected.
          I wonder whether Irfan makes use of that registry key or has his own algorithm for sorting XP style.

          Comment


            #6
            Originally posted by Mij View Post
            There is really no such thing as a universal XP sort order. The order is set by a Registry key and the default changes according to the language selected.
            I wonder whether Irfan makes use of that registry key or has his own algorithm for sorting XP style.
            So you mean I can actually edit the registry to show pictures in the same way that irfanview shows em?

            I actually dont care if I have to change windows order or anything, I just want them to show them in the same order

            EDIT: I use the english version of xp professional sp3, in case that makes the sorting any different
            Last edited by illya_; 22.09.2009, 03:24 PM. Reason: more info

            Comment


              #7
              I've forwarded this topic to Irfan Skiljan!

              In his answer he told me:
              Yes, the XP-option is not 100% like XP, because it's another source code!
              => it is similar, but surely not to 100% equal.
              Will try will improve, ...

              regards
              Frank

              Comment


                #8
                Thanks people Im looking forward to a release

                Comment


                  #9
                  As a matter of fact, I noticed more trouble with the '_'..
                  I had two files in this order :
                  60wheel_mech.png
                  60wheel16.png
                  If I open the first one, and want to see the next with a 'space', the second file is skipped.
                  0.6180339887
                  Rest In Peace, Sam!

                  Comment


                    #10
                    Hi again.

                    Since it says thread says "PENDING" and Frank have sent the author the info I assume it has not been changed (I have not tried version 4.27 for instance, but the change log does not say anything regarding this bug).

                    I figure I could add some more examples (they might be of some help):

                    Windows order:
                    a hear the prairie
                    bada___Beck
                    bada_by_kost
                    bada_by_KUL
                    bada_with_the
                    Light_and_shadow
                    pc__bada

                    Irfanview 4.28 order:
                    a hear the prairie
                    bada_by_kost
                    bada_by_KUL
                    bada_with_the
                    bada___Beck
                    Light_and_shadow
                    pc__bada

                    So basicly "bada___Beck" changes place and I assume it is the double _ being the reason.

                    More info: I use the latest irfanview and english windows 7 pro x64.

                    I use Sort directory files byname Ascending, XP style.

                    Comment

                    Working...
                    X