Bug 180064

Summary: KDEUI: reverting toolbar settings to default, causes strange bug in toolbar editor (picture included)
Product: [Unmaintained] kdelibs Reporter: Panagiotis Papadopoulos <pano_90>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A screenshot of the bug

Description Panagiotis Papadopoulos 2009-01-08 21:27:42 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Steps to reproduce the bug:

1. Click on "Settings..." then on "Configure Toolbars..."
2. Click on "Defaults" and in the following dialog click on "Reset"
3. If the bug isn't "triggered" yet, do the steps above one more time

I'm using a recent version of trunk (~2-3 days old)
Comment 1 Panagiotis Papadopoulos 2009-01-08 21:28:28 UTC
Created attachment 30034 [details]
A screenshot of the bug
Comment 2 Dario Andres 2009-01-08 22:05:02 UTC
Here using:

Qt: 4.4.3 + qt-copy-patches-889120
KDE: 4.2.60 (KDE 4.2.60 (KDE 4.3 >= 20090106))
kdelibs svn rev. 907834 / kdebase svn rev. 907837
on ArchLinux x86_64 - Kernel 2.6.27.10

I can reproduce this bug in Dragon Player and in Dolphin.

To reproduce the bug you need to have a default toolbar configuration:

In Dolphin , if you are using a customized toolbar, you need to reset it to defaults (this first time, the Configure Shortcuts dialog will remain OK).
However after restarting Dolphin and resetting the Toolbars configuration, the dialog will get in that strange state.
Comment 3 Parker Coates 2009-08-12 07:22:05 UTC
SVN commit 1010271 by coates:

Use a QPointer to keep track of KDialog's main widget. No more surprises if the main widget gets deleted elsewhere. See http://reviewboard.kde.org/r/1252/ for more details.

BUG:180064


 M  +8 -9      kdialog.cpp  
 M  +2 -1      kdialog_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1010271
Comment 4 Parker Coates 2009-08-12 07:27:53 UTC
SVN commit 1010273 by coates:

Backport of r1010271.

Use a QPointer to keep track of KDialog's main widget. No more surprises if the main widget gets deleted elsewhere. See http://reviewboard.kde.org/r/1252/ for more details.

CCBUG:180064


 M  +8 -9      kdialog.cpp  
 M  +2 -1      kdialog_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1010273