Crashes if path is long or contains foreign characters

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
Lee James
Posts: 60
Joined: Sun May 25, 2014 12:47 pm

Crashes if path is long or contains foreign characters

Post by Lee James » Tue Sep 27, 2016 3:07 pm

I have had a problem with XnView for a long time now. When I open an image, the program always crashes if:

1. The folder path contains foreign characters (eg עִבְ or 漢字)

or

2. The folder path is longer than about 237 characters

Similar threads from the past:
http://newsgroup.xnview.com/viewtopic.php?f=36&t=18709
http://newsgroup.xnview.com/viewtopic.php?f=36&t=6113

I'm running Win7 x64

(Also, I still can't zoom selection with the right mouse button. I hope this will be fixed one day.)

cday
XnThusiast
Posts: 2156
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Crashes if path is long or contains foreign characters

Post by cday » Tue Sep 27, 2016 5:40 pm

Lee James wrote:I have had a problem with XnView for a long time now. When I open an image, the program always crashes if:

1. The folder path contains foreign characters (eg עִבְ or 漢字)
XnView Classic doesn't support Unicode characters, only XnView MP and XnConvert, but I wasn't aware it could cause a crash...
2. The folder path is longer than about 237 characters

Similar threads from the past:
http://newsgroup.xnview.com/viewtopic.php?f=36&t=18709
http://newsgroup.xnview.com/viewtopic.php?f=36&t=6113

I'm running Win7 x64
A limitation of the operating system, rather than XnView software?
Also, I still can't zoom selection with the right mouse button. I hope this will be fixed one day.
A separate thread might be better for that request, but I think that option is supported in XnView MP... :)

Lee James
Posts: 60
Joined: Sun May 25, 2014 12:47 pm

Re: Crashes if path is long or contains foreign characters

Post by Lee James » Tue Sep 27, 2016 10:11 pm

Thanks for the reply Cday :)
cday wrote:XnView Classic doesn't support Unicode characters, only XnView MP and XnConvert
I thought XnView MP was really just for Mac or Linux users?

I have just found a list of differences between XnView and XnView MP, but I still don't get why there are two versions? Could anyone please explain? If XnView MP has more features and is more developed, why is the classic version popular? Is this about speed? I remember when ACDSee suddenly got slow and everyone (including me) started reverting back to older versions - is this the same situation?

But still, I wouldn't have thought that unicode support could slow the program down? The ability to view all folders would seem like a basic essential to me.
cday wrote:
2. The folder path is longer than about 237 characters
A limitation of the operating system, rather than XnView software?
Well Windows has no problem reading and opening those files with long path names, so I don't really understand why XnView should struggle.
cday wrote:
I still can't zoom selection with the right mouse button.
A separate thread might be better for that request, but I think that option is supported in XnView MP... :)
Yes, it is supported but it doesn't work on my computer. I made a thread about this 2 years ago, but it still hasn't been fixed yet so I wanted to mention it again as I find it frustrating. I do a lot of zooming, and the preset zoom levels are way too far apart.


Post Reply