Dolphin fails and crashes after deleting any file

After last update when opening Dolphin instance and deleting any file next problems take place (constantly):

  • it throws an error like
    org.kde.dolphin: Invalid item range (index: 28 , count: 0 ) on "deletion" action
  • then the program fails to list any folder contents (the dropdown list does not show up at all)
  • then it crashes away with the following errors (journald dump):
28.07.20 11:07	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18324, resource id: 35651590, major code: 15 (QueryTree), minor code: 0
28.07.20 11:07	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18329, resource id: 35651590, major code: 18 (ChangeProperty), minor code: 0
28.07.20 11:07	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18415, resource id: 73400472, major code: 18 (ChangeProperty), minor code: 0
28.07.20 11:07	plasmashell	file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:285:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
28.07.20 11:07	systemd-coredump	Process 300327 (dolphin) of user 1000 dumped core.

Stack trace of thread 300327:
#0  0x00007f0dacf39fc9 n/a (libdolphinprivate.so.5 + 0x6afc9)
#1  0x00007f0dacf3d227 _ZN14KFileItemModel20expandedParentsCountEPKNS_8ItemDataE (libdolphinprivate.so.5 + 0x6e227)
#2  0x00007f0dacf63951 _ZNK13KItemListView19hasSiblingSuccessorEi (libdolphinprivate.so.5 + 0x94951)
#3  0x00007f0dacf65526 _ZN13KItemListView25updateSiblingsInformationEii (libdolphinprivate.so.5 + 0x96526)
#4  0x00007f0dacf6caef _ZN13KItemListView16slotItemsRemovedERK14KItemRangeList (libdolphinprivate.so.5 + 0x9daef)
#5  0x00007f0dab1aea26 n/a (libQt5Core.so.5 + 0x2eaa26)
#6  0x00007f0dacf2db86 _ZN14KItemModelBase12itemsRemovedERK14KItemRangeList (libdolphinprivate.so.5 + 0x5eb86)
#7  0x00007f0dacf4b32e _ZN14KFileItemModel11setExpandedEib (libdolphinprivate.so.5 + 0x7c32e)
#8  0x00007f0dacf5b4cb _ZN19KItemListController17mouseReleaseEventEP24QGraphicsSceneMouseEventRK10QTransform (libdolphinprivate.so.5 + 0x8c4cb)
#9  0x00007f0dacf5e07b _ZN19KItemListController12processEventEP6QEventRK10QTransform (libdolphinprivate.so.5 + 0x8f07b)
#10 0x00007f0dacf6dd3f _ZN13KItemListView5eventEP6QEvent (libdolphinprivate.so.5 + 0x9ed3f)
#11 0x00007f0dabd00702 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15c702)
#12 0x00007f0dab1777ba _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b37ba)
#13 0x00007f0dac025ed6 n/a (libQt5Widgets.so.5 + 0x481ed6)
#14 0x00007f0dac02628e n/a (libQt5Widgets.so.5 + 0x48228e)
#15 0x00007f0dac02bbbc _ZN14QGraphicsScene17mouseReleaseEventEP24QGraphicsSceneMouseEvent (libQt5Widgets.so.5 + 0x487bbc)
#16 0x00007f0dac038ac3 _ZN14QGraphicsScene5eventEP6QEvent (libQt5Widgets.so.5 + 0x494ac3)
#17 0x00007f0dabd00702 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15c702)
#18 0x00007f0dab1777ba _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b37ba)
#19 0x00007f0dac055afa _ZN13QGraphicsView17mouseReleaseEventEP11QMouseEvent (libQt5Widgets.so.5 + 0x4b1afa)
#20 0x00007f0dabd41c7e _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5 + 0x19dc7e)
#21 0x00007f0dabdecf9f _ZN6QFrame5eventEP6QEvent (libQt5Widgets.so.5 + 0x248f9f)
#22 0x00007f0dab177523 _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b3523)
#23 0x00007f0dabd006f1 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15c6f1)
#24 0x00007f0dabd07977 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x163977)
#25 0x00007f0dab1777ba _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b37ba)
#26 0x00007f0dabd0685e _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (libQt5Widgets.so.5 + 0x16285e)
#27 0x00007f0dabd5a3b2 n/a (libQt5Widgets.so.5 + 0x1b63b2)
#28 0x00007f0dabd5d78f n/a (libQt5Widgets.so.5 + 0x1b978f)
#29 0x00007f0dabd00702 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15c702)
#30 0x00007f0dab1777ba _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b37ba)
#31 0x00007f0dab60d37c _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (libQt5Gui.so.5 + 0x13c37c)
#32 0x00007f0dab5e2b4c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5 + 0x111b4c)
#33 0x00007f0da5fdec8c n/a (libQt5XcbQpa.so.5 + 0x5ec8c)
#34 0x00007f0da902d43c g_main_context_dispatch (libglib-2.0.so.0 + 0x5243c)
#35 0x00007f0da907b1d9 n/a (libglib-2.0.so.0 + 0xa01d9)
#36 0x00007f0da902c221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
#37 0x00007f0dab1d0331 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30c331)
#38 0x00007f0dab17613c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b213c)
#39 0x00007f0dab17e5c4 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2ba5c4)
#40 0x00007f0dad1febe1 kdemain (libkdeinit5_dolphin.so + 0x42be1)
#41 0x00007f0dad01c002 __libc_start_main (libc.so.6 + 0x27002)
#42 0x0000558abac3405e _start (dolphin + 0x105e)

