[dolphin] [Bug 429628] Dolphin Crashes on Start

Martin Sandsmark bugzilla_noreply at kde.org
Fri Dec 11 21:54:03 GMT 2020


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

--- Comment #7 from Martin Sandsmark <martin.sandsmark at kde.org> ---
(In reply to Alexander Lohnau from comment #6)
> Just checking the pointer in 
> >void DolphinViewContainer::setSearchModeEnabled(bool enabled)
> and doing an early return if it is null seems fixes the crash. The same
> check is also done in 
> >void DolphinViewContainer::disconnectUrlNavigator()
> 
> But I am not into the navigator stuff, so maybe Felix can have a say in that
> regard :)

Yeah, it fixes the crash, but I assume it breaks some functionality (related to
restoring a session with search active, I guess). That's why I tried to add
some singleShot() hacks in setSearchModeEnabled() that called
setSearchModeEnabled() again if the pointer was null, to try to recover.

The check is done in disconnectUrlNavigator() because that nulls out the
pointer again iirc.

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


More information about the kfm-devel mailing list