Bug 322468

Summary: Applications crash when dropping Place without changing positions
Product: [Applications] kfile Reporter: Kai Uwe Broulik <kde>
Component: kfileplacesviewAssignee: Christoph Feck <cfeck>
Status: RESOLVED FIXED    
Severity: crash CC: afiestas
Priority: NOR    
Version: 4.10.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.11
Attachments: KFilePlaces crash

Description Kai Uwe Broulik 2013-07-17 08:21:11 UTC
When I drag one of my places and drop it onto the "Drop here" indicator that appears right below the item (ie. like not having it moved around), the application crashes. Tested with Kate and Kolourpaint. See screenshot for better explanation.

Reproducible: Always
Comment 1 Kai Uwe Broulik 2013-07-17 08:21:28 UTC
Created attachment 81153 [details]
KFilePlaces crash
Comment 2 Christoph Feck 2013-07-17 12:15:47 UTC
Crash happens whenever dropping an item onto itself. Working on a patch.
Comment 3 Christoph Feck 2013-07-17 13:15:18 UTC
Git commit 00a564e561185c34330efb3368be1d01942a49f6 by Christoph Feck.
Committed on 17/07/2013 at 13:12.
Pushed by cfeck into branch 'KDE/4.11'.

Fix crash when places items are dropped onto themself
FIXED-IN: 4.11

M  +5    -0    kfile/kfileplacesmodel.cpp

http://commits.kde.org/kdelibs/00a564e561185c34330efb3368be1d01942a49f6