Version: (using KDE KDE 3.1) Installed from: Compiled From Sources Compiler: gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) OS: Linux On the "Network" tab of the sidebar I created a new item under ftp archives. I did this by copying the "KDE Official FTP" item, pasting and modifying it, and then copying the new version back to the sidebar under FTP Archives. The only 2 things I modified were Name and URL. The "Name" I set to NMS Server (Production). The URL I set to "ftp://wmerpt01.arch.com". At this point I could click on the item and get a login prompt and then konqueror would list the files correctly. However, if I clicked on the plus beside the item konqueror would crash. I finally got it to quit crashing by setting the URL to "ftp://wmerpt01.arch.com/export/home/user".
*** Bug 56880 has been marked as a duplicate of this bug. ***
*** Bug 53450 has been marked as a duplicate of this bug. ***
*** Bug 53548 has been marked as a duplicate of this bug. ***
*** Bug 58086 has been marked as a duplicate of this bug. ***
Subject: kdebase/konqueror/sidebar/trees/dirtree_module CVS commit by coolo: do not up cast to invalid classes (I bet this is also the cause of many lan:/ crashes we've seen) CCMAIL: 54613-done@bugs.kde.org M +9 -5 dirtree_module.cpp 1.25 --- kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp #1.24:1.25 @@ -135,9 +135,10 @@ void KonqSidebarDirTreeModule::removeSub { bool b = m_dictSubDirs.remove( item->externalURL().url(-1) ); - while (!(((KonqSidebarDirTreeItem*) item)->alias.isEmpty())) + KonqSidebarDirTreeItem *ditem = dynamic_cast<KonqSidebarDirTreeItem*>(item); + while (ditem && !(ditem->alias.isEmpty())) { - b = b|m_dictSubDirs.remove( ((KonqSidebarDirTreeItem*) item)->alias.front() ); + b = b|m_dictSubDirs.remove( ditem->alias.front() ); - ((KonqSidebarDirTreeItem*) item)->alias.pop_front(); + ditem->alias.pop_front(); } if (!b) @@ -315,6 +316,9 @@ void KonqSidebarDirTreeModule::slotRedir if (item->parent()) { - ((KonqSidebarDirTreeItem*) item)->alias<<oldUrl.url(-1); - ((KonqSidebarDirTreeItem*) item)->alias<<newUrl.url(-1); + KonqSidebarDirTreeItem* ditem = dynamic_cast<KonqSidebarDirTreeItem*>(item); + if (ditem) { + ditem->alias<<oldUrl.url(-1); + ditem->alias<<newUrl.url(-1); + } } kdDebug(1201) << "Updating url to " << newUrl.prettyURL() << endl;
*** Bug 44939 has been marked as a duplicate of this bug. ***