If there is a file opened in kate from a remote sftp server and I press the "open" button while that file is active, the kate is trying to open a nonexistent directory named as that file. Reproducible: Always Steps to Reproduce: 1. Connect using dolphin to the remote sftp server. For example localhost:22/var/ 2. Open the file using kate. "For example megafile.php" 3. In kate press the button "File" and choose "Open" Actual Results: The file choosing window appears, but kate tries to chdir to the directory localhost:22/var/megafile.php/ , not the directory localhost:22/var/ and reports that derectory localhost:22/var/megafile.php/ does'nt exist Expected Results: Kate opens the file choosing window and chdirs to localhost:22/var Ubuntu 16.04 with latest updates.
Also, if you have a remote document open and try to open another one from the same place you get the same message. I can then click on the actual directory in the file browser and open something from that directory. sftp: host > path > to > file > actual > directory > currentlyopenedfile.txt The dialog should just come up showing the stuff in path/to/file/actual/directory.
This should be fixed in the latest kate versions (it works for me on openSUSE Tumbleweed). Should have been fixed by 5420b5752a30c294486fbaf967187c8a6f64fe42 in frameworkintegration.git