[Pkg-gajim-maintainers] Bug#875893: gajim: self.systray_context_menu.popup() causes random positioning on Wayland

Julian Andres Klode jak at debian.org
Fri Sep 15 16:45:22 UTC 2017


Package: gajim
Version: 0.16.8-5
Severity: normal

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

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (900, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gajim depends on:
ii  dnsutils        1:9.10.3.dfsg.P4-12.6
ii  python          2.7.13-2
ii  python-gtk2     2.24.0-5.1
ii  python-nbxmpp   0.5.4-1
ii  python-openssl  16.2.0-1
ii  python-pyasn1   0.1.9-2

Versions of packages gajim recommends:
ii  alsa-utils                             1.1.3-1
ii  ca-certificates                        20170717
ii  dbus                                   1.11.16+really1.10.22-1
ii  gnome-flashback [notification-daemon]  3.24.0-2
ii  gnome-shell [notification-daemon]      3.26.0-2jak1
ii  pulseaudio-utils                       11.0-2
ii  python-crypto                          2.6.1-7+b1
ii  python-dbus                            1.2.4-1+b2
ii  python-gnupg                           0.4.1-1

Versions of packages gajim suggests:
ii  aspell-de [aspell-dictionary]  20161207-1
ii  aspell-en [aspell-dictionary]  2017.08.24-0-0.1
ii  avahi-daemon                   0.6.32-2
pn  dvipng                         <none>
ii  gnome-keyring                  3.20.1-1
pn  gstreamer0.10-plugins-ugly     <none>
pn  kwalletcli                     <none>
ii  libgtkspell0                   2.0.16-1.1
ii  libxss1                        1:1.2.2-1+b2
ii  nautilus-sendto                3.8.6-1
ii  network-manager                1.8.2-1
pn  python-avahi                   <none>
ii  python-gconf                   2.28.1+dfsg-1.2
ii  python-gnome2                  2.28.1+dfsg-1.2
pn  python-gnomekeyring            <none>
pn  python-gupnp-igd               <none>
ii  python-kerberos                1.1.5-2+b3
ii  python-pycurl                  7.43.0-2+b1
ii  texlive-latex-base             2017.20170818-1

-- no debconf information

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev
                  |  Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline').  Thank you.



More information about the Pkg-gajim-maintainers mailing list