Stack trace of thread 300328:
#0  0x00007f0dad0ea05f __poll (libc.so.6 + 0xf505f)
#1  0x00007f0da9acf63b n/a (libxcb.so.1 + 0xc63b)
#2  0x00007f0da9ad137b xcb_wait_for_event (libxcb.so.1 + 0xe37b)
#3  0x00007f0da5fddc51 n/a (libQt5XcbQpa.so.5 + 0x5dc51)
#4  0x00007f0daaf92e0f n/a (libQt5Core.so.5 + 0xcee0f)
#5  0x00007f0da9aa5422 start_thread (libpthread.so.0 + 0x9422)
#6  0x00007f0dad0f4bf3 __clone (libc.so.6 + 0xffbf3)

Stack trace of thread 304115:
#0  0x00007f0da9aac158 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0x10158)
#1  0x00007f0daaf98e08 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4e08)
#2  0x00007f0daaf97084 n/a (libQt5Core.so.5 + 0xd3084)
#3  0x00007f0daaf92e0f n/a (libQt5Core.so.5 + 0xcee0f)
#4  0x00007f0da9aa5422 start_thread (libpthread.so.0 + 0x9422)
#5  0x00007f0dad0f4bf3 __clone (libc.so.6 + 0xffbf3)

Stack trace of thread 304117:
#0  0x00007f0da9aac158 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0x10158)
#1  0x00007f0daaf98e08 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4e08)
#2  0x00007f0daaf97084 n/a (libQt5Core.so.5 + 0xd3084)
#3  0x00007f0daaf92e0f n/a (libQt5Core.so.5 + 0xcee0f)
#4  0x00007f0da9aa5422 start_thread (libpthread.so.0 + 0x9422)
#5  0x00007f0dad0f4bf3 __clone (libc.so.6 + 0xffbf3)

Stack trace of thread 304118:
#0  0x00007f0da9aac158 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0x10158)
#1  0x00007f0daaf98e08 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4e08)
#2  0x00007f0daaf97084 n/a (libQt5Core.so.5 + 0xd3084)
#3  0x00007f0daaf92e0f n/a (libQt5Core.so.5 + 0xcee0f)
#4  0x00007f0da9aa5422 start_thread (libpthread.so.0 + 0x9422)
#5  0x00007f0dad0f4bf3 __clone (libc.so.6 + 0xffbf3)

Stack trace of thread 300331:
#0  0x00007f0dad0ea05f __poll (libc.so.6 + 0xf505f)
#1  0x00007f0da907b168 n/a (libglib-2.0.so.0 + 0xa0168)
#2  0x00007f0da902c221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
#3  0x00007f0dab1d0331 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30c331)
#4  0x00007f0dab17613c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b213c)
#5  0x00007f0daaf91c32 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcdc32)
#6  0x00007f0dab42d098 n/a (libQt5DBus.so.5 + 0x17098)
#7  0x00007f0daaf92e0f n/a (libQt5Core.so.5 + 0xcee0f)
#8  0x00007f0da9aa5422 start_thread (libpthread.so.0 + 0x9422)
#9  0x00007f0dad0f4bf3 __clone (libc.so.6 + 0xffbf3)

Stack trace of thread 300336:
#0  0x00007f0dad0ea05f __poll (libc.so.6 + 0xf505f)
#1  0x00007f0da907b168 n/a (libglib-2.0.so.0 + 0xa0168)
#2  0x00007f0da902c221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
#3  0x00007f0dab1d0331 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30c331)
#4  0x00007f0dab17613c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b213c)
#5  0x00007f0daaf91c32 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcdc32)
#6  0x00007f0daaf92e0f n/a (libQt5Core.so.5 + 0xcee0f)
#7  0x00007f0da9aa5422 start_thread (libpthread.so.0 + 0x9422)
#8  0x00007f0dad0f4bf3 __clone (libc.so.6 + 0xffbf3)

Stack trace of thread 304116:
#0  0x00007f0da9aac158 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0x10158)
#1  0x00007f0daaf98e08 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4e08)
#2  0x00007f0daaf97084 n/a (libQt5Core.so.5 + 0xd3084)
#3  0x00007f0daaf92e0f n/a (libQt5Core.so.5 + 0xcee0f)
#4  0x00007f0da9aa5422 start_thread (libpthread.so.0 + 0x9422)
#5  0x00007f0dad0f4bf3 __clone (libc.so.6 + 0xffbf3)

OS details:

KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Kernel Version: 5.7.9-1-MANJARO
Dolphin Version 20.04.3 (The xcb windowing system)

We can try to do this from terminal or TTY preferably:
rm -rf ~/.config/dolphinrc
rm -rf ~/.local/share/dolphin
sudo pacman -Syyu dolphin plasma-desktop plasma-framework qt5-base
then
systemctl reboot

That helped, thanks.

Forum kindly sponsored by