From owner-freebsd-gnome@freebsd.org Tue Sep 6 19:33:30 2016 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02BA1BC64D3 for ; Tue, 6 Sep 2016 19:33:30 +0000 (UTC) (envelope-from clutton@zoho.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E269FAD3 for ; Tue, 6 Sep 2016 19:33:29 +0000 (UTC) (envelope-from clutton@zoho.com) Received: by mailman.ysv.freebsd.org (Postfix) id E1C9ABC64D2; Tue, 6 Sep 2016 19:33:29 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1774BC64D1 for ; Tue, 6 Sep 2016 19:33:29 +0000 (UTC) (envelope-from clutton@zoho.com) Received: from sender153-mail.zoho.com (sender153-mail.zoho.com [74.201.84.153]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7A80AD2 for ; Tue, 6 Sep 2016 19:33:29 +0000 (UTC) (envelope-from clutton@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=message-id:subject:from:to:date:content-type:mime-version; b=FWMN5AsDmxwOkWqVi9dnkBgp4kUGe7EuP+gTWGy07SmdHzCDEJoetBOEAo5YuHnTzsalLkOmvi42 4QafNa4bw6BDq0NAfQBVFV/GYwzb7IvFJ6NIKPLzqYobKueiczrC Received: from [192.168.11.5] (mktechs.net [46.229.54.117]) by mx.zohomail.com with SMTPS id 1473190398805125.64205247896746; Tue, 6 Sep 2016 12:33:18 -0700 (PDT) Message-ID: <1473190394.21818.10.camel@zoho.com> Subject: gnome-terminal + menu key crushes every time From: clutton To: gnome@FreeBSD.org Date: Tue, 06 Sep 2016 22:33:14 +0300 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-SsP6kgZWcdkteN9pCN56" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 X-Zoho-Virus-Status: 1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2016 19:33:30 -0000 --=-SsP6kgZWcdkteN9pCN56 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm not filling the bug because it might be caused by my irregular setup, which is gdm->mate->xmonad Every time I press menu key I have a crush. I fixed it for myself relatively easy, by debugging and omitting that NULL pointer which is suppose to point on input device I assume... Their prevention code doesn't work because the device can be also NULL apparently... I haven't dig too much, just stretched hands with lldb, I have no idea why and how gnome-terminal works, and why it happened. Just want to know, is it only me with this bug? Can you press the menu key while working with gnome-terminal? And if so, what setup do you have? work/gtk+-3.18.8 =E2=86=92 diff -u gdk/gdkdevice.c.old gdk/gdkdevice.c=C2= =A0 --- gdk/gdkdevice.c.old 2016-01-07 05:25:56.000000000 +0200 +++ gdk/gdkdevice.c 2016-09-06 22:04:02.622570000 +0300 @@ -1015,9 +1015,11 @@ =C2=A0GdkDevice * =C2=A0gdk_device_get_associated_device (GdkDevice *device) =C2=A0{ -=C2=A0=C2=A0g_return_val_if_fail (GDK_IS_DEVICE (device), NULL); - -=C2=A0=C2=A0return device->associated; +=C2=A0=C2=A0if (device) +=C2=A0=C2=A0=C2=A0=C2=A0return device->associated; +=C2=A0=C2=A0else +=C2=A0=C2=A0=C2=A0=C2=A0return NULL; } --=-SsP6kgZWcdkteN9pCN56 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXzxn7AAoJEH2wP42yyP6QcIEQAK8R96HxsUGhl8uBJMHXslLG GwDObDrHd4s9ydI5Hb6LZ5CZRQ4Rmqrel0SBsuj5hOY6olhsobVPGT/fcJZdi8sl r073qEbp9rihBLCjO16yZj7FjgclG8Fi/Ey94vA1Ma+dqP6V97fdsAHAcywRla0P GZsVXvvr60A6wBipBe5OE/UNsqUvyw052sEWYJnul6yKH+o3svNUvZuyzJ8esIM8 POmdR7OkLTTMKV7U2MIDuEGz1ZS2w7SYPaRnSA6w5TIpSIlVjD8pH/1IJj2bxw4w 0olc+y1dCV7ZsMYjzDgsoYQWjlFgBF3jIKbZWiNOXkKSWmQQyMxajvVotlE8qwkb aAO8ABY9fur6HSQ4N+SZOJ7Pz32LOYkErou2kZstcadYKFxmplTyny8XujwzpRBq 1PMNYQ8ncoxkXAuR5tq3Aqk3ify/cWltbbrcZFPCzWrCGmITrkP0YRpiqVYjSoBu R0Yp4Kv0WQA9lh9fNTISdHoNxPOXDL84lhkC9G8TgJeuoKsO8KI8iv+oZFDUa/zw GhLmImlRx9KUGQwZVhyL2NbFnQSoyk36LYjiYahkaR3F2yF5RtP1zhEJu7IVGzZc msFvsBiULrEFbmWVelYqK7YWoJM3dDvwTa8OHwbQFkb0hoABlCyyvYtOok2IIZIp wP5RGuc2+qY9PSQWsWbd =jigi -----END PGP SIGNATURE----- --=-SsP6kgZWcdkteN9pCN56--