Bug 464135

Summary: Pseudo-freeze when the last open folder was a network share
Product: [Frameworks and Libraries] frameworks-kio Reporter: me
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null, meven29, nate
Priority: NOR    
Version First Reported In: 5.101.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description me 2023-01-11 08:44:33 UTC
SUMMARY
In an app that involves kioslave, when I open a file save/open dialog the application looks to be frozen but it's not, it's just not responding to my inputs, when I maximize it it resizes perfectly. After 20 seconds or so the dialog finally comes up and shows a network share that was probably open last time but that's not available.


STEPS TO REPRODUCE
1. Open for example Kate.
2. Open something from a network share.
3. Close Kate and open it again.
4. Open the dialog again.

OBSERVED RESULT
The application freezes for several seconds.

EXPECTED RESULT
The dialog should be open showing a loading symbol or something to signify that's trying to connect while giving the user the possibility to go to another folder.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8
Comment 1 Nate Graham 2023-01-11 18:56:17 UTC
When you say "a network share", how did you access it? Via its URL, or was it locally mounted? If it was locally mounted, how did you locally mount it?
Comment 2 me 2023-01-11 19:46:53 UTC
(In reply to Nate Graham from comment #1)
> When you say "a network share", how did you access it? Via its URL, or was
> it locally mounted? If it was locally mounted, how did you locally mount it?

Via a URL like "sftp://user@ipaddress/directory".
Comment 3 Nate Graham 2023-01-11 19:49:17 UTC
Thanks.
Comment 4 Méven Car 2023-01-12 10:07:38 UTC
I couldn't reproduce it.
I followed the steps you gave, saving the session in Kate.
But I tested with older KF5, so that might be a regression, or something was amiss to reproduce it.

Operating System: Kubuntu 22.10
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-26-generic (64-bit)
Graphics Platform: X11