[PING] Re: Simplified IDEAL mode show/hide problems
Vladimir Prus
ghost at cs.msu.su
Wed Sep 14 09:19:12 UTC 2005
Any comments on the below message? That's a show-stopper for a debugger.
> I have a problem with the Simplified IDEAL mode. One of debugger widgets --
> the disassembler widgets, overrides showEvent and hideEvent. It does so in
> order to request disassemble from gdb only if that windows as shown, as the
> operation is somewhat slow.
>
> This works fine with KMDI. However, with Simplified IDEAl mode, this does
> not work, as showEvent is called right when starting debugger.
>
> Here's the backtrace:
>
> #0 GDBDebugger::DisassembleWidget::showEvent (this=0x8873ab8)
> at disassemblewidget.cpp:172
> #1 0x41539c9a in QWidget::event () from /usr/lib/libqt-mt.so.3
> #2 0x4165dc7d in QTextEdit::event () from /usr/lib/libqt-mt.so.3
> #3 0x414a6e1f in QApplication::internalNotify ()
> from /usr/lib/libqt-mt.so.3
> #4 0x414a641e in QApplication::notify () from /usr/lib/libqt-mt.so.3
> #5 0x41032ac5 in KApplication::notify () from /usr/lib/libkdecore.so.4
> #6 0x41538b3a in QWidget::show () from /usr/lib/libqt-mt.so.3
> #7 0x416185a8 in QScrollView::show () from /usr/lib/libqt-mt.so.3
> #8 0x4023643a in DDockWindow::showWidget ()
> from /home/ghost/Work/Module/kdevelop/src/newui/.libs/libd.so.0
> #9 0x40087a9e in SimpleMainWindow::setViewAvailable (this=0x80f1568,
> pView=0x8873ab8, bEnabled=true) at simplemainwindow.cpp:163
> #10 0x427bcd10 in GDBDebugger::DebuggerPart::startDebugger (this=0x8848280)
> at debuggerpart.cpp:701
>
>
> Is it possible to fix this so that showEvent and hideEvent are only invoked
> when the window is really shown/hidden?
>
> Thanks,
> Volodya
More information about the KDevelop-devel
mailing list