Bug 380024

Summary: Opening a remote file and clicking "Open" resets the file picker's location to the user's home directory
Product: [Applications] kate Reporter: Mike Robinson <kde_bugs>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: arichardson.kde
Priority: NOR    
Version: 16.12   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mike Robinson 2017-05-20 03:12:51 UTC
When I open a local file in Kate that is located somewhere outside of my home directory and then click the "Open" button to open a second file, the directory of the currently open file is used in the file picker dialog. 

For example, open /home/user/Desktop/folder/file.txt and when you click on "Open" again, the file picker displays /home/user/Desktop/folder/. This makes opening several files from the same directory very convenient.

This was also the behaviour for previous versions of kate, but after upgrading from Ubuntu 16.10 to 17.04, that is no longer the case for remote files. When opening subsequent remote files, the directory in the file picker is reset every time back to the user's home directory.

Note: I have tested using SFTP, but not any other remote protocol since I don't have any others available.
Comment 1 Alex Richardson 2017-05-23 09:18:54 UTC
This should hopefully fix it, but it still needs to be approved: https://phabricator.kde.org/D4193

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