On Friday 16 November 2007, Hagen Meyer wrote:
> I didn't find any deterministic way to reproduce it, yet.
> I tried to name a contact "sss", and started chatting (this tab didn't have
> a shortcut assigned). I switched tabs using shortcuts or using the mouse,
> sent messages in different tabs etc.. after several minutes, I gave up and
> BAM there was it again. I didn't do anything special, just messaged as
> normal for about 7 minutes.

Lucky you! I did the same thing awhile ago and could never get it to occur. 
Are you using kde-gui or qt-gui for Licq?

> gentoo linux, KDE 3.5.7, Qt 3.3.8-r4 and 4.3.1-r1 (licq probably compiled
> using qt3?)

Hmm, basically same environment here.

> I didn't find any code in licq which seems to control the shortcuts, but I
> didn't find anything about "automatic" shortcuts in the Qt documentation
> either...

I'm pretty sure it is done by KDE, but I couldn't find the documentation for 
it either. I tried searching through the source too, at one point.

> I also tried to find out something using gdb, but as I never used it
> before, I have some trouble getting started (especially debugging kde-gui -
> the relevant source files don't seem to get loaded by gdb...). Can somebody
> point me towards a good resource? (or just a hint on how to set a
> breakpoint in a gui-function)

Not sure how useful it will be to debug it with gdb though, since it is not 
Licq doing the work. However, to answer your question... the GUI is a plugin, 
so you will need to set a breakpoint after Licq loads the plugins and before 
the code you want to debug starts. So, putting a break point on 
CLicq::StartPlugin will allow you to enter breakpoints for the plugin. Then 
just continue until you hit the next breakpoint. You may also be able to tell 
gdb to break on a function that isn't available yet either, but I haven't 
tried that yet.

Jon

-- 
________________________________________________________
Jon Keating                ICQ: 16325723
[EMAIL PROTECTED]               MSN: [EMAIL PROTECTED]
http://www.licq.org        GPG: 2290A71F
http://www.thejon.org      HOME: Minamiashigara, Japan

Reply via email to