#875893 gajim: self.systray_context_menu.popup() causes random positioning on Wayland

Package:
gajim
Source:
gajim
Submitter:
Julian Andres Klode
Date:
2017-09-26 08:57:03 UTC
Severity:
normal
#875893#5
Date:
2017-09-15 16:45:22 UTC
From:
To:
gajim is using Menu.popup() when right clicking the tray icon,
but should use popup_at(), as the menu could appear anywhere on
the screen otherwise. Yesterday, for example, it was basically
at the bottom left of the screen while the tray icon is in the
upper right.

log of #gnome-shell:

<halfline> gajim is doing: <halfline>
self.systray_context_menu.popup(None, None, None, event_button,
<halfline> event_time)
<halfline> the docs for that function say
<halfline> Note that this function does not work very well on GDK
backends that do not have global coordinates, such as Wayland or Mir.
You should probably use one of the gtk_menu_popup_at_ variants, which do
not have this problem

#875893#10
Date:
2017-09-16 11:48:31 UTC
From:
To:
Upstream commented in MUC that the new function were only
available in GTK3, while Gajim 0.16.8 still uses GTK2.

Gajim master is probably OK, but we had not yet the time to
package it for experimental, sorry.

#875893#15
Date:
2017-09-26 08:54:15 UTC
From:
To:
Hi Julian,

I finally put the current Gajim master into experimental. The
package is *not* in a good state yet, but somewhat usable.
(E.g. plugins do not yet work at all, unfortunately.)

Could you please try, if it works better in respect to your bug
report? Looking forward reading from you, also via xmpp:debacle@d.o.

Cheers