Comment 3 for bug 1797113

Revision history for this message
Jeff Lane  (bladernr) wrote : Re: [Bug 1797113] Re: Lots of errors from unity-panel-service about gtk_menu_detach flooding syslog

On Wed, Oct 10, 2018 at 9:20 AM Khurshid Alam
<email address hidden> wrote:
>
> I can't reproduce this cosmic. Can you try reproduce this on cosmic?
> Also specify how to reproduce? IS it specific to a particular app ?

I am not currently able to try this with Cosmic. This is my primary
workstation and I don't want to get it off the LTS cycle.
Unfortunately, I don't have a second computer that I can install
Cosmic on to try. As for steps to reproduce, I just noticed
something. In the Settings for "Desktop Appearance"/Behaviour, I have
Menus Visibilty set to "Displayed on Mouse Hovering". I set that to
"Always Display" instead, and tried moving the mouse between multiple
windows, but I still get these errors:
Oct 10 11:39:41 galactica unity-panel-ser[27446]: gtk_menu_detach():
menu is not attached
Oct 10 11:39:43 galactica unity-panel-ser[27446]: message repeated 7
times: [ gtk_menu_detach(): menu is not attached]
Oct 10 11:39:43 galactica unity-panel-ser[27446]: gtk_menu_detach():
menu is not attached
Oct 10 11:39:43 galactica unity-panel-ser[27446]: gtk_menu_detach():
menu is not attached
Oct 10 11:39:46 galactica unity-panel-ser[27446]: message repeated 7
times: [ gtk_menu_detach(): menu is not attached]

Likewise, when I run unity-tweak-tool and click between tabs within
the window, those errors are generated.

In unity tweak tool, under Window Manager / General / Additional,
mouse focus behaviour is set to Sloppy (focus follows mouse). Setting
that to "Click" slightly changes the behaviour in that the error isn't
generated until I click inside a window to focus it. So the behaviour
seems to be tied to focusing windows, or perhaps a redraw that's
triggered by the focus grab.

But that's the best I can tell you, I'm not super knowledgable about
how window management works.