Summary: | Dolphin crashed while opening a newly created video file | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | dani <danii.dias> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | fanzhuyifan, kde, kfm-devel, meven29 |
Priority: | NOR | Keywords: | drkonqi |
Version: | 23.08.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Backtrace with debug symbols |
Description
dani
2023-11-26 06:17:42 UTC
Hi, thank you for your bug report! Could you try to obtain debug symbols for your backtrace? There are detailed instructions at https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports In particular, on Arch Linux, if you reproduce it, I think you can just click Install Debug Symbols from Dr. Konqi. Created attachment 163492 [details]
Backtrace with debug symbols
output of `bt full` within gdb.
The issue comes from here: ``` #6 0x00007f760f2a8d24 in KItemListController::onRelease(QPointF const&, QFlags<Qt::KeyboardModifier>, QFlags<Qt::MouseButton>, bool) (this=this@entry=0x55bef7a92600, pos=..., modifiers=..., modifiers@entry=..., buttons=buttons@entry=..., touch=touch@entry=false) at /usr/src/debug/dolphin/dolphin-23.08.3/src/kitemviews/kitemlistcontroller.cpp:1779 singleClickActivation = <optimized out> emitItemActivated = true isAboveSelectionToggle = <optimized out> controlPressed = <optimized out> shiftOrControlPressed = <optimized out> index = std::optional<int> = {[contained value] = 0} rubberBand = <optimized out> rubberBandRelease = <optimized out> ``` From src/kitemviews/kitemlistcontroller.cpp: ``` if (buttons & Qt::LeftButton) { bool emitItemActivated = true; if (m_view->isAboveExpansionToggle(index.value(), pos)) { const bool expanded = m_model->isExpanded(index.value()); m_model->setExpanded(index.value(), !expanded); Q_EMIT itemExpansionToggleClicked(index.value()); emitItemActivated = false; } else if (shiftOrControlPressed && m_selectionBehavior != SingleSelection) { // The mouse click should only update the selection, not trigger the item, except when // we are in single selection mode emitItemActivated = false; } else { #line 1779: const bool singleClickActivation = m_view->style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick) || m_singleClickActivationEnforced; if (!singleClickActivation) { emitItemActivated = touch && !m_selectionMode; } else { // activate on single click only if we didn't come from a rubber band release emitItemActivated = !rubberBandRelease; } } ```` m_view seems like it could be null, or m_view->style(), both make little sense and should not be possible. Do you use the folder panel ? Do you use split view ? What is the style you are using ? I don't use the folder panel or split view, though I had tabs to other folders open. I use the "details" view mode (with name, file size and modified date columns) and basically the only change I did to the style was add a "refresh view" (F5) button to the toolbar. I was able to reproduce this again after a reboot by doing the following: opening Dolphin and minimizing it -> changing the menu transparency from opaque to transparent on Breeze's application style -> maximizing Dolphin and trying to open a file. After the first crash, I am not able to reproduce this again after doing these same steps on the same Plasma session. *** This bug has been marked as a duplicate of bug 477288 *** |