https://bugs.kde.org/show_bug.cgi?id=477540
Méven Car <meve...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meve...@gmail.com --- Comment #3 from Méven Car <meve...@gmail.com> --- 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 ? -- You are receiving this mail because: You are watching all bug changes.