This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Delay in every KDE file dialog

Tags: None
(comma "," separated)
Horus
Registered Member
Posts
296
Karma
0
OS

Delay in every KDE file dialog

Sun Mar 31, 2013 11:43 am
Hello,

I'm using ArchLinux with KDE 4.10.1. Every time an application opens a KDE save or open dialog (it applies also to non-KDE apps using the dialoge, like Chromium) there is a huge delay in displaying the window.

I open the dialog and already click the close button while it loads. So there is no time spent waiting for user, still loading needs 6 seconds:

Code: Select all
% time kdialog --getopenfilename .
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
"/org/freedesktop/UDisks2/drives/SAMSUNG_HD103SJ_S246JDWSA56130" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/ST3000DM001_9YN166_W1F0VWKP" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/HL_DT_ST_DVDRAM_GH22NS40_K2Z97DG3721" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/OCZ_VERTEX2_OCZ_MD5NBY68U8J9I9GE" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/SAMSUNG_HD103SJ_S246JDWSA56130" : property "DeviceNumber" does not exist
"/org/freedesktop/UDisks2/drives/SAMSUNG_HD103SJ_S246JDWSA56130" : property "Device" does not exist
kdialog --getopenfilename .  0,40s user 0,05s system 6% cpu 6,634 total


Opening the kdialog kind of works in three stages:

1) The window and the decoration is displayed, the window is blank
2) The window is painted (like location sidebar) but the filelist still loads
3) It's there but still non-interactive
After that it's finished with loading.

It seem to be related to systemd auto mounting:

Log entries generated while using the file open dialog:
Code: Select all
Mär 31 13:40:18 horus systemd[1]: Mounting /mnt/macbook...
Mär 31 13:40:18 horus systemd[1]: Mounted /mnt/macbook.
Mär 31 13:40:21 horus mount[3975]: read: Connection reset by peer
Mär 31 13:40:21 horus systemd[1]: mnt-macbook.mount mount process exited, code=exited status=1
Mär 31 13:40:21 horus systemd[1]: Unit mnt-macbook.mount entered failed state
Mär 31 13:40:21 horus systemd[1]: Mounting /mnt/macbook...
Mär 31 13:40:21 horus systemd[1]: Mounted /mnt/macbook.
Mär 31 13:40:24 horus mount[3983]: read: Connection reset by peer
Mär 31 13:40:24 horus systemd[1]: mnt-macbook.mount mount process exited, code=exited status=1
Mär 31 13:40:24 horus systemd[1]: Unit mnt-macbook.mount entered failed state
Mär 31 13:40:24 horus systemd[1]: Mounting /mnt/macbook...
Mär 31 13:40:24 horus systemd[1]: Mounted /mnt/macbook.
Mär 31 13:40:27 horus mount[3990]: read: Connection reset by peer
Mär 31 13:40:27 horus systemd[1]: mnt-macbook.mount mount process exited, code=exited status=1
Mär 31 13:40:27 horus systemd[1]: Unit mnt-macbook.mount entered failed state
Mär 31 13:40:27 horus systemd[1]: Mounting /mnt/macbook...
Mär 31 13:40:27 horus systemd[1]: Mounted /mnt/macbook.
Mär 31 13:40:30 horus mount[3996]: read: Connection reset by peer
Mär 31 13:40:30 horus systemd[1]: mnt-macbook.mount mount process exited, code=exited status=1
Mär 31 13:40:30 horus systemd[1]: Unit mnt-macbook.mount entered failed state


/mnt/macbook is present in the location sidebay but is not accessed. The file dialog is always called from ~ which is a local ext4 fs.

The corresponding fstab line is
Code: Select all
florian@10.149.98.154:  /mnt/macbook  fuse.sshfs  noauto,x-systemd.automount,_netdev,users,idmap=user,IdentityFile=/home/florian/.ssh/id_rsa,allow_other,reconnect  0 0

When I make 10.149.98.154 available, everthing runs smoothly.

I don't know if this is exactly KDE related, but I start here...

Regards!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Delay in every KDE file dialog

Sun Mar 31, 2013 9:06 pm
This is probably because KDE attempts to ascertain the free space available on each mount point when opening the file picker I suspect.
There is not much you can do in this case unfortunately, as this behaviour cannot be disabled.

If you were to disable systemd automatic mounting, it may alleviate the issue however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]