Hi,
  I believe the cause of this bug is a missing NULL check in kdebase-workspace;
I've filed a bug for it as bug 603480, that causes a seg if hiding a file dialog
before making it visible.

The following hacky patch to ktoon works around the bug in kdebase-workspace
and solves this problem; but I think the right thing is to fix 
kdebase-workspace.

Dave



--- ktoon-0.8.1/src/core/configwizard.cpp       2007-06-15 03:33:07.000000000 
+0100
+++ ktoon-0.8.1-daveg/src/core/configwizard.cpp 2010-11-14 15:49:54.000000000 
+0000
@@ -115,6 +115,7 @@
        connect(fd, SIGNAL(currentChanged ( const QString & )), m_kthome, 
SLOT(setText(const QString &)));
        fd->setFileMode(QFileDialog::Directory);
        fd->setModal(true);
+       fd->show(); /* DAG */
        fd->hide();
        connect(button, SIGNAL(clicked()), fd, SLOT(show()));
        
@@ -131,6 +132,7 @@
        QFileDialog *fd2 = new QFileDialog(hbox2);
        connect(fd2, SIGNAL(currentChanged ( const QString & )), m_ktrepos, 
SLOT(setText(const QString &)));
        
+       fd2->show(); /* DAG */
        fd2->hide();
        fd2->setFileMode(QFileDialog::Directory);
        fd2->setModal(true);


-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\ gro.gilbert @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to