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.