Bug 354613

Summary: "/XXX is a file, but a folder was expected." (for FTP)
Product: [Applications] kate Reporter: Victor Porton <porton>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph, faure
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Victor Porton 2015-10-30 18:41:14 UTC
When I press Open after opening of a FTP file, it gives an erroneous message.

$ XDG_CURRENT_DESKTOP=KDE kate

Reproducible: Always

Steps to Reproduce:
0. Start Kate with XDG_CURRENT_DESKTOP=KDE environment (I do it in Gnome).
1. Open a file on an FTP server.
2. Press Open again.

Actual Results:  
Kate says "/XXX is a file, but a folder was expected."

Expected Results:  
Should open the FTP folder in File Open dialog.

Kate 15.08.2 run in Gnome with XDG_CURRENT_DESKTOP=KDE environment variable.
Comment 1 David Faure 2016-08-13 22:50:43 UTC
I think commit 18e62e7 in plasma-integration fixed this.
Does it still happen with plasma >= 5.6.1 ?
Comment 2 Christoph Cullmann 2016-09-07 19:06:13 UTC
Works for me in the current plasma version.