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 ?
On Wed, Aug 23, 2023 at 4:13 PM JJM de Faber <hans.defaber@gmail.com> 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 ?
It probably tries to contact something and times out. You could strace it to see what happens.
Where is it defined ?
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
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: 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
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
On 2023-08-24 06:16, Freek de Kruijf 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.
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
Opening a file can not cause such a delay: it either exists or not, move on. It has to be some networked resource, those can have an associated delay and timeout. Waiting for an answer from a local daemon enters that category.
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: 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
That could be it. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
On 2023-08-24 13:55, Carlos E. R. wrote:
On 2023-08-24 06:16, Freek de Kruijf 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.
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
Opening a file can not cause such a delay: it either exists or not, move on. It has to be some networked resource, those can have an associated delay and timeout. Waiting for an answer from a local daemon enters that category.
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: 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
That could be it.
No, dolphinsu starts imediate, what goes wrong is if dolphinsu starts a external function as root like delete,rename or kate. Internal functions like in the properties of a file like change protection don't have this problem . And only after startup of dolphinsu the very first execution of an external command is delayed.
On 24.08.2023 19:42, JJM de Faber wrote:
No, dolphinsu starts imediate, what goes wrong is if dolphinsu starts a external function as root like delete,rename or kate.
Where did you get this command from? user@uefi:~> dolphinsu If 'dolphinsu' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf dolphinsu user@uefi:~> cnf dolphinsu dolphinsu: command not found user@uefi:~> This is on Tumbleweed
* Andrei Borzenkov <arvidjaar@gmail.com> [08-24-23 13:55]:
On 24.08.2023 19:42, JJM de Faber wrote:
No, dolphinsu starts imediate, what goes wrong is if dolphinsu starts a external function as root like delete,rename or kate.
Where did you get this command from?
user@uefi:~> dolphinsu If 'dolphinsu' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf dolphinsu user@uefi:~> cnf dolphinsu dolphinsu: command not found user@uefi:~>
This is on Tumbleweed
I don't have it on tumbleweed either, but it exists as /usr/share/applications/org.kde.dolphinsu.desktop and merely calls dolphin as root. it can be added/linked to desktop as dolphinsu and is in the Application Launcher as "org.kde.dolphinsu", "File Manager - Super User Mode". -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 2023-08-24 19:53, Andrei Borzenkov wrote:
On 24.08.2023 19:42, JJM de Faber wrote:
No, dolphinsu starts imediate, what goes wrong is if dolphinsu starts a external function as root like delete,rename or kate.
Where did you get this command from?
user@uefi:~> dolphinsu If 'dolphinsu' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf dolphinsu user@uefi:~> cnf dolphinsu dolphinsu: command not found user@uefi:~>
This is on Tumbleweed Sorry. It is "Filemanager - Superuser Mode" or "dbus-launch dolphin -qwindowtitle %c %u" . As standard in the kde system menu.
On 25.08.2023 04:51, JJM de Faber wrote:
On 2023-08-24 19:53, Andrei Borzenkov wrote:
On 24.08.2023 19:42, JJM de Faber wrote:
No, dolphinsu starts imediate, what goes wrong is if dolphinsu starts a external function as root like delete,rename or kate.
Where did you get this command from?
user@uefi:~> dolphinsu If 'dolphinsu' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf dolphinsu user@uefi:~> cnf dolphinsu dolphinsu: command not found user@uefi:~>
This is on Tumbleweed Sorry. It is "Filemanager - Superuser Mode" or "dbus-launch dolphin -qwindowtitle %c %u" . As standard in the kde system menu.
It times out trying to activate KDE accelerator service ‣ Type=error Endian=l Flags=1 Version=1 Cookie=13 ReplyCookie=26 Timestamp="Fri 2023-08-25 04:20:56.440173 UTC" Sender=org.freedesktop.DBus Destination=:1.9 ErrorName=org.freedesktop.DBus.Error.TimedOut ErrorMessage="Failed to activate service 'org.kde.kglobalaccel': timed out (service_start_timeout=120000ms)" Aug 25 07:19:34 uefi dbus-daemon[1934]: [session uid=0 pid=1932] Activated service 'org.kde.kglobalaccel' failed: Process org.kde.kglobalaccel exited with status 1 Aug 25 07:19:34 uefi kglobalaccel5[2471]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Aug 25 07:19:34 uefi dbus-daemon[1934]: [session uid=0 pid=1932] Activating service name='org.kde.kglobalaccel' requested by ':1.19' (uid=0 pid=2301 comm="/usr/lib64/kconf_update_bin/krunnerglobalshortcuts") Starting a program from some desktop environment outside of full desktop environment has became a challenge long ago. Anyway, this answers the immediate question in this topic. I leave finding out why gklobalaccel fails to start in this case to someone more interested :)
On 2023-08-25 06:31, Andrei Borzenkov wrote:
On 25.08.2023 04:51, JJM de Faber wrote:
On 2023-08-24 19:53, Andrei Borzenkov wrote:
On 24.08.2023 19:42, JJM de Faber wrote:
No, dolphinsu starts imediate, what goes wrong is if dolphinsu starts a external function as root like delete,rename or kate.
Where did you get this command from?
user@uefi:~> dolphinsu If 'dolphinsu' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf dolphinsu user@uefi:~> cnf dolphinsu dolphinsu: command not found user@uefi:~>
This is on Tumbleweed Sorry. It is "Filemanager - Superuser Mode" or "dbus-launch dolphin -qwindowtitle %c %u" . As standard in the kde system menu.
It times out trying to activate KDE accelerator service
‣ Type=error Endian=l Flags=1 Version=1 Cookie=13 ReplyCookie=26 Timestamp="Fri 2023-08-25 04:20:56.440173 UTC" Sender=org.freedesktop.DBus Destination=:1.9 ErrorName=org.freedesktop.DBus.Error.TimedOut ErrorMessage="Failed to activate service 'org.kde.kglobalaccel': timed out (service_start_timeout=120000ms)"
Aug 25 07:19:34 uefi dbus-daemon[1934]: [session uid=0 pid=1932] Activated service 'org.kde.kglobalaccel' failed: Process org.kde.kglobalaccel exited with status 1 Aug 25 07:19:34 uefi kglobalaccel5[2471]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Aug 25 07:19:34 uefi dbus-daemon[1934]: [session uid=0 pid=1932] Activating service name='org.kde.kglobalaccel' requested by ':1.19' (uid=0 pid=2301 comm="/usr/lib64/kconf_update_bin/krunnerglobalshortcuts")
Starting a program from some desktop environment outside of full desktop environment has became a challenge long ago.
Anyway, this answers the immediate question in this topic. I leave finding out why gklobalaccel fails to start in this case to someone more interested :) Thanks for finding the problem, reading your answer I started my sesion for once in wayland , the problem doesn't exist there.
participants (6)
-
Andrei Borzenkov
-
Carlos E. R.
-
Freek de Kruijf
-
gumb
-
JJM de Faber
-
Patrick Shanahan