Comment 3 for bug 878165

Revision history for this message
Aurélien Gâteau (agateau) wrote : Re: [Bug 878165] Re: Not working with firefox

Le 23/11/2011 10:38, Bellegarde Cedric a écrit :
> I'm trying to understand this bug...
>
> First, monitoring dbus for menu do not give same information on Ubuntu
> and Kubuntu...
>
> In fact, on Ubuntu, when unity-panel-service is killed, i get the same
> result as Kubuntu.
>
> Here what i have on Ubuntu bus and can't get on Kubuntu when launching
> firefox:
>
> method call sender=:1.154 -> dest=:1.168 serial=235 path=/com/canonical/menu/2E000E9; interface=com.canonical.dbusmenu; member=AboutToShow
> method call sender=:1.154 -> dest=:1.168 serial=236 path=/com/canonical/menu/2E000E9; interface=com.canonical.dbusmenu; member=AboutToShow
> method call sender=:1.154 -> dest=:1.168 serial=237 path=/com/canonical/menu/2E000E9; interface=com.canonical.dbusmenu; member=AboutToShow
> method call sender=:1.154 -> dest=:1.168 serial=238 path=/com/canonical/menu/2E000E9; interface=com.canonical.dbusmenu; member=AboutToShow
> method call sender=:1.154 -> dest=:1.168 serial=239 path=/com/canonical/menu/2E000E9; interface=com.canonical.dbusmenu; member=AboutToShow
> method call sender=:1.154 -> dest=:1.168 serial=240 path=/com/canonical/menu/2E000E9; interface=com.canonical.dbusmenu; member=AboutToShow
> method call sender=:1.154 -> dest=:1.168 serial=241 path=/com/canonical/menu/2E000E9; interface=com.canonical.dbusmenu; member=AboutToShow
>
> It seems to be 7 firefox submenus.

That is strange. Did you get those 7 calls with only one click?

> Is this information useful ?

More information is always good. I have been willing to look into this
bug for a while but haven't found the time yet, so thank you for getting
into it.

I was imagining the bug to be caused by Firefox not answering fast
enough to dbusmenu-qt AboutToShow signal. Maybe you can try increasing
the timeout in the DBusMenuImporter class?