0.83: Why this startup behavior after a crash?

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

Moderators: helmut, XnTriq, xnview

Post Reply
jadO
Posts: 490
Joined: Wed Apr 29, 2015 6:36 am

0.83: Why this startup behavior after a crash?

Post by jadO »

On a fresh start or after a crash or something XnViewMP seems to access every single file in recursive folders upon start.
After it has done that, this behavior cannot be observed anymore. Swithing into other folders does not trigger it and going back to those folders where it happend does not trigger it as well.
I can only see it is accessing Thumb.db and XnView.db.

So why this initial access of all files in recursive folders, which is very time consuming?
User avatar
xnview
Author of XnView
Posts: 46603
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.83] Why this startup behavior?

Post by xnview »

There is no such access, if you don't view all files recursively in the browser
Pierre.
jadO
Posts: 490
Joined: Wed Apr 29, 2015 6:36 am

Re: [0.83] Why this startup behavior?

Post by jadO »

xnview wrote:There is no such access, if you don't view all files recursively in the browser
This is what happend. I had my usual 0.83 hang and hat to close XnViewMP. As I had Process Monitor running to see what is happenng in case of a hang, I could see what happend.
Now when I started it I could see that it accesses every file in recursive folders. As it was right after start, I had not view all files enabled.
User avatar
xnview
Author of XnView
Posts: 46603
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.83] Why this startup behavior?

Post by xnview »

multiple tabs?
Pierre.
jadO
Posts: 490
Joined: Wed Apr 29, 2015 6:36 am

Re: [0.83] Why this startup behavior?

Post by jadO »

xnview wrote:multiple tabs?
No, just one tab.
User avatar
xnview
Author of XnView
Posts: 46603
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.83] Why this startup behavior?

Post by xnview »

jadO wrote:
xnview wrote:multiple tabs?
No, just one tab.
i think that it's sqlite update database with commands started before crash
Pierre.
jadO
Posts: 490
Joined: Wed Apr 29, 2015 6:36 am

Re: [0.83] Why this startup behavior?

Post by jadO »

xnview wrote:i think that it's sqlite update database with commands started before crash
I don't know. This would mean that this action must have been triggered before the crash/hang.
But how can this be. As said it is a start up behavior, scanning only files in subfolders from start folder recursively and access all files that are in there.
This is not something I had triggered before the crash. So I don't know why Sqlite should do that.

Edit: I just thought maybe if I had show all recursive files enabled before the crash. Maybe this triggers this recursive search on start up after han?
User avatar
xnview
Author of XnView
Posts: 46603
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.83] Why this startup behavior?

Post by xnview »

To speed up, sqlite create a .journal file with all db insert. If the app crash, this .journal file is executed.
Pierre.
Post Reply