https://bugs.kde.org/show_bug.cgi?id=366766

            Bug ID: 366766
           Summary: Dragging and dropping the same file multiple times
                    creates duplicate entries.
           Product: kate
           Version: 16.04
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: xaxa...@gmail.com

Every time I drag and drop a file it creates a new entry, even if it already
exists.
I'm using tree-view.

When one entry is edited, the others are considered dirty and need reloading.

This could potentially cause data loss as if you don't notice you've opened the
same file twice then go to save everything you could lose all your updates if
the unmodified version is saved last.

Reproducible: Always

Steps to Reproduce:
1. Select any text file in a file browser (I used dolphin).
2. Open Kate (I have documents panel set to tree-view, not sure if it matters).
3. Drag text file onto Kate multiple times.

Actual Results:  
Multiple independently-editable entries shown in documents panel.

Expected Results:  
Dropping an already open file into Kate should be ignored.

System: Linux Mint XFCE 18
KDE apps installed from default Ubuntu 16.04 repository.

NOTE: This is a regression from a previous Kate version (Ubuntu 14.04's version
worked).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to