Announcement

Collapse
No announcement yet.

Going to next file restarts from beginning when launching IrfanView by clicking image

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

    Reported Going to next file restarts from beginning when launching IrfanView by clicking image

    In older versions, when I double-clicked a file in Explorer, and then went to next image by pressing spacebar, IrfanView would load the next file in directory alphabetically (eg. if there are files 1.jpg, 2.jpg and 3.jpg in directory, double-clicking 2.jpg in Explorer, and then pressing Spacebar in IrfanView would show 3.jpg), but since 4.38, pressing spacebar restarts from the first file in directory (from previous example, 1.jpg would be shown). This makes IrfanView much less useful to me.

    IrfanView now also shows 0/nnn in Current Directory Index textbox when double-clicking an image in Explorer, which is probably related to this (normally it never shows 0).

    #2
    What is the setting in Options, Sort Directory Files?
    Before you post ... Edit your profile • IrfanView 4.67 • Windows 10 Home 19045.2486

    Irfan PaintIrfan View HelpIrfanPaint HelpMore SkinsFastStone CaptureUploads

    Comment


      #3
      By Name (natural/logic order), but changing it and restarting IrfanView doesn't make a difference.

      Comment


        #4
        Originally posted by ender View Post
        IrfanView now also shows 0/nnn in Current Directory Index textbox when double-clicking an image in Explorer, which is probably related to this (normally it never shows 0).
        Then you've probably changed the settings: Properties, Browsing/Editing, View all files in directory.
        Before you post ... Edit your profile • IrfanView 4.67 • Windows 10 Home 19045.2486

        Irfan PaintIrfan View HelpIrfanPaint HelpMore SkinsFastStone CaptureUploads

        Comment


          #5
          Without that setting enabled, spacebar doesn't work at all (all directory-related functions in View menu become greyed, too; Index shows 0/0).

          Comment


            #6
            I do not see this in v4.38. It behaves just the same as all the previous versions.
            Index 0 usually means that the file has not yet been named. Is your example - 1.jpg, 2.jpg, etc. what the files are actually named. If not what is the one that displays index 0 called and is the name shown correctly on the Caption bar?
            Open Thumbnails and see what order they are shown in there.

            Comment


              #7
              I found the problem: the file manager I'm using was only passing the filename to i_view32.exe - after I changed the association to pass full path, 4.38 started behaving like older versions again. The weird thing is, the image was always displayed properly, but without full path, IrfanView somehow couldn't determine the file's position in directory.

              Comment


                #8
                Irfanview clearly could have determined the file's position in the directory. It must have found the image or it would not have been able to display it. So the image had to be in one of the folders that Irfanview searches when no path is passed with the filename.

                I know that Irfanview searches the folder where the i_view32.exe file is located but I suspect that there are other places that are searched too. If it finds where the image is, it would know what folder it was in, and presumably it then asks Windows for the names of other images in that folder to produce the file list complete with path names. Apparently though it forgets to go back and add the path name to the image it opened with.

                I suppose that means that technically it is a bug, but not one that is likely to trouble most users.

                Comment

                Working...
                X