From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noah Peart Newsgroups: gmane.emacs.bugs Subject: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK Date: Tue, 8 Nov 2016 17:11:11 -0500 Message-ID: References: <58217D5C.1000302@gmx.at> <83fun2gfuc.fsf@gnu.org> <5822002F.8040409@gmx.at> <83bmxphqak.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1148d6d209faaa0540d16bd8 X-Trace: blaine.gmane.org 1478643158 11125 195.159.176.226 (8 Nov 2016 22:12:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2016 22:12:38 +0000 (UTC) Cc: 24899@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 08 23:12:30 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Eco-0008R1-Is for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Nov 2016 23:12:14 +0100 Original-Received: from localhost ([::1]:35774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Ecr-0007sq-Id for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Nov 2016 17:12:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Ecg-0007ry-W0 for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 17:12:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Ecc-0007Dr-Mj for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 17:12:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34699) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4Ecc-0007Df-JK for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 17:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c4Ecc-0005bu-CN for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 17:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noah Peart Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Nov 2016 22:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24899 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24899-submit@debbugs.gnu.org id=B24899.147864307921509 (code B ref 24899); Tue, 08 Nov 2016 22:12:02 +0000 Original-Received: (at 24899) by debbugs.gnu.org; 8 Nov 2016 22:11:19 +0000 Original-Received: from localhost ([127.0.0.1]:50098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Ebv-0005ar-Gm for submit@debbugs.gnu.org; Tue, 08 Nov 2016 17:11:19 -0500 Original-Received: from mail-it0-f50.google.com ([209.85.214.50]:36376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Ebu-0005ae-9f for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 17:11:18 -0500 Original-Received: by mail-it0-f50.google.com with SMTP id q124so128744320itd.1 for <24899@debbugs.gnu.org>; Tue, 08 Nov 2016 14:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zGme75ttyiJj3IBFpeBa0NiACHaxQx7K+xogzj+kUZE=; b=gzV/ar6vpVbQCACqVVMM0pyOGCUcIl6CtlQoLdT0qfrdfCEPLS3yqs6SPSvlc3wqwz MY7LE67p8+OvfqdqL+yodSmeV4ZCgH0wcDXLko6GuwRyC0HBCQgJmYwlDRDHNR5L+jrp kYenTNPUpx5TEad6binpxaXPx95+Vs1ByLzM39Dj6isjPb69dU+wZ//qwu1444fepsh3 ZOrvU8zZAdq5TJRUQkIBxGQSxKCwTnKfuF57ZltccO0Ea7mfsr2UDTdGug8KX+AXmdj3 Q52p0mbEyZpPlHeSsrbAez/J9vDhIysWj5cdrszpDFczc/s+F9D0czi+SEYwDJ7A/qYY 3HCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zGme75ttyiJj3IBFpeBa0NiACHaxQx7K+xogzj+kUZE=; b=I+HsEAgYieEi96CvkTM8e8FSe3+LwbhJbO4eHVVo04i9NwerhSeVj/VOHhVhH5NkLM ut3yzVmwS392XejN2aWht63F0879rgW+DVhA+NxpDLiOChx4gnE+p1oy0tHzywhHLcEj ef6Q1nvt3o5cY2SjRG1t3aylV/v8oV6uKS8eTbpAdzac7bfMrCMfH8vXUgwjG37e80fQ kD58VjJlwoAi+tFcM5t4zRX3ZxlTP9zLOSka/A/CHuDVJYb/p6/ueefOWvQbWE1IOjCh m+ohveey6Ty4ix4MnzAxcJmHc6NrxlF58cOeubrcJCB6ll1pJ9XUo+5bcT3nvE7MajCN kM7A== X-Gm-Message-State: ABUngveIfYj99bsYEPNjtX8qpA1hSKsaA744GZ0YWjcNf46G1pOLgXLkN8JAsrzwZmYqlDH9QG0YSerKuIXkvw== X-Received: by 10.107.145.3 with SMTP id t3mr14820149iod.42.1478643071709; Tue, 08 Nov 2016 14:11:11 -0800 (PST) Original-Received: by 10.36.141.6 with HTTP; Tue, 8 Nov 2016 14:11:11 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125494 Archived-At: --001a1148d6d209faaa0540d16bd8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I think there might be another problem with the patch though. There seems to be a problem when setting `x-gtk-use-system-tooltips` variable to nil. I think that `x-show-tip` respects this variable with `if (x_gtk_use_system_tooltips)` but `x-hide-tip` does not. So, the tooltip is created but can't be destroyed. Thanks On Tue, Nov 8, 2016 at 2:13 PM, Noah Peart wrote: > I can confirm that Eli's patch fixed the above problem on my end. > `x-hide-tip` now returns true when there is a tooltip active. > > Thanks all > > On Tue, Nov 8, 2016 at 1:33 PM, Noah Peart wrote= : > >> I will try to give it a shot shortly and report back. My value of >> 'x-gtk-use-system-tooltips=E2=80=99 >> was 't'. Sorry I had focused on 'x-hide-tip' and forget 'pos-tip' wasn'= t >> part of emacs. >> >> Thanks! >> >> On Tue, Nov 8, 2016 at 11:47 AM, Eli Zaretskii wrote: >> >>> > Date: Tue, 08 Nov 2016 17:41:19 +0100 >>> > From: martin rudalics >>> > CC: noah.v.peart@gmail.com, 24899@debbugs.gnu.org >>> > >>> > > Martin, did you try this on master or on the emacs-25 branch? >>> > >>> > On master. The OP's build time was more recent than mine ;-) >>> > >>> > > I think >>> > > there's an omission in the Emacs 25.1 code, which the OP is runnin= g, >>> > > that is already fixed on master. For emacs-25, the following patc= h >>> > > should at least bring you closer to the solution, >>> > >>> > Emacs-25? This bug is more than six years old. >>> >>> I meant the branch, not the release. I'm not sure we should fix it in >>> 25.2, given the age of the bug. >>> >>> Thanks. >>> >> >> > --001a1148d6d209faaa0540d16bd8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think there might be another problem with the patch= though.=C2=A0 There seems to be a problem when setting `x-gtk-use-system-t= ooltips` variable to nil.=C2=A0

I think that `x-show-tip= ` respects this variable with

`if (x_gtk_use_system_tooltips)`
but `x-hide-tip` does not.=C2=A0 So, the tooltip is created bu= t can't be destroyed.

Thanks

On Tue, Nov 8, 2016 at 2:1= 3 PM, Noah Peart <noah.v.peart@gmail.com> wrote:
I can confirm that Eli= 9;s patch fixed the above problem on my end.=C2=A0 `x-hide-tip` now returns= true when there is a tooltip active.

Thanks all

On Tue, Nov 8, 2016 at 1:33 PM, Noah Peart <noah.= v.peart@gmail.com> wrote:
<= div dir=3D"ltr">
I will try to give it a shot shortly and report b= ack.=C2=A0 My value of 'x-gtk-use-system-tooltips=E2=80=99
was= 't'.=C2=A0 Sorry I had focused on 'x-hide-tip' and forget = 'pos-tip' wasn't part of emacs.

Thanks!
<= div class=3D"m_-5890364778695450175HOEnZb">

On Tue, N= ov 8, 2016 at 11:47 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Tue, 08 Nov 2016 17:41:19 +0100
> From: martin rudalics <rudalics@gmx.at>
> CC: noah.v= .peart@gmail.com, 24899@debbugs.gnu.org
>
>=C2=A0 > Martin, did you try this on master or on the emacs-25 branc= h?
>
> On master.=C2=A0 The OP's build time was more recent than mine ;-)=
>
>=C2=A0 > I think
>=C2=A0 > there's an omission in the Emacs 25.1 code, which the O= P is running,
>=C2=A0 > that is already fixed on master.=C2=A0 For emacs-25, the fo= llowing patch
>=C2=A0 > should at least bring you closer to the solution,
>
> Emacs-25?=C2=A0 This bug is more than six years old.

I meant the branch, not the release.=C2=A0 I'm not sure we shoul= d fix it in
25.2, given the age of the bug.

Thanks.



--001a1148d6d209faaa0540d16bd8--