Bug 465907

Summary: Dolphin hangs on opening a KDE connect shared folder
Product: [Applications] dolphin Reporter: Daniele Scasciafratte <mte90net>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: greg, kdedev, kfm-devel, sergio.callegari, smowtenshi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=423187
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniele Scasciafratte 2023-02-17 09:37:00 UTC
SUMMARY
Basically, if I share a folder with my phone and open that on my Dolphin it is very slow on loading and the dolphin window is unresponsive.

OBSERVED RESULT

On terminal, I get this with just one tab opened, and it is the KDE connect shared folder.

QObject::disconnect: Unexpected nullptr parameter
kf.coreaddons: Expected a KPluginFactory, got a KIOPluginForMetaData
QProcess: Destroyed while process ("git") is still running.
QProcess: Destroyed while process ("git") is still running.
QObject::disconnect: Unexpected nullptr parameter
kf.kio.core: UDSEntry for '.' not found, creating a default one. Please fix the "dolphin" KIO slave
kf.coreaddons: Expected a KPluginFactory, got a KIOPluginForMetaData
QProcess: Destroyed while process ("git") is still running.
QProcess: Destroyed while process ("git") is still running.
QProcess: Destroyed while process ("git") is still running.
QProcess: Destroyed while process ("git") is still running.
QProcess: Destroyed while process ("git") is still running.
QProcess: Destroyed while process ("git") is still running.
QProcess: Destroyed while process ("git") is still running.
QProcess: Destroyed while process ("git") is still running.

Seems that the QProcess error amount is the same folder amount, maybe the git integration shouldn't run on those kinds of devices?
Another note is not possible to kill that dolphin instance `killall dolphin` doesn't work, the monitor system says that is in disk waiting and the thumbnail.so process by kioslave was the last opened.

EXPECTED RESULT
No hangs.

SOFTWARE/OS VERSIONS
Linux: Debian Sid
KDE Plasma Version: 22.12.2
KDE Frameworks Version: 
Qt Version: 5.15.6
Comment 1 Sergio 2023-11-16 08:58:16 UTC
Experiencing the same.

Trying to browse my phone `dcim` folder via kdeconnect causes dolphin to freeze. The whole of dolphin, not just the tab used to browse the phone.

The freeze at times comes to an end: this is when dolphin has succeeded getting enough data from the phone to provide the thumbnails for all the files in the folder. In other cases, it gets permanent.

It is unclear to me if the issue here is just in dolphin or in kde connect or both.

Dolphin does not appear to use any particular protocol to access stuff via kdeconnect: its url line points to a local folder in `/run` when browsing the device. At the same time, kde connect appears to be mounting a filesystem there via fuse.sshfs. This filesystem appears to be quite problematic: if you try to look at it from the shell, you get input/output errors.

I would say that on one hand kde connect fails to provide a reliable filesystem for dolphin to work on. On the other hand dolphin does not at all deal gracefully with low performance filesystems.
Comment 2 TraceyC 2024-10-30 19:39:44 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with either Plasma 5.27 (the current LTS version) or Plasma 6.2.2 (the latest released version)?

If you can still reproduce the bug, please change the Status to "CONFIRMED". Thanks.
Comment 3 Greg Lepore 2024-10-31 11:03:30 UTC
Still an issue with 6.2.2.

Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.8.0-47-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NV168

My phone is a Samsung A50 which previously worked (maybe a year ago) and now hangs Dolphin. I have an A15 on the way and I will test the issue with that phone as well.