Dragging and dropping a folder that contains text files doesn't read the content of the text files, but instead creates new blank documents for them and colors them grey in the tree view. Attempting to save these files would likely cause loss of data. Perhaps this might be related to https://bugs.kde.org/show_bug.cgi?id=366260. Reproducible: Always Steps to Reproduce: 1. Open Kate with Tree View shown. 2. In dolphin (or another file browser) find a folder containing text files. 3. Drag & Drop this folder into Kate. Actual Results: Kate creates entries for the created text files, but they are colored grey and have no content when selected. Expected Results: The created text file entries would contain the text their file contains. System: Linux Mint XFCE 18 KDE apps installed from default Ubuntu 16.04 repository.
I can reproduce with a very recent version of Kate, so it is different from 366260.
Git commit fa5e37af33f44f6e721880042a48e162973c4840 by Christoph Cullmann. Committed on 08/09/2016 at 16:33. Pushed by cullmann into branch 'master'. Bug 366568 - when dragging & dropping folders, contained files are opened as blank / new. CHANGELOG: Fix drag & drop of folder into Kate window M +4 -3 kate/katemainwindow.cpp http://commits.kde.org/kate/fa5e37af33f44f6e721880042a48e162973c4840
Reopening, sorry. Still occurs on Kate 16.08.2 - master branch (cloned today, 06/Nov/2016). Tried twice, once on Mint 18, once on Manjaro 16.10. Gonna bump this up to 'grave' as it has caused data loss - accidentally saving all wiped about 10 files. Initial report is still accurate.
I think somehow my status changes weren't applied when I changed it. If someone just reverted them, sorry - not trying to fight it.
This works correct on latest kate (16.6.2).
Marking as fixed per latest comment.