Bug 495239

Summary: "Recent Files" view gets stuck on "Loading..." in File Open dialog
Product: [Frameworks and Libraries] frameworks-kio Reporter: Patrick Silva <bugseforuns>
Component: PlacesAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: antoniopdcn, bovender, john.kizer, kde, kdelibs-bugs, kfm-devel
Priority: NOR    
Version First Reported In: 6.7.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2024-10-23 12:24:11 UTC
SUMMARY
I can't reproduce this bug consistently, but it almost always occurs after the steps below.

STEPS TO REPRODUCE
1. open Dolphin
2. click on "Recent files" under the "Recent" section of the Places panel
3. 

OBSERVED RESULT
Dolphin gets stuck at "Loading..." for a random amount of time. I see these messages in the journal log:

out 23 09:21:16 Arch-PC systemd[915]: Started Dolphin - File Manager.
out 23 09:21:17 Arch-PC kioworker[8218]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
out 23 09:21:19 Arch-PC kioworker[8218]: kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
out 23 09:21:19 Arch-PC kioworker[8218]: kf.kio.core: An error occurred during write. The worker terminates now.


EXPECTED RESULT
Dolphin should immediately load the recent files

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Graphics Platform: Wayland
Comment 1 John Kizer 2024-11-30 17:32:08 UTC
Hi - just to verify, are you able to reproduce this on the current versions of Dolphin/Frameworks? I'm asking as I can't reproduce on my system (Fedora 41) with Dolphin 24.08.3 / Frameworks 6.8.0, and wanted to at least rule out something possibly already addressed in an update.
Comment 2 Patrick Silva 2024-11-30 17:42:32 UTC
I can't reproduce with Dolphin 24.08.3 anymore, but can with file open dialog.

1. open Kate
2. click on "Open" button
3. click on "Recent files" in the Places panel

Result: recent files list never loads, and journal log prints this:

nov 30 14:37:36 Arch-PC kioworker[9086]: kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
nov 30 14:37:36 Arch-PC kioworker[9086]: kf.kio.core: An error occurred during write. The worker terminates now.
Comment 3 John Kizer 2024-11-30 17:50:31 UTC
I can reproduce in that situation, thanks - if it's helpful in diagnosis, my journal logs for kioworker were slightly different, and I did also notice that kioworker was maxing out one CPU core while "Loading" was spinning.

kioworker[35764]: kf.kio.core: Connection::send() called with connection not inited
kioworker[35764]: kf.kio.core: An error occurred during write. The worker terminates now.
Comment 4 antoniopdcn 2024-12-19 15:33:54 UTC
is this still happening in 6.9.0?
Comment 5 Patrick Silva 2024-12-19 15:37:42 UTC
Yes.

Operating System: Arch Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Graphics Platform: Wayland
Comment 6 Daniel Kraus 2024-12-20 11:23:59 UTC
Yes, still happening for me too on Frameworks 6.9.0.
Comment 7 Patrick Silva 2024-12-27 21:21:29 UTC

*** This bug has been marked as a duplicate of bug 495974 ***