https://bugs.kde.org/show_bug.cgi?id=398375

--- Comment #6 from Wolfgang Bauer <[email protected]> ---
Investigated a bit more, here are my findings:
DolphinView::slotTwoClicksRenamingTimerTimeout() only activates inline rename
when if m_dragging is not true.
But when this happens, m_dragging is in fact false (although dragging a file is
in progress).

The reason is this in DolphinView::eventFilter():
    case QEvent::GraphicsSceneDragLeave:
        if (watched == m_view) {
            m_dragging = false;
        }
        break;

I.e. if you drag a file outside of the view, m_dragging will be set to false
again.
I have no idea if that's intentional or a bug though (I don't know what the
exact purpose of m_dragging).
If it is how it should be, I suppose the abortTwoClicksRenaming() should be
called inside the case statement...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to