https://bugs.kde.org/show_bug.cgi?id=413878
Bug ID: 413878 Summary: Open second file via sftp triggers msg "The file or folder sftp://... does not exist." Product: kate Version: 19.08.2 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: fisc...@unix-ag.uni-kl.de Target Milestone: --- Created attachment 123752 --> https://bugs.kde.org/attachment.cgi?id=123752&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.