On Thu, Aug 24, 2023 at 1:16 PM Freek de Kruijf <freek@opensuse.org> wrote:
Op woensdag 23 augustus 2023 21:09:00 CEST schreef gumb:
On 23/08/2023 15:06, JJM de Faber wrote:
When using dolphin as root (dolphinsu) there is always a delay of 30 seconds before an action takes place.
It doesn't mather what action,delete,rename or whatever.
Is this intentional or an error in my config ?
Where is it defined ?
I've noticed this but since some while already. May have begun with the KDE update in Leap 15.4, or the version before. Trying to open a text file in Kwrite/Kate takes about half a minute, but yes it's noticeable with certain other actions too.
gumb
I have the same type of problem with kwalletmanager5. After starting it with --show and pressing the Open button it takes half a minute before it asks for the password. When using strace I saw a message about opening a non existent file: /usr/local/share/kwalletmanager5/kwalletmanager.rc
I expect such a file in ~/.local/ . Could this be something equivalent in dolphinsu?
I used "strace dbus-launch dolphin -qwindowtitle" to start dolphinsu and saw a lot of messages like:
You need to use "strace -t" to see where time is spent. Also, you need to capture child processes, so it must be "strace -f" (follow fork). Finally, if the delay is in communication, full output is needed to analyze what each file descriptor means. But half a minute is suspiciously similar to something like https://bbs.archlinux.org/viewtopic.php?id=286096 (there are a lot of such reports) where applications timeout opening xdg portal. Unfortunately, all cases I have seen were "solved" by some kind of workaround instead of actually resolving the problem. So far I have seen it mostly in GNOME context, but it is quite possible that it is some low level library that triggers it.
read(4, 0x7ffc7beca560, 8) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLPRI}, {fd=17, events=POLLIN}, {fd=25, events=POLLIN}, {fd=31, events=POLLIN}, {fd=32, events=POLLIN}, {fd=33, events=POLLIN}, {fd=34, events=POLLIN}, {fd=38, events=POLLIN}, {fd=39, events=POLLIN}, {fd=45, events=POLLIN}], 14, 1804) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLPRI}, {fd=17, events=POLLIN}, {fd=25, events=POLLIN}, {fd=31, events=POLLIN}, {fd=32, events=POLLIN}, {fd=33, events=POLLIN}, {fd=34, events=POLLIN}, {fd=38, events=POLLIN}, {fd=39, events=POLLIN}, {fd=45, events=POLLIN}], 14, 28998) = 1 ([{fd=4, revents=POLLIN}]) read(4, "\1\0\0\0\0\0\0\0", 8) = 8
-- fr.gr.
member openSUSE Freek de Kruijf