Summary: | configuring main toolbar makes the bookmark toolbar disappear until konqueror is restarted | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | johnelliottmartin |
Component: | kedittoolbar | Assignee: | lypanov |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | illogical1, ogoffart, pcman14 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
johnelliottmartin
2002-11-10 00:11:27 UTC
I would like to confirm the same here Definitely a bug. nothing for me... Alex Without looking at the code, but just because i saw this report on the core-devel mailinglist: I guess you use some widget (toolbar buttons) plugged into the toolbar and you set the toolbar as parent for them. The toolbar will be deleted when editing toolbar. So buttons will be deleted too. A solution could to give no parent to theses widget and delete it manualy when konqueror close, or recreates button when configuring toolbar. Subject: kdebase/konqueror CVS commit by tokoe: Refill the bookmark toolbar whenever the toolbar is configured. That fixes #50495. CCMAIL:50495-done@bugs.kde.org M +5 -3 konq_mainwindow.cc 1.1252 --- kdebase/konqueror/konq_mainwindow.cc #1.1251:1.1252 @@ -367,6 +367,6 @@ void KonqMainWindow::initBookmarkBar() if (!bar) return; - if (m_paBookmarkBar) return; + delete m_paBookmarkBar; m_paBookmarkBar = new KBookmarkBar( KonqBookmarkManager::self(), m_pBookmarksOwner, bar, m_bookmarkBarActionCollection, this ); connect( m_paBookmarkBar, @@ -1701,6 +1700,9 @@ void KonqMainWindow::slotConfigureToolba KEditToolbar dlg(factory()); connect(&dlg,SIGNAL(newToolbarConfig()),this,SLOT(slotNewToolbarConfig())); - if ( dlg.exec() ) + connect(&dlg,SIGNAL(newToolbarConfig()),this,SLOT(initBookmarkBar())); + if ( dlg.exec() ) { createGUI( m_pViewManager->activePart() ); + initBookmarkBar(); + } } *** Bug 66667 has been marked as a duplicate of this bug. *** |