0.86 64 bits: Can’t open files with long full path

Bugs which have been reproduced by a second user or the developer

Moderator: Dreamer

Posts: 1
Joined: Sun Aug 13, 2017 3:17 pm

0.86 64 bits: Can’t open files with long full path

Postby RomanM » Sun Aug 20, 2017 5:06 pm

XnView: MP 0.86 - 64 bit
OS: Windows 10 Home single language (Russian) - 64bit

XnViewMP fails to open files with full path longer than 255 characters.

Effect: file is not opened, sometimes no error is shown, sometimes error is shown.

To reproduce:
1. Create folder structure and place there .jpg file. Full .jpg file path must be longer than 255 characters. For example, my path is: “d:\FotoArchive\Album#2\Processed\003-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque pharetra nulla a lacus imperdiet commodo. Vivamus lobortis iaculis augue, a malesuada magna pretium quis. Suspendisse fermentum placerat justo, at ultrices lib.jpg” or (with Russian characters in the file name) "d:\FotoArchive\Album#2\Processed\003-Анатолий (справа), брат Воровцовой Галины Федоровны и неизвестный. Надпись на обороте На память сестре Галине от брата Анатолия в дни моей службы в Германии. Помни вечно, дарю сердечно. Зыков. Германия. 1954. Лицевая сторона.jpg"
2. Open XnView MP and navigate to the folder with the .jpg file (e.g. d:\FotoArchive\Album#2\Processed\)
3. NOTE: file preview is shown correctly!
4. Double-click on the .jpg file.
Actual behaviour (bug): nothing happens, or (if there are Russian characters in the file path) this error is shown:
Ошибка при открытие файла <D:\FotoArchive\Album#2\Processed\0>

Expected behaviour: Image is shown.

Posts: 15
Joined: Thu Apr 07, 2016 8:52 pm

Re: 0.86 64 bits: Can’t open files with long full path

Postby krzysiu » Sun Oct 08, 2017 5:04 am

Not a bug, as long as user didn't opt-in to new path length limits (https://msdn.microsoft.com/en-us/librar ... 85%29.aspx). In other case such files shouldn't exist and they are simply erroneous.

Return to “Reproduced”

Who is online

Users browsing this forum: No registered users and 1 guest