dolphin/src/kitemviews
Frank Reininghaus 352f644159 Fix possible crash if a kioslave adds multiple items with the same URL
When opening the URL "man:", there are multiple items with the same
name (for example, _exit is shown twice here). When opening a new tab,
the kioslave reports some items as deleted (I have not quite understood
why). The problem is that it reports some of the duplicate items twice
in the list of deleted items. This confused KFileItemModel and
corrupted the internal data structures, and finally, caused a crash.

The fix is to remove all duplicates from
KItemRangeList::fromSortedContainer(const Container& container).

New unit tests included.

BUG: 335672
REVIEW: 118507
FIXED-IN: 4.13.2
2014-06-04 21:49:02 +02:00
..
private KDirectoryContentsCounter: do not delete currently active worker objects 2014-04-03 09:03:47 +02:00
kfileitemlistview.cpp Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kfileitemlistview.h Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kfileitemlistwidget.cpp Fix Bug 326210 - Dolphin unnecessarily truncates names of soft links in compact mode 2014-03-05 10:48:33 +01:00
kfileitemlistwidget.h Fix Bug 326210 - Dolphin unnecessarily truncates names of soft links in compact mode 2014-03-05 10:48:33 +01:00
kfileitemmodel.cpp Fix possible crash if a kioslave adds multiple items with the same URL 2014-06-04 21:49:02 +02:00
kfileitemmodel.h Remove some unused functions. 2014-02-11 20:30:50 +01:00
kfileitemmodelrolesupdater.cpp Port Dolphin to Baloo 2014-02-06 20:29:09 +01:00
kfileitemmodelrolesupdater.h Port Dolphin to Baloo 2014-02-06 20:29:09 +01:00
kitemlistcontainer.cpp Fix incorrect geometry updates in KItemListContainer 2013-11-21 00:47:40 +01:00
kitemlistcontainer.h Prepare view-engine for non-KFileItem usecase 2012-04-21 21:32:42 +02:00
kitemlistcontroller.cpp Add a hover effect for the selection toggle. 2014-03-03 22:06:56 +01:00
kitemlistcontroller.h Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kitemlistgroupheader.cpp Fix wrong text color in Places Group Header. Use QPalette::Window for base color and QPalette::WindowText for text color. Also changed m_roleColor color mixing to 60% (from 70%) -> Better visible color difference when base color is darker than text color. Also changed styleOption().palette.brush(group, role).color() to styleOption().palette.color(group, role) in KStandardItemListWidget -> should be more efficient. 2012-08-15 15:04:55 +02:00
kitemlistgroupheader.h Fix wrong text color in Places Group Header. Use QPalette::Window for base color and QPalette::WindowText for text color. Also changed m_roleColor color mixing to 60% (from 70%) -> Better visible color difference when base color is darker than text color. Also changed styleOption().palette.brush(group, role).color() to styleOption().palette.color(group, role) in KStandardItemListWidget -> should be more efficient. 2012-08-15 15:04:55 +02:00
kitemlistheader.cpp KItemViews: Internal directory restructuration 2012-04-11 16:08:32 +02:00
kitemlistheader.h Cleanup and minor fixes for column-handling 2012-03-24 23:47:42 +01:00
kitemlistselectionmanager.cpp Do not change the selection when re-sorting the view 2014-04-26 12:37:39 +02:00
kitemlistselectionmanager.h Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kitemliststyleoption.cpp Make the handling of the "maximum text lines" setting more robust 2014-02-24 21:05:09 +01:00
kitemliststyleoption.h Make the handling of the "maximum text lines" setting more robust 2014-02-24 21:05:09 +01:00
kitemlistview.cpp Fix Bug 334696 - File/directory icons/names move to the right when opening/refreshing contents of Dolphin 2014-05-29 15:33:03 +02:00
kitemlistview.h Handle font and palette changes in Dolphin list views. 2014-02-24 14:17:03 +01:00
kitemlistviewaccessible.cpp Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kitemlistviewaccessible.h Adding license header in kitemlistviewaccessible 2012-09-26 04:36:31 +05:30
kitemlistwidget.cpp Use "selectionToggleRect().contains(pos)" instead 2014-05-29 15:31:24 +02:00
kitemlistwidget.h Add a hover effect for the selection toggle. 2014-03-03 22:06:56 +01:00
kitemmodelbase.cpp Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kitemmodelbase.h Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kitemrange.h Fix possible crash if a kioslave adds multiple items with the same URL 2014-06-04 21:49:02 +02:00
kitemset.cpp Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kitemset.h Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kstandarditem.cpp Fix several bookmark synchronization issues 2012-05-14 17:42:10 +02:00
kstandarditem.h Places Panel: Prepare code to save state of bookmarks 2012-05-13 21:45:59 +02:00
kstandarditemlistgroupheader.cpp Krazy fixes 2012-06-08 22:08:29 +02:00
kstandarditemlistgroupheader.h Provide additional default groups for the Places Panel 2012-04-24 23:18:34 +02:00
kstandarditemlistview.cpp Make sure that widgets are initialized when changing the view mode 2013-07-24 22:31:48 +02:00
kstandarditemlistview.h Make sure that widgets are initialized when changing the view mode 2013-07-24 22:31:48 +02:00
kstandarditemlistwidget.cpp Merge branch 'KDE/4.12' into KDE/4.13 2014-04-14 23:11:00 +02:00
kstandarditemlistwidget.h Fix Bug 326210 - Dolphin unnecessarily truncates names of soft links in compact mode 2014-03-05 10:48:33 +01:00
kstandarditemmodel.cpp Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00
kstandarditemmodel.h Store the selected items in a more efficient way 2013-10-30 23:22:23 +01:00