Created attachment 123752 [details] Screenshot showing the error message. Sensitive/private parts have been marked black. SUMMARY When trying to open a second file via the File Open dialog after already having a file opened via the sftp protocol, Kate shows the error message "The file or folder sftp://FULLFILNAMEOFOPENFILE does not exist." My interpretation is that Kate tries to tell the File Open dialog to switch to the same folder where the currently open file came from, but instead of passing along the just path without the filename, the file open dialog receives the path plus filename. The dialog then tries to 'cd' into this 'folder' which does not work as it is a plain file on a remote SFTP share. The problem does not exist for local files. I have not tested it with other remote protocols like webdavs. I cannot reproduce the problem with Okteta, here does the file open dialog start in the right folder on the sftp share; thus I believe it is a Kate-specific bug. STEPS TO REPRODUCE 1. Open a first file via the sftp protocol. 2. File -> Open to get a File Open dialog 3. Error message with the filename of the first file opened in step 1 appears. OBSERVED RESULT Error message box appears as described. EXPECTED RESULT No error message. File open dialog shows directory on sftp share where previously opened file resides. SOFTWARE/OS VERSIONS Linux/KDE Plasma: current Arch Linux KDE Plasma Version: 5.17.2 KDE Frameworks Version: 5.63.0 Qt Version: 5.13.2
I've just tested on kate from git master and I cannot reproduce this issue. Thomas can you please re-test and confirm if this issue still occurs for you.
(In reply to Justin Zobel from comment #1) > I've just tested on kate from git master and I cannot reproduce this issue. > > Thomas can you please re-test and confirm if this issue still occurs for you. I had not tested this issue for a time, but I did so right now using Kate 20.08.2 from ArchLinux. I can confirm that the issue is no longer reproducible. You may close it if you like.
Thanks for testing and the feedback Thomas!