Sorry to resurrect this thread, but this hang really bugs me and I just registered an account to have my input. I have the most recent version of XnView MP (1.4.2 x64) and it still happens to me. I do open the image from Windows, by double-clicking it, with XnView being set to open the classic Viewer upon startup (not fullscreen, and not the browser view).
I understand, that the hang is caused by a shortcut to an unavaliable Network Share, and I also reproduced it - can confirm again, it is caused by that. The problem is, I have some important local share shortcuts on my Desktop, which I regularly use. However, I also use my Desktop as a quick dump of any image I download, any image I quickly want to work on, and I still want to keep them on my Desktop. At the same time, XnView MP is my go-to app to use to quickly open images, and have been for years, years (starting with the Classic version). I really don't want to move to an other app.
Please, I know we found the culprit, and I only know a little bit of programming, but please, could we have a "fix" for this hang, even if it is a simple one? I'm thinking of like a very quick timeout which, upon detecting a Network Share shortcut, after no response from the share it would cause the folder to be skipped, so the Viewer does not hang. There is probably a better method to solve this (you know the optimal way much better than I do, I'm 100% sure

). It is an annoying (and I guess, common) issue, that I think could be worked around. Both using my Desktop and the placed Network Share shortcuts (and also, using your great XnView app as well!) are important to me while using my computer, and I still want to keep using them, but this hang breaks the whole experience, as during the loooong hang the app can't be used at all.