XnView hangs when browsing through large folder

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

Moderators: helmut, XnTriq, xnview

Post Reply
Conqueror
Posts: 11
Joined: Mon Dec 07, 2009 5:03 am

XnView hangs when browsing through large folder

Post by Conqueror »

I've always had this problem with XnView for years. I always anticipated the problem to be fixed whenever I downloaded a new version. However, it hasn't.

Therefore I just had to sign up and report this annoying bug.

Whenever I open an image from a folder with lot of images (for example 200 or even less depending on their sizes), the image opens without a problem. However, when I try to browse to the next image, I get a very long freeze lasting many seconds or even maybe up to a minute if the folder contains a lot of images. This freeze also occurs if I try to close XnView instead of browsing. I get a long freeze before the program closes.

I have enabled caching but this doesn't help. If I close the image and open again, it takes the same amount of time to begin browsing.


Oh, and while I am here I just want to suggest another thing:

The keyboard/mouse settings seem to be opposite by default to what they should be to me. Of course this is a personal preference, but comparing the keys with other programs, it makes sense to use the following:

Space: Go to next picture (this one isn't that important, starting slide is fine too)
Cursor Left/Right: Previous/Next file
Cursor Up/Down: Previous/Next frame
Left Button: Move picture
Right Button: Make selection
Mouse wheel: Zoom
Left Button use in selection: Move selection
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView hangs when browsing through large folder

Post by xnview »

Which sort setting do you have?
Pierre.
Conqueror
Posts: 11
Joined: Mon Dec 07, 2009 5:03 am

Re: XnView hangs when browsing through large folder

Post by Conqueror »

Sorry I don't exactly know what you're asking me. My settings are default in XnView.

Only thing I have changed are the keyboard binds to the ones I listed above. And also, I chose not to automaitcally play audio and video files. I haven't touched anything else.


Edit:

Sorry, I don't think I made myself clear. I am opening the images by double clicking from windows explorer. The image opens fine. But when I press the right or left arrow to view next image in the folder, the program freezes for along time.

Same happens if I simply open an image from windows explorer and then close xnview without scrolling. Xnview freezes before closing.

I have checked just now, and the problem is not there if I open an image from xnview browser from within xnview. But the problem is there when opening images from windows explorer. I don't use built in browser in xnview. I just use windows explorer and have associated all imaged to xnview, so when I open an image from windows explorer, it always opens in view mode and not browser mode in xnview.

This problem was there in windows XP, Vista and now Windows 7.
Last edited by Conqueror on Tue Dec 08, 2009 6:04 am, edited 1 time in total.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView hangs when browsing through large folder

Post by XnTriq »

Hello Conqueror,

you may want to try these settings:
  • Tools » Options (F12)
    • » General » Operations » Startup
      • » Launch Browser at Startup = deactivated
        » Mode when starting with a file = [Fullscreen Browser] (a/k/a “Fullscreen Lite”)
      » Browser » Browser
      • » Syncronize Browser selection with current View = deactivated
Conqueror
Posts: 11
Joined: Mon Dec 07, 2009 5:03 am

Re: XnView hangs when browsing through large folder

Post by Conqueror »

Hello XnTriq,

Your suggestion kind of worked as I didn't experience the freezes. However, when I double click on an image in windows explorer, XnView opens in browser mode. This is not what I wanted. I want to open the image in normal mode. That is a must. I want to use windows explorer as my image browser but want to open image in xnview normal mode with I double click it.

Therefore, I used the following setting:

» Mode when starting with a file = [Normal]

and everything works fine now. No feezes when I browse. :D
Conqueror
Posts: 11
Joined: Mon Dec 07, 2009 5:03 am

Re: XnView hangs when browsing through large folder

Post by Conqueror »

Here is something mind boggling. I changed settings back to how they were when I was getting freezes, and now I'm not getting the freeze. I tried it with a folder with 1000 files and no freezes.

So how is this fixed? I think there is a bug in xnview somewhere and it fixed the problem when I changed one of those settings and then changed them back to default. I've been having this problem for couple of years in XP, Vista and Windows 7. It was very annoying almost every day. And now it fixes itself by just changing the settings and then changing them back. :?

It might be something to do with permissions or file associations or program integration.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView hangs when browsing through large folder

Post by XnTriq »

In cases like this Pierre usually recommends removing the configuration file (%ProgramFiles%\XnView\xnview.ini or %AppData%\xnview.ini) to ensure that any incompatible/deprecated settings left behind by earlier version won't be carried over to newer ones.
Conqueror
Posts: 11
Joined: Mon Dec 07, 2009 5:03 am

Re: XnView hangs when browsing through large folder

Post by Conqueror »

Thanks for the reply. It was really bugging me and I was checking this thread to see if anyone gave an answer and I think you have got the answer right!

I copied my old ini file to my AppData\Roaming\XnView folder and I get the freeze again. Looks like I had been using an old ini file when I installed new version of Xnview. I wanted to preserve my settings instead of having to go through setting everything up again.

If you want to see the problem ini file, it's this one:

Code: Select all

[AutoCrop]
Tolerance=0

[Browser]
ActionConvert=0
ActionSlide=0
ArrangeBy=4
AutoCollapse=0
AutoPlay=0
BColorFilter01=jpeg, 237 237 202
BColorFilter02=gif, 220 235 220
BColorFilter03=png, 232 222 220
BColorFilter04=bmp, 227 227 255
BColorFilter05=tiff, 192 197 235
BColorFilter06=tga, 230 255 255
BColorFilter07=iff, 247 235 235
BColorFilter08=sgi, 247 237 242
BColorFilter09=pcx, 235 230 230
BColorFilter10=psd, 255 255 227
BColorFilter11=pcd, 235 215 235
BColorFilter12=psp, 237 208 163
BColorFilter13=pict, 202 202 255
BColorFilter14=xpm, 242 227 21
BColorFilter15=xbm, 216 216 216
BColorFilter16=pbm, 191 191 182
BColorFilter17=pgm, 207 207 197
BColorFilter18=ppm, 235 225 159
BColorFilter19=ras, 255 255 227
BColorFilter20=wmf, 187 187 187
BColorFilter21=emf, 212 212 212
BColorFilter22=ico, 217 247 227
BColorFilter23=cur, 217 247 227
BColorFilter24=ani, 217 247 227
BColorFilter25=fpx, 229 255 255
BColorFilter26=jp2, 237 237 202
BackListColor=16777215
BackgroundColor=16777215
BorderColor=0
BorderSize=0
CRAW=1
ClickRename=1
Custom0=<Focal Length>mm f/<F-Number> <Exposure Time>s <ISO Value>iso
Custom1=<Width>x<Height> - <Size KB>
Custom2=
Custom3=
Custom4=
EnableAutoRefresh=1
FilterBy=5
FitVideo=0
FitWindowOption=1
FlatStyle=0
FollowLink=1
FullPreview=0
FullRowSelect=1
Height=994
HidePreviewScrollBar=0
HighQuality=0
IconHeight=69
IconInfo=2039
IconWidth=92
InfoO-0=1
InfoO-1=1
InfoO-10=1
InfoO-11=1
InfoO-12=1
InfoO-13=1
InfoO-14=1
InfoO-2=1
InfoO-3=1
InfoO-4=1
InfoO-5=1
InfoO-6=1
InfoO-7=1
InfoO-8=1
InfoO-9=1
LabelsAlignment=1
LabelsSpacing=1
Layout=4
ListHeight=256
ListViewHeight=507
ListViewWidth=1058
ListWidth=256
NavigateSubFolder=0
OldTreeTab=0
OldValue=0
OneClick=0
OpenAction0=0
OpenAction1=0
OpenAction2=0
OpenAction3=1
OpenAction4=0
OpenAction5=1
OpenAction6=0
PasteOnSubfolder=0
PreviewColor=8421504
PreviewHeight=445
PreviewWidth=0
PrintInfo=0
RecognizeByExt=1
RenameHideExtension=0
RotationKeepData=1
RotationUseEXIF=0
RotationUseLossless=1
ScanHeaders=0
SelectLastAddedFiles=0
SharpenThumb=0
SharpenValue=50
ShowDesktop=0
ShowDirList=1
ShowFilename=1
ShowGridLines=1
ShowHexaView=0
ShowHiddenFile=0
ShowPreview=1
ShowSmallToolbar=1
ShowTabTree=1
ShowTabView=1
ShowToolTips=1
Spacing=4
StartupDirectory=C:\Users\[removed]\Desktop\
StartupIn=2
StatusInfo=0
SyncWithView=1
TabTreeLabel=0
TagSetting=1
TextBackColor=12632256
TextColor=0
Thumb41Folder=1
ThumbConfig=10 5 50 
ThumbGamma=1.00
ThumbnailColor=16777215
TimerForPreview=200
TooltipText=<Filename With Ext>, <Size> bytes, <Modified Date>||<Format>||<Width>x<Height>, <BPP> bits
TreeViewHeight=275
TreeViewWidth=200
TxtExt=txt c c++ cc h cpp pas js css php ini
UpdateTreeViewWhenRefresh=1
UseBackgroundColor=0
UseBytes=0
UseColor=1
UseFileDB=1
UseGammaOnThumb=0
UseInch=0
UseRating=1
UseRenameDlg=1
UseShadow=1
UseTag=1
UseThumbnailColor=0
VHidePanel=1
VListLayout=0
VideoFrame=0
VideoPlayBar=1
ViewColumn=255
Viewas=1
Width=1280
X=0
Y=0
column0=0
column1=0
column10=0
column2=0
column3=0
column4=0
column5=0
column6=0
column7=0
column8=0
column9=0
tcolumn0=0
tcolumn1=0
tcolumn2=0
tcolumn3=0

[Cache]
Compression=1
IsActive=1
MaxDir=99
SavingMode=0

[Canvas]
KeepRatio=0
Position=4

[Capture]
Area=2
ClientArea=1
Delay=5
Directory=
FormatName=jpeg
HideCursor=0
HideXnView=1
HotKey=9
IncludeCursor=0
Method=0
Multiple=0
SaveIntoFile=0

[ContactSheet]
BackgroundColor=16777215
Columns=4
Flags=4
FontBold=0
FontHeight=-13
FontItalic=0
FontName=Courier
FootNote=
HeadNote=
Height=1000
MarginHeight=16
MarginWidth=16
Rows=4
SpacingHeight=8
SpacingWidth=8
Text=<Filename>
TextBackgroundColor=16777215
TextColor=0
ThumbnailBackgroundColor=12632256
Width=1000

[Convert]
CloseDlg=0
DefaultFormat=jpeg
DeleteOriginal=0
HideError=0
KeepFormat=0
KeepOriginalDate=0
KeepSubFolder=0
Overwrite=3
UseOrgPath=0

[ExConvert]
AutoRefresh=1
BmpOs2=0
BmpRle=0
ColorMode=-1
Format=0
Gif87=0
GifInterlaced=0
Jpeg2000FileSize=100
Jpeg2000Mode=0
Jpeg2000Quality=70
Jpeg2000Ratio=20
JpegDCTMethod=0
JpegOptimizeHuffmanTable=0
JpegProgressive=0
JpegQuality=70
JpegRemoveMetadata=0
JpegSmoothFactor=0
JpegSubSampling=0
PcxRle=0
PngCompressionLevel=7
PngFilter=0
PngInterlaced=0
TgaRle=0
TiffBinaryCompression=0
TiffCompression=0

[File]
ConfirmFileDelete=1
CopyCompanionFile=1
CopyTo=
DeleteRecycleBin=1
DirName_0=
DirName_1=
DirName_2=
DirName_3=
DirName_4=
DirName_5=
DirName_6=
DirName_7=
DirName_8=
DirName_9=
KeepDate=0
MoveTo=
PasteNoCopy=0

[FileSelector]
IncludeSubDirectories=1

[Full]
BackColor=0
DualMStretch=0
DualMUse=1
Fit=0
HidePlayBar=0
HideScrollBar=1
SizeDelay=2048
UseDelay=1

[Fullscreen]
FontBold=0
FontCharSet=1
FontHeight=-13
FontItalic=0
FontName=Courier
IsTransparent=1
Position=0
TextBackColor=0
TextColor=16777215

[Install]
ViewAsName=1

[Iptc]
Combine=0
KeepDate=1
Leave=1
Merge=1
Replace=0
UpdateXMP=1

[Load]
CRAWAutoBalance=0
CRAWBlueScaling=1.00
CRAWBrightness=0.80
CRAWCameraAutoBright=1
CRAWCameraBalance=1
CRAWGamma=0.60
CRAWHighResolution=0
CRAWRedScaling=1.00
ChannelOrder=0
ChannelType=1
DjVuMaxDpi=0
EXIFDpi=0
EXIFRotate=1
ExrGamma=1.00
GrobBpp=0
HdrGamma=1.00
Height=256
ICCProfile=0
ICCProfileName=
IcoIn32bits=1
IgnoreError=0
Lut10to8Name=
Offset=0
PcdBase=2
PddPage=0
PngComposeWithAlpha=0
PngComposeWithTransparency=0
PostscriptDpi=72
PostscriptPageSize=0
Preview=1
UseEmbeddedThumbnail=1
UseLut=0
UseOrgIfSmall=1
WMFHighResolution=0
Width=256
YuvHeight=576
YuvOffset=0
YuvWidth=720

[MultFile]
All=0
Directory=
FileName=image
Format=0

[OpenWith]
OpenWith_0=

[Pan]
BColor=0
Center=0
HOrientation=1
Height=0
Orientation=2
Rand=0
Resize=1
RowCount=2
Unit=0
VOrientation=1
Width=0
XSpacing=0
YSpacing=0

[Player]
SoundOn=1
Volume=100

[Plugins]
0=Xjp2.dll|773|jp2|JPEG-2000 JP2 File Format|jp2;j2k;jpx;jpf;
1=Xjp2.dll|773|jpc|JPEG-2000 Code Stream|jpc;
Nb=2

[Process]
AutoView=1
Deinterlace=0
FilterAutoView=1
Last=39
LastValue_0=0
LastValue_1=0
LastValue_10=1
LastValue_11=33
LastValue_12=1
LastValue_13=1
LastValue_14=1
LastValue_15=1
LastValue_16=1
LastValue_17=1
LastValue_18=1
LastValue_19=0
LastValue_2=100
LastValue_20=0
LastValue_21=0
LastValue_22=-255
LastValue_23=-255
LastValue_24=0
LastValue_25=-255
LastValue_26=3
LastValue_27=3
LastValue_28=3
LastValue_29=3
LastValue_3=-255
LastValue_30=3
LastValue_31=9
LastValue_32=1
LastValue_33=1
LastValue_34=0
LastValue_35=0
LastValue_36=0
LastValue_37=0
LastValue_38=1
LastValue_39=0
LastValue_4=-255
LastValue_40=1
LastValue_41=-255
LastValue_42=0
LastValue_43=-255
LastValue_44=-255
LastValue_5=1
LastValue_6=58
LastValue_7=1
LastValue_8=28
LastValue_9=115
ShowPreview=1

[Resize]
DpiUnit=0
KeepDocSize=0
KeepRatio=1
PrintUnit=1
Resample=7
Unit=1

[Save]
AddExtensionIfNotExist=1
BmpCompress=0
ChannelOrder=0
ChannelType=1
DefaultFormat=jpeg
DpxIn10Bits=0
DpxMSBF=0
EcwTargetRatio=20
FpxQuality=100
Gif87aHeader=0
GifInterlaced=0
GifTransparentIndex=100
GifUseTransparentIndex=1
Hp49Header=0
IffCompress=0
IwcQuality=100
Jpeg2000FileSize=100
Jpeg2000Mode=1
Jpeg2000Quality=80
Jpeg2000Ratio=10
JpegDCTMethod=0
JpegKeepEXIF=1
JpegKeepIPTC=1
JpegKeepXMP=0
JpegProgressive=0
JpegQuality=80
JpegRebuildThumb=1
JpegSmoothFactor=0
JpegSubSampling=0
KeepOrgDate=1
LdfAddThumbnail=1
LdfQuality=1
LdfjpmBackFactors=1
LdfjpmBitonalCoder=2
LdfjpmForeFactors=1
LdfjpmQuality=8
Lut8to10Name=
LwfCompression=0
LwfJp2Compression=0
LwfJp2Rate=10
LwfJp2Size=4096
LwfMode=0
LwfQuality=70
LwfRate=10
LwfSize=1024
Offset=0
OptimizeHuffmanTable=0
Os2Header=0
PcxCompress=0
PdfCompress=4
PdfJpegQuality=80
PngCompressionLevel=6
PngInterlaced=0
PngTransparentIndex=0
PngUseTransparentIndex=0
PpmAscii=0
RgbCompress=1
SoftCompress=1
TgaCompress=0
Tiff1Strip=0
TiffBinaryCompress=0
TiffCompress=0
UseLut=0
UseOrgJPEGQuality=0
WMPQuality=100
WicQuality=100
WlmFactor=1

[Scr]
PlayMode=0
WindowHeight=480
WindowWidth=640

[Search]
AllType=0
AllWord=
CommentType=0
CommentWord=
DescType=0
DescriptionWord=
Directory=c:\
ExifField=0
ExifWord=
FileSize=0
FileSizeFlags=0
FileSizeUnit=1
Flags=0
FormatName=graphic
IptcField=0
IptcType=0
IptcWord=
Width=1024
WidthFlags=0
Word=

[Similar]
Method=0
Recursive=0
Tolerance=50

[Slide]
AudioLoop=0
BackgroundColor=0
Center=1
EffectFlag=0
EffectMask=268435455
FitSmall=0
FitSmallVideo=0
FontBold=0
FontCharSet=1
FontHeight=-13
FontItalic=0
FontName=Courier
Frame=1
Full=1
HighQuality=1
IsTransparent=1
Loop=1
MouseNav=0
NoError=0
NoTitle=1
OnTop=0
PlayMode=0
Position=0
Random=0
SLDRelativePathname=0
ShowText=1
SortOder=0
SortOrder=0
SoundFilename=
Text=<Directory><Filename>
TextBackColor=0
TextColor=16777215
Timer=1.00
UseGammaInEXE=1
UseSound=0
UseTimer=1
WinHeight=480
WinWidth=640

[Start]
AllFormats=0
AlwaysOnTop=0
BStatusBar=1
BToolBar=1
BarFilename=C:\Users\[removed]\AppData\Roaming\XnView\foo.bar
CColor-0=0
CColor-1=0
CColor-10=0
CColor-11=0
CColor-12=0
CColor-13=0
CColor-14=0
CColor-15=0
CColor-2=0
CColor-3=0
CColor-4=0
CColor-5=0
CColor-6=0
CColor-7=0
CColor-8=0
CColor-9=0
CheckUpdate=0
Custom1Extensions=HTM HTML MHT MHTML XML XHTML EML NWS URL
Custom2Extensions=
CustomIniPathFolder=
DirName_0=C:\[removed]
DirName_1=C:\[removed]
DirName_2=C:\[removed]
DirName_3=C:\[removed]
DirName_4=C:\[removed]
DirName_5=C:\[removed]
DirName_6=C:\[removed]
DirName_7=C:\[removed]
DirName_8=C:\[removed]
DirName_9=C:\[removed]
ENTER=1
FileName_0=C:\[removed]
FileName_1=C:\[removed]
FileName_2=C:\[removed]
FileName_3=C:\[removed]
FileName_4=C:\[removed]
FileName_5=C:\[removed]
FileName_6=C:\[removed]
FileName_7=C:\[removed]
FileName_8=C:\[removed]
FileName_9=C:\[removed]
Filter0=639
Filter1=895
Filter2=588
Filter3=287
FlatButtonInToolbar=1
Height=994
InFullscreen=0
LMB=1
Language=en
LastCheck=0
LaunchBrowserAtStartup=1
MMB=0
MaxFilesize0=999999
MaxFilesize1=999999
Maxi=0
MaximizeXnviewAtStartup=0
MenuUseExit=0
Only1ESC=1
OnlyOneInstance=0
OpenAll=1
ParamsSavingMode=0
PathAvi=
PathBrowse=C:\Users\[removed]\Pictures\
PathCache=
PathConvertSave=C:\Users\[removed]\Pictures\
PathLoad=C:\Users\[removed]\Pictures\
PathPalette=
PathSave=C:\Users\[removed]\Pictures\
PathScript=
PathSlide=C:\Users\[removed]\Pictures\
PathSlideScript=C:\Users\[removed]\Pictures\
PurgeMostRecentlyUsed=0
SaveAsUseNewName=1
SavePosition=1
SavedFileType=:gif:jpeg:png:tiff:bmp:emf:pcx:jp2:
SavingMode=0
SelectedShowAgain=0
ShowAgain=268435423
ShowSaveDlg=0
ShowTextInToolbar=0
ShowToolTipsInToolbar=1
TabBar=1
TabBarCfg=1
TabBarDefault=0
TabBarMaxChar=32
TagShowFlags=0
ToolbarBrowserConfig=-1
ToolbarBrowserConfigHigh=-1
ToolbarName=default
ToolbarViewConfig=-1
ToolbarViewConfigHigh=-1
UseDifferentPosition=0
UseExtendedMenu=0
UseMostRecentlyUsedFiles=1
UseNewMRUF=1
UseSameAsOrg=0
VStatusBar=1
VToolBar=1
Version=195
ViewHeight=994
ViewMaxi=0
ViewWidth=1280
ViewX=0
ViewY=0
Width=1280
X=0
Y=0

[View]
AppFitToImage=0
BackColor=0
BackgroundColor=8421504
CRAW=2
CacheBehind=1
ColorInfo=0
CopyClipboard=0
DeleteGoNext=1
DirKeyFlag=0
DirKeyVFlag=1
DisableGifAnimation=0
EnableBmpAnimation=0
Fit=3
Gamma=1.00
GridColor=255
GridSize=2
GridSpacingX=80
GridSpacingY=80
GridType=1
HideScrollBar=0
HighZoomQuality=1
IgnoreAlpha=0
ImageLoop=1
KeepGridForNextPrevious=0
LeftButtonFlag=1
LockZoom=0
MouseNavigation=0
NoMultipleView=0
OneViewMultiple=0
OnlyOneView=0
OpenHexaViewIfNotPicture=0
PlayMovie=0
PlaySound=0
ReadAhead=1
ResetXY=0
RightButtonFlag=1
ScrollVal=10
ShowColorInfo=0
ShowText=0
SlideDelay=1000
SlideDirection=0
SlideLoop=1
SpaceKeyFlag=0
StatusInfo=0
Text=<Directory><Filename>||Tag: <Tag status>
UnitsSize=0
UseAlpha=1
UseBgImg=0
UseDPIRatio=1
UseGamma=0
UseTranspIndex=1
UseUndo=1
UseZoomStep=0
UserSelHeight=0
UserSelRatioX=176
UserSelRatioY=208
UserSelWidth=0
UserSelXdpi=0
UserSelYdpi=0
VideoFitAll=0
VideoLoop=0
VideoPlayBar=1
WheelMouseFlag=2
ZoomStep=10
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: XnView hangs when browsing through large folder

Post by marsh »

Conqueror wrote: Sorry, I don't think I made myself clear. I am opening the images by double clicking from windows explorer. The image opens fine. But when I press the right or left arrow to view next image in the folder, the program freezes for along time.
Check that browser's sort-by settings are by "name", not by "type" (which has influenced viewer performance for some).
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView hangs when browsing through large folder

Post by xnview »

Yes try to remove 'ArrangeBy=4'
Pierre.
Conqueror
Posts: 11
Joined: Mon Dec 07, 2009 5:03 am

Re: XnView hangs when browsing through large folder

Post by Conqueror »

xnview wrote:Yes try to remove 'ArrangeBy=4'
Excellent. That was the correct answer. :D

So what does this line do that gave me the freezes for all these months or years. And how come it wasn't reported here before? I tried searching but couldn't see anyone else having the same problem... unless it was reported in different way or I didn't look hard enough!

I'm guessing it's something to do with arranging files in some sort of order (maybe 1 = name, ..., 4 = type), after looking at the responses I'm getting.

But why is XnView sorting files when I have built-in explorer disabled. And secondly, what if someone really did want to sort files by "type", why is this problematic for XnView?

Anyway my problem is solved by removing that line. Thanks for everyone's help. :)
Conqueror
Posts: 11
Joined: Mon Dec 07, 2009 5:03 am

Re: XnView hangs when browsing through large folder

Post by Conqueror »

OK, thanks. I see that it had been a common issue since a very long time, since XP days. But I guess it still hasn't been fixed. Maybe 'sort by type' should just be removed and replaced with only 'sort by extension'. I can see why there is a freeze when using "sort by type" because the program has to scan the headers of every file which can take some time, whereas with "sort by extension" it just scans the extension.

But in my case, I didn't even know I had set the 'sort by Type" option, and neither did I know there was a problem with it. I understand the issue better now.

Maybe XnView can sort by Type in the background and sorting "incrementally" while allowing the user continue using the program. Similar to how Windows displays results when you search for a file. It continues to scan for files and the user can also carry on doing what he/she wants.
Post Reply