Slow Start with XnView MP 1.6.4 Windows 11 64-bit

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

yoshi41
Posts: 1
Joined: Mon Jan 15, 2024 5:46 pm

Slow Start with XnView MP 1.6.4 Windows 11 64-bit

Post by yoshi41 »

I have random (at least I thought it's random) long loading times when opening a picture since a while. If I double-click a picture, it's opened and displayed immediately but it takes about 25 seconds until XnView MP is responsive.

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
jayboyjayboy
Posts: 4
Joined: Fri Oct 28, 2022 6:54 pm

Re: Slow Start with XnView MP 1.6.4 Windows 11 64-bit

Post by jayboyjayboy »

I have this exact exact same problem.

forgot to say that this issue has always been there for me. it's always why i go back from MP to CLASSIC. it seems if the folder or directory has a network shortcut of any kind, there is about a 8-12 second lag.
jayboyjayboy
Posts: 4
Joined: Fri Oct 28, 2022 6:54 pm

Re: Slow Start with XnView MP 1.6.4 Windows 11 64-bit

Post by jayboyjayboy »

have you found any fixes for this?
User avatar
xnview
Author of XnView
Posts: 43710
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Slow Start with XnView MP 1.6.4 Windows 11 64-bit

Post by xnview »

jayboyjayboy wrote: Thu Feb 22, 2024 1:19 pm have you found any fixes for this?
I have the same problem with Classic, if there is a 'dead' shared folder, it takes 10 sec. Perhaps you don't show them in Classic and show them in MP?
Pierre.