[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 306459] Dolphin crashes when I make 2-panel view and clicking into another panel
From:       Frank Reininghaus <frank78ac () googlemail ! com>
Date:       2012-09-11 10:26:53
Message-ID: bug-306459-17878-pw9ha6zcHN () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Frank Reininghaus <frank78ac@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |investigated

--- Comment #9 from Frank Reininghaus <frank78ac@googlemail.com> ---
I think that the problem is the line

m_dirLister->setMainWindow(qApp->activeWindow());

in KFileItemModel's constructor. When "Split View" is enabled in the settings
dialog, a new view is created, and the KFileItemModel which belogs to this view
makes the settings dialog the main window for the dir lister. When the settings
dialog is closed, the pointer becomes dangling, and when the dir lister tries
to dereference it, we get a crash.

Removing that line would fix the crash, but create other problems, so we have
to think of something better.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic