Now I was curious enough to isolate the reason and I found it. Apologies if there's already a thread, I couldn't find it.
As soon as there is a network folder shortcut in the same directory as the picture and the network folder is not available, XnView MP is hanging about 25 seconds. I marked the position in the debug output below.
I my case, I have shortcuts for UNC paths like "\\another_pc\d$" to other PCs on the desktop. If I remove those shortcuts, no delay at all.
Is there a setting to prevent this behaviour?
I just want to open a single picture and at least from a user perspective, I don't want to browse anything else in the picture's directory.
EDIT: Just realized there's a newer version 1.6.4. Updated and behaviour is exactly the same.
Code: Select all
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 1278 1360
w.init
w.start
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such slot AbstractViewWindow::onPagePrevious()
##PB connect <1onPagePrevious()>
QObject::connect: No such slot AbstractViewWindow::onPageNext()
##PB connect <1onPageNext()>
QObject::connect: No such slot AbstractViewWindow::onPageFirst()
##PB connect <1onPageFirst()>
QObject::connect: No such slot AbstractViewWindow::onPageLast()
##PB connect <1onPageLast()>
QObject::connect: No such slot AbstractViewWindow::onUseSmooth()
##PB connect <1onUseSmooth()>
QObject::connect: No such slot AbstractViewWindow::onNormalize2()
##PB connect <1onNormalize2()>
QObject::connect: No such slot AbstractViewWindow::onAlign()
##PB connect <1onAlign()>
MENU install : 000001F5EB38CE50
@@@@@@@@@@
Create window finished
==> 1278
ThumbLoaderThread :: stop()
@@ BitmapResizeThread:: clear
MyView::change C:/Users/Yoshi/Desktop/maniac_1_26.jpg
@@ BitmapResizeThread:: clear
## Bitmap :: load 0
###### GFF:load <C:/Users/Yoshi/Desktop/maniac_1_26.jpg>
####LOAD <C:/Users/Yoshi/Desktop/maniac_1_26.jpg> 0
@@ BitmapResizeThread:: clear
### resetViewport (000001F5EB3A04B0) ==> 1278 1258 (1240 1258) 0 0
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
STL::SORT... 0
SORT the list... 0
SORT the list... 0
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(1)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : eb5ded90
######ThumbLoaderThread :: forever : eb5ded90
** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
setCurrentFilename <C:/Users/Yoshi/Desktop/maniac_1_26.jpg>
######ThumbLoaderThread :: forever 2 : eb5ded90
CHECK <1>
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
### START 1
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
######ThumbLoaderThread :: start : 1 -1 -1
### ThumbLoaderThread :: setFirstItemToLoad
** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
### resetViewport (000001F5EB3A04B0) ==> 2560 1267 (1249 1267) 0 0
######ThumbLoaderThread :: forever : eb5ded90
** start condition wait
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : eb5ded90
CHECK <0>
######ThumbLoaderThread :: forever : eb5ded90
** start condition wait
## OPEN FOLDER
********************************
* *
* *
* ROUGHLY 25 SECONDS WAIT TIME *
* *
* *
********************************
## Check folder
## Check companion 0
## Check companion ok 0
## OPEN DB FOLDER ok 22434
## UPDATE DB FOLDER ok 22434
## OPEN FOLDER ok 22434
## updateLabel 22435
## updateLabels ok 22435
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
STL::SORT... 0
SORT the list... 0
SORT the list... 0
## OPEN FOLDER done 22446
setCurrentFilename <C:/Users/Yoshi/Desktop/maniac_1_26.jpg>
SORT the list...
STD::SORT... 0
STL::SORT... 0
SORT the list... 0
SORT the list... 0
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(2)
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : eb5ded90
CHECK <1>
### START 2
######ThumbLoaderThread :: start : 1 -1 -1
######ThumbLoaderThread :: forever : eb5ded90
** start condition wait
SORT the list...
STD::SORT... 0
STL::SORT... 0
SORT the list... 1
SORT the list... 1
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok