Page 1 of 1

Slow startup, seems to access external drives - Linux

Posted: Thu Jan 16, 2025 4:15 pm
by xnviewlinuxguy
Version 1.8.x

Clicking on an image and opening Xnviewmp for a jpg image is slow, and seems to access all drives to read from them.

Needs to be a setting to not do this, as it's not necessary in most cases.

Re: Slow startup, seems to access external drives - Linux

Posted: Sun Jan 19, 2025 4:04 pm
by xnview
the image is opened as a tab?

Re: Slow startup, seems to access external drives - Linux

Posted: Tue Jan 21, 2025 2:56 pm
by xnviewlinuxguy
If I understand you correctly, no.

This is opening an image in Dolphin or Krusader and opens in the full 3-pane layout of the browser.

Re: Slow startup, seems to access external drives - Linux

Posted: Fri Jan 24, 2025 6:55 am
by xnview
if you open an image file in (as a tab) in XnView, no problem?

Re: Slow startup, seems to access external drives - Linux

Posted: Sat Jan 25, 2025 11:17 pm
by xnviewlinuxguy
No problems with that. This is just when I am opening xnview for the first time, after it hasn't been open for awhile. Seems like it's caching and searching for all connected drives, etc. and spending a lot of time on that.

I'd love to be able to turn off that searching. I've even put in paths to ignore, and have the "Always exclude removable drives" selected, but there's fairly often, a very slow startup.

Re: Slow startup, seems to access external drives - Linux

Posted: Sun Jan 26, 2025 6:18 am
by user0
similar behavior in win11 with internal drives

to reproduce:
0. setup:
- have multiple internal drives (eg one system SSD and one nonsystem HDD)
- clean app and image on system drive
1. run pc and wait until HDD goes to sleep (you can hear how it stops spinning)
2. open image in Viewer via double click in win file explorer
3. press F1 to open About dialog

sometimes there is a few seconds delay at steps 2 OR 3,
looks like app is trying to access HDD (you can hear HDD wake up and start spinning) and only then proceed to work.
This is very strange because:
- only Viewer tab is opened
- there is no any cataloged images on this HDD

Re: Slow startup, seems to access external drives - Linux

Posted: Sun Jan 26, 2025 9:26 am
by xnview
When opening browser, XnView creates the folders tree. Which path do you use for your external drives?

Re: Slow startup, seems to access external drives - Linux

Posted: Mon Jan 27, 2025 7:40 pm
by xnviewlinuxguy
I'm not exactly sure what you mean. I have probably 10 drives via direct connection, USB drives and NFS drives.

There should be a setting somewhere to not catalog anything but the directory I am opening an image from, I would imagine.

Re: Slow startup, seems to access external drives - Linux

Posted: Tue Feb 11, 2025 4:29 pm
by xnview
xnviewlinuxguy wrote: Mon Jan 27, 2025 7:40 pm I'm not exactly sure what you mean. I have probably 10 drives via direct connection, USB drives and NFS drives.

There should be a setting somewhere to not catalog anything but the directory I am opening an image from, I would imagine.
But drives should be added in folder tree. Which path do you use to mount your network drive?

Re: Slow startup, seems to access external drives - Linux

Posted: Tue Feb 11, 2025 5:27 pm
by xnviewlinuxguy
I typically use /media/username/drivename across NFS, local internal mounts and removable drives.

I have excluded these drive paths from "Catalog" with no real effect.

Once in awhile, I get a super slow startup and it seems to hit these excluded drives.

Re: Slow startup, seems to access external drives - Linux

Posted: Wed Feb 19, 2025 8:46 am
by xnview
xnviewlinuxguy wrote: Tue Feb 11, 2025 5:27 pm I typically use /media/username/drivename across NFS, local internal mounts and removable drives.
If you don't expand the media folder in folder tree view, there is no access

Re: Slow startup, seems to access external drives - Linux

Posted: Thu Feb 27, 2025 10:21 pm
by xnviewlinuxguy
I can only tell you that every once in awhile, when I open XNviewMP, I get removable drive access. I see and hear the drives spinning up.

Re: Slow startup, seems to access external drives - Linux

Posted: Mon Mar 03, 2025 4:17 pm
by xnview
xnviewlinuxguy wrote: Thu Feb 27, 2025 10:21 pm I can only tell you that every once in awhile, when I open XNviewMP, I get removable drive access. I see and hear the drives spinning up.
could you start xnview in a terminal and send me the logs?