Bug 443759 - File dialog hangs in Kate when the current working folder is on the network (sftp) and unreachable
Summary: File dialog hangs in Kate when the current working folder is on the network (...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (other bugs)
Version First Reported In: 5.86.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-15 05:35 UTC by Raphaël Jakse
Modified: 2021-10-15 16:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphaël Jakse 2021-10-15 05:35:25 UTC
SUMMARY

When editing remote files in Kate, if the remote host is unavailable, the open/save file dialog hangs when trying to save a file or open a new file, rendering Kate unusable for a while. The file dialog finally appears after a timeout.

If the remote host becomes unreachable while navigating in the file dialog, it hangs too. 

This may affect other apps too. I hesitated to file this bug under the frameworks-kio product.

STEPS TO REPRODUCE

1. In Kate, open a file sitting on remote computer via SFTP
2. Suspend the remote computer
3. File > Open or File > Save As

OBSERVED RESULT

Kate hangs for a while.

EXPECTED RESULT

Kate should not hang, the file dialog should be shown right away, with a loading view, as it is the case when the remote computer becomes unreachable while navigating in its folders with the file dialog.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86
Qt Version: 5.15.2

ADDITIONAL INFORMATION

None
Comment 1 Raphaël Jakse 2021-10-15 05:36:50 UTC
> If the remote host becomes unreachable while navigating in the file dialog, it hangs too.

Sorry, I forgot to remove this line, this is incorrect, this actually does what is expected and shows a loading view. Sorry for the mistake.