Bug 441194

Summary: Can't Change Trash Location to External Drive
Product: [Applications] dolphin Reporter: alikayra.kaygin
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: akselmo, kfm-devel
Priority: NOR Keywords: drkonqi
Version: 20.12.2   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description alikayra.kaygin 2021-08-19 20:30:15 UTC
Application: dolphin (20.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.10.0-8-amd64 x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: Debian GNU/Linux 11 (bullseye)

-- Information about the crash:
- What I was doing when the application crashed:
I was changing the trash location to a mounted external drive from "Places">Trash(Right Click)>Edit>Location(Using file dialog)
File picker picks successfully but when I click OK Dolphin crashes.
Dolphin Properties>Trash list shows both '/' and my external drive (not the directory that I choose) but if I select the HD, click apply/ok and reopen highlight is on '/' again.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f53dab2d8f0 in KIconButton::icon() const () from /lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#5  0x00007f53db31edc9 in KFilePlaceEditDialog::icon() const () from /lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#6  0x00007f53db6e6bc1 in ?? () from /lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#7  0x00007f53db6e7e68 in ?? () from /lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#8  0x00007f53d95795a6 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f53db3e6646 in KItemListController::itemContextMenuRequested(int, QPointF const&) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#10 0x00007f53db4160df in KItemListController::onPress(QPoint const&, QPointF const&, QFlags<Qt::KeyboardModifier>, QFlags<Qt::MouseButton>) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#11 0x00007f53db417dd1 in KItemListController::mousePressEvent(QGraphicsSceneMouseEvent*, QTransform const&) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#12 0x00007f53db418be9 in KItemListController::processEvent(QEvent*, QTransform const&) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#13 0x00007f53db4282fd in KItemListView::event(QEvent*) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#14 0x00007f53da00515f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f53d9542fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f53da31a385 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f53da31a721 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f53da322d0a in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f53da32ca81 in QGraphicsScene::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f53da00515f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f53d9542fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f53da348f75 in QGraphicsView::mousePressEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f53da044fae in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f53da0ed2fe in QFrame::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f53d9542d33 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f53da00514e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f53da00c04b in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f53d9542fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f53da00b076 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f53da05d011 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f53da06033e in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f53da00515f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f53d9542fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f53d991d583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#35 0x00007f53d98f364c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#36 0x00007f53d43c87da in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#37 0x00007f53d724e85b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f53d724eb08 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f53d724ebbf in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f53d959a53b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f53d954198b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007f53d9549c00 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007f53db6c29e0 in kdemain () from /lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#44 0x00007f53db4d6d0a in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#45 0x00005613ecb3808a in _start ()
[Inferior 1 (process 179330) detached]

Reported using DrKonqi