[dolphin] [Bug 462046] `Segmentation fault` when launching `dolphin --split` with more than two arguments

Méven bugzilla_noreply at kde.org
Tue Aug 26 12:49:02 BST 2025


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

Méven <meven at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/60cc399
                   |                            |30f1b0a78280712c8fe1447e919
                   |                            |f018f8
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Méven <meven at kde.org> ---
Git commit 60cc39930f1b0a78280712c8fe1447e919f018f8 by Méven Car, on behalf of
Gleb Kasachou.
Committed on 26/08/2025 at 09:31.
Pushed by felixernst into branch 'master'.

DolphinTabWidget: Fix segfault when restoring session

When a session is being restored, DolphinTabPage::setSplitViewEnabled()
is called for each tab. That function assumes the tab page's
m_navigatorsWidget is a valid pointer, which is true only for an active
tab. That causes a segmentation fault when Dolphin is launched from the
command line with more than two URLs and the --split flag.

This commit fixes this bug by connecting the
DolphinNavigatorsWidgetAction to each tab page before calling
restoreState() in DolphinTabWidget::readProperties().

M  +8    -1    src/dolphintabwidget.cpp

https://invent.kde.org/system/dolphin/-/commit/60cc39930f1b0a78280712c8fe1447e919f018f8

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


More information about the kfm-devel mailing list