[Konsole-devel] [Bug 49153] deattach/attach session -> key input is doubled

Luis Pedro Coelho luis_pedro at netcabo.pt
Mon Oct 21 23:03:20 UTC 2002


Em Segunda, 21 de Outubro de 2002 18:42, Luis Pedro Coelho escreveu:
> Em Segunda, 21 de Outubro de 2002 11:21, Simon Hausmann escreveu:
> > OK, turned out not to be a real Qt bug. TEmulation declares the
> > onKeyPress slot. TEmuVt102's declares the slot again, so the slot is
> > listed twice, once in TEmulation's QMetaObject and once in TEmuVt102's
> > one. But as the TEmulation constructor calls connectGUI at this time only
> > the onKeyPressed slot of TEmulation is avaiable, because the vtbl of the
> > object is not adjusted to TEmuVt102 yet, so the metaObject method still
> > returns TEmulations' QMetaObject. As a result in the sender object the
> > member index of TEmulation's onKeyPressed signal is stored (in the
> > connection list) .
>
> I disagree: this is, IMHO, a Qt bug. I now understand why the old code
> didn't work, but I think should.
>
> regards

a follow-up to myself: Armed with the knowledge you uncovered, I managed to 
build a simple test case and filed a bug report with Trolltech.

regards,
-- 
Luis Pedro Coelho

"Technology does not always equal progress."
Douglas Coupland



More information about the konsole-devel mailing list