On Wed, 30 Aug 2000, Don Sanders wrote: > On Wed, 30 Aug 2000, Waldo Bastian wrote: > > On Tue, 29 Aug 2000, Harri Porten forwarded: > > > I had similar problem when starting kedit >= 20000813 from the K menu. > > > It would crash on startup. If launched from console command-line, it > > > started OK. I found that kedit was started with command line options > > > when run from menu : kedit -caption "%c" %i %m %u > > > The %i option causes the crash. It does not cause a crash if specified > > > in konsole command line, but it opens 2 kedit windows. > > > I am almost certain that the same thing happened when compiled with > > > the --enable-debug option, but I have not kept a copy of trace ( sorry > > > ! ). I normally compile with only --prefix=/opt/kde1.93 option. I hope > > > this is of some help, if it's not already sorted. > > > rfjak@eircom.net > > > > I can't reproduce this. Works fine here. > > > > Can you send the output of "ldd kdeinit"? > > > > Cheers, > > Waldo > > I experience the same problem. Starting it from the command line with "kedit -icon kedit" indeed triggers the problem. Problem seems to be KTMainWindow::enableToolBar() that doesn't do anything usefull for over a month or so. Try adding the following patch. Would be nice if someone would fix this whole [k|q|kt]mainwindow crap. diff -u -r1.119 ktmainwindow.cpp --- ktmainwindow.cpp 2000/08/08 17:10:28 1.119 +++ ktmainwindow.cpp 2000/08/31 05:19:51 @@ -63,7 +63,13 @@ void KTMainWindow::enableToolBar( KToolBar::BarStatus stat, int id ) { + if (idBarMap.find(id) == idBarMap.end()) + { +fprintf(stderr, "KTMainWindow: NO TB!\n"); + return; + } KToolBar *tb = *idBarMap.find( id ); +fprintf(stderr, "KTMainWindow: tb = %p\n", tb); if ( !tb ) return; bool mystat = tb->isVisible();