[dolphin] [Bug 473377] Dolphin crashes if you remove a tab after deleting a folder

Amol Godbole bugzilla_noreply at kde.org
Mon Sep 4 07:57:56 BST 2023


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

Amol Godbole <amolagodbole at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/9ba0904
                   |                            |0134f743ca3a2082589cc943c2d
                   |                            |4bf175
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Amol Godbole <amolagodbole at gmail.com> ---
Git commit 9ba09040134f743ca3a2082589cc943c2d4bf175 by Amol Godbole.
Committed on 04/09/2023 at 07:53.
Pushed by meven into branch 'master'.

KFileItemModel: Delay emitting currentDirectoryRemoved() signal

The KCoreDirLister object is modified before KCoreDirListerCache::deleteDir()
returns because the signal currentDirectoryRemoved() is emitted.
This prevents removal of the deleted lister from
dirData.listersCurrentlyHolding
in KCoreDirListerCache::forgetDirs() when the tab is closed, which causes the
crash described in the bug. Hence, the signal currentDirectoryRemoved()
is delayed to ensure this does not occur.

M  +6    -1    src/kitemviews/kfileitemmodel.cpp

https://invent.kde.org/system/dolphin/-/commit/9ba09040134f743ca3a2082589cc943c2d4bf175

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list