When opening multiple files from the same folder in Kate, the treeview shows several times the same folder which one of the files inside each folder. Even when saving and restoring the session the problem still persists Reproducible: Always Steps to Reproduce: 1. Open several source files from the same folder. Actual Results: when opening foo.cpp, foo.h, bar.cpp, bar.h, all from C:\somepath\somewhere\ kate shows: *somewhere **foo.cpp *somewhere **foo.h *somewhere **bar.cpp *somewhere **bar.h (where * is the tree level) Expected Results: when opening foo.cpp, foo.h, bar.cpp, bar.h, all from C:\somepath\somewhere\ kate should show: *somewhere **foo.cpp **foo.h **bar.cpp **bar.h (where * is the tree level) Compiled under MSVC 2010.
You very likely mean the document view instead of the tree view. I just don't know where that comes from yet but I find it very annoying too.
looks as if it is the filetree plugin.
It's the Documents view, in tree view mode.
Created attachment 70669 [details] Screenshot
Git commit c0be608540ba52d2ce4f015afe964ad5bba8b0c4 by Patrick Spendrin. Committed on 26/04/2012 at 22:48. Pushed by sengels into branch 'KDE/4.8'. check for an absolute path in the correct way. M +2 -1 kate/plugins/filetree/katefiletreemodel.cpp http://commits.kde.org/kate/c0be608540ba52d2ce4f015afe964ad5bba8b0c4
Git commit 68297f1ef5872e5d27b4b83a8fe91438ed89c318 by Patrick Spendrin. Committed on 26/04/2012 at 22:48. Pushed by sengels into branch 'master'. check for an absolute path in the correct way. M +2 -1 kate/plugins/filetree/katefiletreemodel.cpp http://commits.kde.org/kate/68297f1ef5872e5d27b4b83a8fe91438ed89c318
Thanks! Now it works as expected.
*** Bug 302338 has been marked as a duplicate of this bug. ***
I am having this issue also, could someone please explain how to fix this? I am using kate one KDE for windows at the moment. I have it on Ubuntu too but it doesn't have this bug. Thanks!