Bug 318128 - Folder panel doesn't handle FTP files on root properly
Summary: Folder panel doesn't handle FTP files on root properly
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-10 10:18 UTC by Kai Uwe Broulik
Modified: 2013-07-16 15:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.12


Attachments
Broken folders (10.05 KB, image/png)
2013-04-10 10:18 UTC, Kai Uwe Broulik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2013-04-10 10:18:18 UTC
When I open various files on the root of an ftp server, each file gets shown in a separate folder in the folder panel. Kate doesn't recognize that all these files are in the same directory. The directory names also have no title, should probably be the server name and ftp icon.

Reproducible: Always

Steps to Reproduce:
1. Open Kate
2. Browse to an ftp server root directory (ie. ftp://example.com/ without further path)
3. Open a text file there
4. Open another text file in the same directory
Actual Results:  
The files are shown in two separate directories with no title

Expected Results:  
The files are grouped under the same directory which is entitled with the server name.
Comment 1 Kai Uwe Broulik 2013-04-10 10:18:40 UTC
Created attachment 78765 [details]
Broken folders
Comment 2 Joseph Wenninger 2013-07-16 13:33:44 UTC
Git commit e33c9a526a2ae07d90c0cb92f4aefb27fafd0628 by Joseph Wenninger.
Committed on 16/07/2013 at 13:29.
Pushed by jowenn into branch 'master'.

fix the case that there are documents opened in the root of the remote server
My previous commit and this one also fix another bug
Related: bug 321674

M  +5    -2    kate/filetree/katefiletreemodel.cpp

http://commits.kde.org/kate/e33c9a526a2ae07d90c0cb92f4aefb27fafd0628
Comment 3 Joseph Wenninger 2013-07-16 13:35:58 UTC
post 4.11