When I open KDialog (the KDE system file-picker) in any application, i.e. Firefox, MPV, saving files, opening files, etc. It takes a considerably longer time to actually open the KDialog window when I have a network mount
I am running NixOS, on the latest stable channel
KDialog Version: 25.04.02
I have a webdav mount (in my local network) which I mount with rclone & a systemD (root) service
This is what the systemD service looks like (just extra content, not directly relevant to my issue)
after = [ "network-online.target" ];
rclone
--vfs-cache-mode writes \
--ignore-checksum \
mount {mywebdavmount}: /mymountpoint
The mount is mounted at the root of my filesystem
KDialog seems to pick up the mount without any manual intervention by showing it under the “network” places
I ran the command time kdialog --getopenurl /
do demonstrate the delay:
without mount:
Executed in 864.65 millis fish external
usr time 251.88 millis 0.12 millis 251.76 millis
sys time 170.93 millis 1.03 millis 169.90 millis
with mount:
Executed in 2.27 secs fish external
usr time 328.74 millis 1.50 millis 327.24 millis
sys time 199.70 millis 0.14 millis 199.56 millis
FYI, since im running the command directly via the command line, it is a lot quicker, when opening it in applications it takes upwards of 10 seconds, it even ends up taking a few min’s sometimes and all the file dialogs open in 1 quick burst
TLDR: How can I get KDialog to ignore my rclone network mount so that it doesn’t do any processing on it (therefore removing the startup delay)