GNU logs - #40047, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Dustin Lacewell <dlacewell@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 Mar 2020 22:12:01 +0000
Resent-Message-ID: <handler.40047.B.158405112016642 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 40047 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.158405112016642
          (code B ref -1); Thu, 12 Mar 2020 22:12:01 +0000
Received: (at submit) by debbugs.gnu.org; 12 Mar 2020 22:12:00 +0000
Received: from localhost ([127.0.0.1]:57916 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jCW3c-0004KJ-2D
	for submit <at> debbugs.gnu.org; Thu, 12 Mar 2020 18:12:00 -0400
Received: from lists.gnu.org ([209.51.188.17]:47315)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dlacewell@HIDDEN>) id 1jCVmr-0003qE-5b
 for submit <at> debbugs.gnu.org; Thu, 12 Mar 2020 17:54:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40153)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <dlacewell@HIDDEN>) id 1jCVmp-00037C-K8
 for bug-gnu-emacs@HIDDEN; Thu, 12 Mar 2020 17:54:40 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dlacewell@HIDDEN>) id 1jCVmo-00072y-AS
 for bug-gnu-emacs@HIDDEN; Thu, 12 Mar 2020 17:54:39 -0400
Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]:34650)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <dlacewell@HIDDEN>) id 1jCVmo-00071F-3S
 for bug-gnu-emacs@HIDDEN; Thu, 12 Mar 2020 17:54:38 -0400
Received: by mail-qv1-xf29.google.com with SMTP id o18so3500433qvf.1
 for <bug-gnu-emacs@HIDDEN>; Thu, 12 Mar 2020 14:54:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=kDuWShKKaEPceaFLWzKuFRxYDGKZNpJmhTMTc6wXt5E=;
 b=ub+E6BmOCyJXO5tHPUSbRGPi/sK9724uLbftOKijP8sMvaXeZcWja5p5SCVwlFw9eC
 vwWvv6he6khBi9vqVo+QBpcTNHxFXWbdLYhzvO8WQREywK64RfuH4ITtJbmCD6YqMLHs
 hP7/7ZbpPd4bJlIbf6wbhbKSBVbh4z/6DI19Jgjo+/y8+wvO28g+HWtxC1vum82sIJXe
 6PIyywbJhqj37AkHFOccL06LiR9yt0mx4i3OAB9tbf1gVAmUId510HA6b7cxxtOtSLWt
 zl/ak084sU2tH/epSMYqPpQMdyVhOMpcw5Hvg2T4P25I3HIoTj7DWJHxP7laVW5yxRQh
 7RFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=kDuWShKKaEPceaFLWzKuFRxYDGKZNpJmhTMTc6wXt5E=;
 b=VaxWwPc2troXyJtuJohsFaptO85cpKFUtv0tNxg4k6sJVLwvRyXhVEhHCkzM+rxW1d
 ac0tv8vUwSQnqCQzwhXHwFhJOkEY8fYEDfI/eVjirVXYLIdrG5gC8FCymf7VL2cOCXp2
 YIeP5a+vDireauX6IBu3lNJUHeAY5adFmvZoila+CCJi4tvQnU3OTJSqkFwvujXfwI0j
 xkCwksErePlMO6Q2ULOXdq1vcKKvLvjw77dnDKiP1TCQkwTgbsjxYb9x7df8vfW93bMr
 8i6wiSZ7TqXI4WgTiaDKRLc1x+zaVjA0z3qtRDI4pcI912aZXN30EGjVuqf9KFHWeKO4
 h4bw==
X-Gm-Message-State: ANhLgQ1oPnuWip3qcNzHICWblNT0roG4Xp4Omdj5L9nCkyk7yI58xbYj
 hE+qpZwZj7iLNeHsL9NTm7Brex6uznqqtejqhXPoQpFWw10=
X-Google-Smtp-Source: ADFU+vsvu8vPcu3XAj7tbc+z6VXZMo+u5zreUv3JEZJD5fc4iMuZ8DgoEsaql2CYcCFHUZK93GjSTq7SI70Y6eASfc0=
X-Received: by 2002:a0c:f985:: with SMTP id t5mr9582135qvn.127.1584050077070; 
 Thu, 12 Mar 2020 14:54:37 -0700 (PDT)
MIME-Version: 1.0
From: Dustin Lacewell <dlacewell@HIDDEN>
Date: Thu, 12 Mar 2020 16:54:26 -0500
Message-ID: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000267a7b05a0af6630"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::f29
X-Spam-Score: 0.3 (/)
X-Mailman-Approved-At: Thu, 12 Mar 2020 18:11:58 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--000000000000267a7b05a0af6630
Content-Type: text/plain; charset="UTF-8"

--text follows this line--

It appears that images in tooltip-mode tooltips is currently broken on
most platforms besides windows. The following snippet should provide an
example:

(defun my-download-as-string (url)
  "Download file from URL and return it as string."
  (let ((image-buf (url-retrieve-synchronously url)))
    (when image-buf
      (with-current-buffer image-buf
        (goto-char (point-min))
        (when (looking-at "HTTP/")
          (delete-region (point-min)
                         (progn (re-search-forward "\n[\n]+")
                                (point))))
        (buffer-substring-no-properties (point-min) (point-max))))))

(defun my-download-image (url)
  "Download URL as image."
  (create-image (my-download-as-string url) (image-type-from-file-name url)
t))

(with-current-buffer (get-buffer-create "*TooltipTest*")
  (tooltip-mode)
  (insert
   (propertize "Facepalm" 'help-echo
               (propertize " " 'display
                           (my-download-image "
https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Paris_Tuileries_Garden_Facepalm_statue.jpg/300px-Paris_Tuileries_Garden_Facepalm_statue.jpg
"))))
  (display-buffer (current-buffer)))

Just `eval-buffer` then hover your mouse over `Facepalm` in the new
buffer.

Emacs versions 26.2 26.3 and 28.0.50 were tested on NixOS, Ubuntu, OSX
and Windows.

On Windows a tooltip displays an image. On Linux (NixOS, Ubuntu) and OSX
only a small empty tooltip is presented.

One package I was able to identify that uses this behavior is Dired+

This feature is also useful in general to maintain the readability of
org-mode documents for example.

--000000000000267a7b05a0af6630
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">--text follows this line--<br><br>It appears that images i=
n tooltip-mode tooltips is currently broken on<br>most platforms besides wi=
ndows. The following snippet should provide an<br>example:<br><br>(defun my=
-download-as-string (url)<br>=C2=A0 &quot;Download file from URL and return=
 it as string.&quot;<br>=C2=A0 (let ((image-buf (url-retrieve-synchronously=
 url)))<br>=C2=A0 =C2=A0 (when image-buf<br>=C2=A0 =C2=A0 =C2=A0 (with-curr=
ent-buffer image-buf<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (goto-char (point-min))=
<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (when (looking-at &quot;HTTP/&quot;)<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (delete-region (point-min)<br>=C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0(progn (re-search-forward &quot;\n[\n]+&quot;)<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 (point))))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (buffer-substri=
ng-no-properties (point-min) (point-max))))))<br><br>(defun my-download-ima=
ge (url)<br>=C2=A0 &quot;Download URL as image.&quot;<br>=C2=A0 (create-ima=
ge (my-download-as-string url) (image-type-from-file-name url) t))<br><br>(=
with-current-buffer (get-buffer-create &quot;*TooltipTest*&quot;)<br>=C2=A0=
 (tooltip-mode)<br>=C2=A0 (insert<br>=C2=A0 =C2=A0(propertize &quot;Facepal=
m&quot; &#39;help-echo<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0(propertize &quot; &quot; &#39;display<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(my-d=
ownload-image &quot;<a href=3D"https://upload.wikimedia.org/wikipedia/commo=
ns/thumb/3/3b/Paris_Tuileries_Garden_Facepalm_statue.jpg/300px-Paris_Tuiler=
ies_Garden_Facepalm_statue.jpg">https://upload.wikimedia.org/wikipedia/comm=
ons/thumb/3/3b/Paris_Tuileries_Garden_Facepalm_statue.jpg/300px-Paris_Tuile=
ries_Garden_Facepalm_statue.jpg</a>&quot;))))<br>=C2=A0 (display-buffer (cu=
rrent-buffer)))<br><br>Just `eval-buffer` then hover your mouse over `Facep=
alm` in the new<br>buffer.<br><br>Emacs versions 26.2 26.3 and 28.0.50 were=
 tested on NixOS, Ubuntu, OSX<br>and Windows.<br><br>On Windows a tooltip d=
isplays an image. On Linux (NixOS, Ubuntu) and OSX<br>only a small empty to=
oltip is presented.<br><br>One package I was able to identify that uses thi=
s behavior is Dired+<br><br>This feature is also useful in general to maint=
ain the readability of<br>org-mode documents for example.<br></div>

--000000000000267a7b05a0af6630--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Dustin Lacewell <dlacewell@HIDDEN>
Subject: bug#40047: Acknowledgement (26.2; Images in tooltip-mode tooltips
 broken on Linux and OSX)
Message-ID: <handler.40047.B.158405112016642.ack <at> debbugs.gnu.org>
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
X-Gnu-PR-Message: ack 40047
X-Gnu-PR-Package: emacs
Reply-To: 40047 <at> debbugs.gnu.org
Date: Thu, 12 Mar 2020 22:12:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 40047 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
40047: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40047
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 Mar 2020 08:19:01 +0000
Resent-Message-ID: <handler.40047.B40047.15840874854316 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Dustin Lacewell <dlacewell@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.15840874854316
          (code B ref 40047); Fri, 13 Mar 2020 08:19:01 +0000
Received: (at 40047) by debbugs.gnu.org; 13 Mar 2020 08:18:05 +0000
Received: from localhost ([127.0.0.1]:58099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jCfW9-00017Y-G1
	for submit <at> debbugs.gnu.org; Fri, 13 Mar 2020 04:18:05 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59685)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jCfW7-00016z-Cw
 for 40047 <at> debbugs.gnu.org; Fri, 13 Mar 2020 04:18:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45774)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1jCfW2-0004le-9o; Fri, 13 Mar 2020 04:17:58 -0400
Received: from [176.228.60.248] (port=4730 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jCfW1-0007ow-K7; Fri, 13 Mar 2020 04:17:58 -0400
Date: Fri, 13 Mar 2020 10:18:06 +0200
Message-Id: <83wo7o8y81.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
 (message from Dustin Lacewell on Thu, 12 Mar 2020 16:54:26 -0500)
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: Dustin Lacewell <dlacewell@HIDDEN>
> Date: Thu, 12 Mar 2020 16:54:26 -0500
> 
> Just `eval-buffer` then hover your mouse over `Facepalm` in the new
> buffer.
> 
> Emacs versions 26.2 26.3 and 28.0.50 were tested on NixOS, Ubuntu, OSX
> and Windows.
> 
> On Windows a tooltip displays an image. On Linux (NixOS, Ubuntu) and OSX
> only a small empty tooltip is presented.

If, in the GNU/Linux build, you set x-gtk-use-system-tooltips to nil,
does the problem go away?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Stephen Berman <stephen.berman@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 Mar 2020 12:12:02 +0000
Resent-Message-ID: <handler.40047.B40047.15841015023711 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org, Dustin Lacewell <dlacewell@HIDDEN>
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.15841015023711
          (code B ref 40047); Fri, 13 Mar 2020 12:12:02 +0000
Received: (at 40047) by debbugs.gnu.org; 13 Mar 2020 12:11:42 +0000
Received: from localhost ([127.0.0.1]:58230 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jCjAE-0000xi-9c
	for submit <at> debbugs.gnu.org; Fri, 13 Mar 2020 08:11:42 -0400
Received: from mout.gmx.net ([212.227.15.18]:41719)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1jCjAB-0000xF-Tv
 for 40047 <at> debbugs.gnu.org; Fri, 13 Mar 2020 08:11:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1584101493;
 bh=kloSOeiw41GjUgNoMtKufu98Lc8wpVXt0yA4rkblTJA=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=PHeLQ2o+km44wA636JpAoZOkLXwPTKN18yG76tyneKCHVHk+cYs4G48ykOitwLQ+9
 z7BL0Wte3yR9bBymhvMQzGGY8sz1Nz6OgkLhXUK97VjOpdUNK9NK2PJtA6obKWOMA7
 wX1G6hPdFRr8J7UdRk2aoA12au4MXF29B1jBQFuc=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from strobe-lfs84 ([178.6.220.14]) by mail.gmx.com (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MVNAr-1imVYx3eWV-00SLAQ; Fri, 13
 Mar 2020 13:11:32 +0100
From: Stephen Berman <stephen.berman@HIDDEN>
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
 <83wo7o8y81.fsf@HIDDEN>
Date: Fri, 13 Mar 2020 13:11:31 +0100
In-Reply-To: <83wo7o8y81.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 13 Mar
 2020 10:18:06 +0200")
Message-ID: <87lfo4h2to.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:G01hFJdmvllHJXZM5JPksI8DrBkw9EHktmOhtX9V3grW2SDDUTD
 TbCe+aDo4yjDlissJxDJXEPk8aTb4mfOUFonRKk/s7q/C59AEUfvH/SLQasTRMPEzmXcZpx
 FhD2bxugBfaTPVUO5X8NkDboQJDfwNVwF76ZcbIZfTJFXmwAU3LCoin4cfF7698BnVx6mvg
 5iVxXVOSs68CucNEp5nAQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:HOK0xgvjX9U=:cYXbTEcjjPj/6N2GcutuBr
 lYdwR8gkSBDTCsJs6+C4y28RCbnT3H6hKWGl7Edc/hux/zkCScxjDjX02qO9u9+V8LSoDJrzb
 yYt/1DDyXKAw6c3agZAICSz3G4eG1MQ7SswJFE1ub/m3Qb5k3llIeKWksFHGifoWGHPgB5w66
 dCZ0rWgRyiu11QE+cZxzS/p/gHv2NkVv46TfmXkZ2X/Oy2CZ6hsDnkm1/EgzEU5+M16h3Nqqv
 8ta2zu8kjuccVofdv93TaSJ29BjFwYMj8443xaGzTCOww/mauEIpELJcSu3oQQJ4HwaUc6zXy
 2e/wLNhl9AufNkXehmiHERfPSS0JqILlGyfbVQNX+botJw/XIxUq9rPqxcrGv3AIGPixKmdnm
 wmrPHCz0MaJDiA5VvsM7pFC3TcCna7S4U5avB+jwsxNeYk/Cwy0xYGeY4YBsAY7VeLjedjm5x
 FrVvDq+vCwsnW7lqxUYMxa8CowhzeRP8Gecu/BqVXMyvJ9FRBPziOhADqrJj6ShEhKUWsdy9U
 0fB5trtXi5Mzyyfy/e3f4bXqy3H+mVLORaEd44wW3WkLQk+FYiWOrhLI1tJcNPKRb6ElfdJUH
 1axsfY0MGnx4O3W8z/XPKrpUs+TWszLzGNTV/nHtk63IIhnxa4MRPVXjoFvrvxLWj+2Tcv4+c
 hhMUzLgYJhKMhzGa7GhYm6K0QIrXzpwFwMy/T6yi6oBmMXN6XDj/6Qq4N6UYR8vE0c15sw2n4
 7rKPh+YhFTYLb/NbMrTZ51fujue2X6b0QyiDiyl5QCRJ+5kB0d4e00kvwGL8z5wrXDsaVU3pi
 R/aNfuC9VKjX3/9Pqjs9Lwam6lIqkND9onuSpO+FUaq+wdZmIBZJSCoQW3G5zqcl7ys9KoVls
 9K01FEu7lRSleAIqD1JMzPHbcY9kuH9cvVrEYfp/Z/96ecNMQCGcxTk/JHYugI242YUv9gvHk
 7Wc7T+usYnde+XozymGywDHCYGlaWLVpj+RR9fnPsB4mbUQTQfpq/ma3zsy96aFT5zQFEXrKn
 eUs6bZpTj9EmGssrr1fcGMYi6MNTzkcxqAbgTOHxxkZpGeMkPIYCfuHz4oNoHyPEd53JE8Itw
 GFZtp15fo9iVGpmysN8CladWJp70wOCZWZEKihPYHkUTnEsSnNKE4R/uj6WPk/YpOrHSLCWIk
 sWobRjY/XOoFN9PgTXrp7jgXauab037ryKE42pDUZZiPsqeLSmboW1OpXhXKU1xYMCNdPooyT
 dYaZUQpraGUIPcrAE
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Fri, 13 Mar 2020 10:18:06 +0200 Eli Zaretskii <eliz@HIDDEN> wrote:

>> From: Dustin Lacewell <dlacewell@HIDDEN>
>> Date: Thu, 12 Mar 2020 16:54:26 -0500
>>
>> Just `eval-buffer` then hover your mouse over `Facepalm` in the new
>> buffer.
>>
>> Emacs versions 26.2 26.3 and 28.0.50 were tested on NixOS, Ubuntu, OSX
>> and Windows.
>>
>> On Windows a tooltip displays an image. On Linux (NixOS, Ubuntu) and OS=
X
>> only a small empty tooltip is presented.
>
> If, in the GNU/Linux build, you set x-gtk-use-system-tooltips to nil,
> does the problem go away?

It does for me.  That is, I'm running GNU/Linux and with
x-gtk-use-system-tooltips set to t, I don't see the image, but with it
set to nil, I do.

Steve Berman




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 Mar 2020 14:26:02 +0000
Resent-Message-ID: <handler.40047.B40047.158410952818685 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stephen Berman <stephen.berman@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org, dlacewell@HIDDEN
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.158410952818685
          (code B ref 40047); Fri, 13 Mar 2020 14:26:02 +0000
Received: (at 40047) by debbugs.gnu.org; 13 Mar 2020 14:25:28 +0000
Received: from localhost ([127.0.0.1]:60101 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jClFg-0004rJ-I1
	for submit <at> debbugs.gnu.org; Fri, 13 Mar 2020 10:25:28 -0400
Received: from eggs.gnu.org ([209.51.188.92]:32897)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jClFe-0004r7-Ly
 for 40047 <at> debbugs.gnu.org; Fri, 13 Mar 2020 10:25:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45554)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1jClFZ-000567-Dm; Fri, 13 Mar 2020 10:25:21 -0400
Received: from [176.228.60.248] (port=3384 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jClFQ-0007Ti-NI; Fri, 13 Mar 2020 10:25:16 -0400
Date: Fri, 13 Mar 2020 16:24:53 +0200
Message-Id: <83blp08h8q.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87lfo4h2to.fsf@HIDDEN> (message from Stephen Berman on Fri, 13
 Mar 2020 13:11:31 +0100)
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
 <83wo7o8y81.fsf@HIDDEN> <87lfo4h2to.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: Stephen Berman <stephen.berman@HIDDEN>
> Cc: Dustin Lacewell <dlacewell@HIDDEN>,  40047 <at> debbugs.gnu.org
> Date: Fri, 13 Mar 2020 13:11:31 +0100
> 
> > If, in the GNU/Linux build, you set x-gtk-use-system-tooltips to nil,
> > does the problem go away?
> 
> It does for me.  That is, I'm running GNU/Linux and with
> x-gtk-use-system-tooltips set to t, I don't see the image, but with it
> set to nil, I do.

Thanks for testing.  So I guess the problem is that we fail to
instruct the native tooltips to display the image or use the correct
dimensions, for some reason, and the problem doesn't exist on Windows
because we always use our own code for tooltips there.

Patches to fix the native case are welcome.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Dustin Lacewell <dlacewell@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 Mar 2020 15:01:01 +0000
Resent-Message-ID: <handler.40047.B40047.158411162022284 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org, Stephen Berman <stephen.berman@HIDDEN>
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.158411162022284
          (code B ref 40047); Fri, 13 Mar 2020 15:01:01 +0000
Received: (at 40047) by debbugs.gnu.org; 13 Mar 2020 15:00:20 +0000
Received: from localhost ([127.0.0.1]:60134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jClnQ-0005nL-18
	for submit <at> debbugs.gnu.org; Fri, 13 Mar 2020 11:00:20 -0400
Received: from mail-qk1-f194.google.com ([209.85.222.194]:42425)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dlacewell@HIDDEN>) id 1jClnN-0005n9-LX
 for 40047 <at> debbugs.gnu.org; Fri, 13 Mar 2020 11:00:18 -0400
Received: by mail-qk1-f194.google.com with SMTP id e11so12926203qkg.9
 for <40047 <at> debbugs.gnu.org>; Fri, 13 Mar 2020 08:00:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=WP2UP1g+YgkQEvWnfBcSAeSZ467wO4z/7b4iFxvodAo=;
 b=E2/eEa8rP5IA5Jr6XPU98a8Ih3U2ZxmS4VybtcYJ+ZPfLBY1aePGM+9J59qSyG0Tf4
 ruff+RZ5moNsnbMSi8vO7rZXUY1P+wh4y3R9zOSFZhZ/AG6GHD3p2YL1OHc0JD0tSnFh
 pIg95Y8hSADY3gqXDl0mYNCLqFafY4zAUqbl5tSzwfb3XbtNIhBndPiZ4vXr41g4qvzD
 mu+H0J2WcCXs6Nxi4m4Q54m964pRMdMcQNC6sSdBRMGAR2wSP5JUfs3SfnMQkII3mTbG
 xZvhiCYIsqJvi2SXtm/e/C5wiRfCgCdXum7hjrelyRnbcY78iqBRkRyySqi/2BV1rqkV
 quFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=WP2UP1g+YgkQEvWnfBcSAeSZ467wO4z/7b4iFxvodAo=;
 b=LOD4H+RHP/xltlyFOwAwBBe6XpYiu15hs+JNUFpHjIeb2H/7ffMX7ERude3ySmIqM5
 sr7RyKjLZ+EOJ/Ak2n9L8jnnETp47PYWtTaJMWCdnfAU7ZC+XOIOANFu6RbWQ6t1LegH
 KJNYGibRY0IoLGV2G99K+pqBjWgp2czm+fGnwdzllJrWjcv2224FD7N9gOUsD+BfJZ+d
 y+eBwCpDiURKdxkDIqrUaetDPs8cdqpNDqseYvcYmiXUAJW5t3YENd+/bU5WI3OAuodC
 y42h/TFSrqNIXhPq05lG6smSKEir8ZFPog9TX+Vg09Btt0t//BIrzxvcJ1Bsa9uJiW7C
 kHGQ==
X-Gm-Message-State: ANhLgQ3lYWIbEO3cLvsvWN4E0j0a40DBmAMrdwhwX6E0MndEJ+P91jEJ
 cw62FJrJmr5Ol4kk3ed1uxM/MXsczwlvQAKQ0wc=
X-Google-Smtp-Source: ADFU+vuhO542iWZpinrJ2aYILd8uW8uoR+7lGrmJh5R20BiFGn67n8ieHzWLiITh8hCuWaH3AROS2Qsj44wxTZY6qYQ=
X-Received: by 2002:a05:620a:a5b:: with SMTP id
 j27mr8823457qka.179.1584111611307; 
 Fri, 13 Mar 2020 08:00:11 -0700 (PDT)
MIME-Version: 1.0
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
 <83wo7o8y81.fsf@HIDDEN> <87lfo4h2to.fsf@HIDDEN> <83blp08h8q.fsf@HIDDEN>
In-Reply-To: <83blp08h8q.fsf@HIDDEN>
From: Dustin Lacewell <dlacewell@HIDDEN>
Date: Fri, 13 Mar 2020 10:00:00 -0500
Message-ID: <CAMDmBpHw9zj5hQNe5NO5QdrqfLn5vaOccVBZE_j3YyfANLFT1g@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000e06b1405a0bdb977"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000e06b1405a0bdb977
Content-Type: text/plain; charset="UTF-8"

(Sorry if I am replying incorrectly by replying to all...)

> > If, in the GNU/Linux build, you set x-gtk-use-system-tooltips to nil,
> > does the problem go away?
>
> It does for me.  That is, I'm running GNU/Linux and with
> x-gtk-use-system-tooltips set to t, I don't see the image, but with it
> set to nil, I do.

I can confirm this as well!

On Fri, Mar 13, 2020 at 9:25 AM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: Stephen Berman <stephen.berman@HIDDEN>
> > Cc: Dustin Lacewell <dlacewell@HIDDEN>,  40047 <at> debbugs.gnu.org
> > Date: Fri, 13 Mar 2020 13:11:31 +0100
> >
> > > If, in the GNU/Linux build, you set x-gtk-use-system-tooltips to nil,
> > > does the problem go away?
> >
> > It does for me.  That is, I'm running GNU/Linux and with
> > x-gtk-use-system-tooltips set to t, I don't see the image, but with it
> > set to nil, I do.
>
> Thanks for testing.  So I guess the problem is that we fail to
> instruct the native tooltips to display the image or use the correct
> dimensions, for some reason, and the problem doesn't exist on Windows
> because we always use our own code for tooltips there.
>
> Patches to fix the native case are welcome.
>

--000000000000e06b1405a0bdb977
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">(Sorry if I am replying incorrectly by replying to all...)=
<div><br></div><div><span class=3D"gmail-im" style=3D"color:rgb(80,0,80)">&=
gt; &gt; If, in the GNU/Linux build, you set x-gtk-use-system-tooltips to n=
il,<br>&gt; &gt; does the problem go away?<br>&gt;<br></span>&gt; It does f=
or me.=C2=A0 That is, I&#39;m running GNU/Linux and with<br>&gt; x-gtk-use-=
system-tooltips set to t, I don&#39;t see the image, but with it<br>&gt; se=
t to nil, I do.<br></div><div><br></div><div>I can confirm this as well!</d=
iv></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_att=
r">On Fri, Mar 13, 2020 at 9:25 AM Eli Zaretskii &lt;<a href=3D"mailto:eliz=
@gnu.org">eliz@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">&gt; From: Stephen Berman &lt;<a href=3D"mailto:steph=
en.berman@HIDDEN" target=3D"_blank">stephen.berman@HIDDEN</a>&gt;<br>
&gt; Cc: Dustin Lacewell &lt;<a href=3D"mailto:dlacewell@HIDDEN" target=
=3D"_blank">dlacewell@HIDDEN</a>&gt;,=C2=A0 <a href=3D"mailto:40047@debb=
ugs.gnu.org" target=3D"_blank">40047 <at> debbugs.gnu.org</a><br>
&gt; Date: Fri, 13 Mar 2020 13:11:31 +0100<br>
&gt; <br>
&gt; &gt; If, in the GNU/Linux build, you set x-gtk-use-system-tooltips to =
nil,<br>
&gt; &gt; does the problem go away?<br>
&gt; <br>
&gt; It does for me.=C2=A0 That is, I&#39;m running GNU/Linux and with<br>
&gt; x-gtk-use-system-tooltips set to t, I don&#39;t see the image, but wit=
h it<br>
&gt; set to nil, I do.<br>
<br>
Thanks for testing.=C2=A0 So I guess the problem is that we fail to<br>
instruct the native tooltips to display the image or use the correct<br>
dimensions, for some reason, and the problem doesn&#39;t exist on Windows<b=
r>
because we always use our own code for tooltips there.<br>
<br>
Patches to fix the native case are welcome.<br>
</blockquote></div>

--000000000000e06b1405a0bdb977--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Alan Third <alan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 Mar 2020 15:18:01 +0000
Resent-Message-ID: <handler.40047.B40047.158411265624009 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Dustin Lacewell <dlacewell@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.158411265624009
          (code B ref 40047); Fri, 13 Mar 2020 15:18:01 +0000
Received: (at 40047) by debbugs.gnu.org; 13 Mar 2020 15:17:36 +0000
Received: from localhost ([127.0.0.1]:60151 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jCm48-0006FB-GV
	for submit <at> debbugs.gnu.org; Fri, 13 Mar 2020 11:17:36 -0400
Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:37522)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1jCm47-0006Ez-Kh
 for 40047 <at> debbugs.gnu.org; Fri, 13 Mar 2020 11:17:35 -0400
Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24])
 by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 53050A1;
 Fri, 13 Mar 2020 16:17:30 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1584112650; 
 s=20200222-6h9o; d=idiocy.org; i=alan@HIDDEN;
 h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To;
 l=542; bh=m5MnDbgPpoCa7PQ/88YCLDajenlb7x/IELwnBD4WENA=;
 b=HaFo4AG7/CVTJprC9Y5waKkigP1VGS4TaxCpUY3eOeAcYgG9TPhrqbXA4AqnC3SC
 4s+nJ1sQQV3StYzHwzIDRGVFT6di7+DcQg3BM31YjZFT62fh7WEJFAi15cQXg+axpz3
 fEgp1s9wdiKmxpdcOErwPWmWwosJQGX2iTDdPbNZD0CYexNWrL0v7o+RZPAcGGUPX+s
 kEI/OpOarGHYU4KWhxmUQf3piwUDsoooo9epgMcwv9B580m9Xt0LPfLBxlIbIMuavdK
 7HXLT/eizsrOS3IaXMhVkiq+6QNaL0EoFOZyh04iYOCidgmHwu3IpiB2MPwut6fse8j
 sAYC77i17w==
Received: by smtp.mailfence.com with ESMTPA ;
 Fri, 13 Mar 2020 16:17:24 +0100 (CET)
Received: by idiocy.org (Postfix, from userid 501)
 id 8E8F52020361DD; Fri, 13 Mar 2020 15:17:20 +0000 (GMT)
Date: Fri, 13 Mar 2020 16:17:25 +0100 (CET)
From: Alan Third <alan@HIDDEN>
Message-ID: <20200313151720.GB2905@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Dustin Lacewell <dlacewell@HIDDEN>, 40047 <at> debbugs.gnu.org
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED,
 BAYES_00 device=10.2.0.1
X-ContactOffice-Account: com:241649512
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Thu, Mar 12, 2020 at 04:54:26PM -0500, Dustin Lacewell wrote:
> --text follows this line--
> 
> It appears that images in tooltip-mode tooltips is currently broken on
> most platforms besides windows. The following snippet should provide an
> example:
<snip>
> On Windows a tooltip displays an image. On Linux (NixOS, Ubuntu) and OSX
> only a small empty tooltip is presented.

On macOS the tooltips are extremely basic and don’t support anything
other than a few colour options and possibly a change of font.
-- 
Alan Third




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 Mar 2020 15:58:02 +0000
Resent-Message-ID: <handler.40047.B40047.158411506528029 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Alan Third <alan@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org, alan@HIDDEN, dlacewell@HIDDEN
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.158411506528029
          (code B ref 40047); Fri, 13 Mar 2020 15:58:02 +0000
Received: (at 40047) by debbugs.gnu.org; 13 Mar 2020 15:57:45 +0000
Received: from localhost ([127.0.0.1]:60168 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jCmgy-0007I1-DH
	for submit <at> debbugs.gnu.org; Fri, 13 Mar 2020 11:57:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53003)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jCmgx-0007Ho-Mj
 for 40047 <at> debbugs.gnu.org; Fri, 13 Mar 2020 11:57:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:47472)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1jCmgr-0000Y0-UO; Fri, 13 Mar 2020 11:57:37 -0400
Received: from [176.228.60.248] (port=1197 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jCmgp-00032g-7r; Fri, 13 Mar 2020 11:57:36 -0400
Date: Fri, 13 Mar 2020 17:57:30 +0200
Message-Id: <8336ac8cyd.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <20200313151720.GB2905@HIDDEN> (message from
 Alan Third on Fri, 13 Mar 2020 16:17:25 +0100 (CET))
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
 <20200313151720.GB2905@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> Date: Fri, 13 Mar 2020 16:17:25 +0100 (CET)
> From: Alan Third <alan@HIDDEN>
> Cc: 40047 <at> debbugs.gnu.org
> 
> On macOS the tooltips are extremely basic and don’t support anything
> other than a few colour options and possibly a change of font.

Can Emacs on macOS use its own tooltip code?  If so, perhaps we should
make that the default on macOS?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Alan Third <alan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 Mar 2020 23:18:01 +0000
Resent-Message-ID: <handler.40047.B40047.15841414545973 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org, dlacewell@HIDDEN
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.15841414545973
          (code B ref 40047); Fri, 13 Mar 2020 23:18:01 +0000
Received: (at 40047) by debbugs.gnu.org; 13 Mar 2020 23:17:34 +0000
Received: from localhost ([127.0.0.1]:60357 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jCtYc-0001YH-EY
	for submit <at> debbugs.gnu.org; Fri, 13 Mar 2020 19:17:34 -0400
Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:51268)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1jCtYb-0001Y5-4s
 for 40047 <at> debbugs.gnu.org; Fri, 13 Mar 2020 19:17:33 -0400
Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15])
 by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 7FCF11F9B;
 Sat, 14 Mar 2020 00:17:27 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1584141447; 
 s=20200222-6h9o; d=idiocy.org; i=alan@HIDDEN;
 h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To;
 l=654; bh=MkezUxvY1LInOgRZu8Zl/c1QNivXXJeg5UaN6SDtaiU=;
 b=ZbRbjK25Hj5iG+noG0c5VjBsUla/dEvb+5KYlVva0dHXWxeo/ldWDoQwIk+ZtkFW
 Uj61Pz1AqdoSxl11YQBCg80ZxEiEo1/TyjrPXyy+V0l+JgXrngtajME5FHndzX3saJP
 1Bc7PeqsO5Zfl31xj+z14ffaxkZTiGv+bTq5zkpVinpJ5apyG+Zld0VzYGI127gKKhM
 ID1+HxR37DzOse4+Pq6XfwKb89EYgb7QgwR9nmNZSWsWv8YaFLypJ7U2VxnSZrAQ+1Y
 mZOHCE3UvSiG1D//gWsesECRFUHchA1MPHiY2ortXxTctuXqgpa/Ye8BUBydxmVtQTW
 RJ7JWQgrGw==
Received: by smtp.mailfence.com with ESMTPA ;
 Sat, 14 Mar 2020 00:17:24 +0100 (CET)
Received: by idiocy.org (Postfix, from userid 501)
 id 1D3BD20203F2B8; Fri, 13 Mar 2020 23:17:22 +0000 (GMT)
Date: Sat, 14 Mar 2020 00:17:25 +0100 (CET)
From: Alan Third <alan@HIDDEN>
Message-ID: <20200313231722.GA13598@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Eli Zaretskii <eliz@HIDDEN>, 40047 <at> debbugs.gnu.org,
 dlacewell@HIDDEN
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
 <20200313151720.GB2905@HIDDEN>
 <8336ac8cyd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <8336ac8cyd.fsf@HIDDEN>
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED,
 BAYES_00 device=10.2.0.20
X-ContactOffice-Account: com:241649512
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Fri, Mar 13, 2020 at 05:57:30PM +0200, Eli Zaretskii wrote:
> > Date: Fri, 13 Mar 2020 16:17:25 +0100 (CET)
> > From: Alan Third <alan@HIDDEN>
> > Cc: 40047 <at> debbugs.gnu.org
> > 
> > On macOS the tooltips are extremely basic and don’t support anything
> > other than a few colour options and possibly a change of font.
> 
> Can Emacs on macOS use its own tooltip code?  If so, perhaps we should
> make that the default on macOS?

You mean the basic toolkit tooltips? It should be able to. I get the
impression custom tooltips were originally only implemented so they
could have a yellow background like on other terms.
-- 
Alan Third




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 Mar 2020 08:13:02 +0000
Resent-Message-ID: <handler.40047.B40047.15841735724886 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Alan Third <alan@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org, dlacewell@HIDDEN
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.15841735724886
          (code B ref 40047); Sat, 14 Mar 2020 08:13:02 +0000
Received: (at 40047) by debbugs.gnu.org; 14 Mar 2020 08:12:52 +0000
Received: from localhost ([127.0.0.1]:60559 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jD1ue-0001Gk-Ke
	for submit <at> debbugs.gnu.org; Sat, 14 Mar 2020 04:12:52 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56076)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jD1ud-0001GX-5d
 for 40047 <at> debbugs.gnu.org; Sat, 14 Mar 2020 04:12:51 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35818)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1jD1uX-0002Vo-O3; Sat, 14 Mar 2020 04:12:45 -0400
Received: from [176.228.60.248] (port=4703 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jD1uV-0000OY-TY; Sat, 14 Mar 2020 04:12:44 -0400
Date: Sat, 14 Mar 2020 10:12:43 +0200
Message-Id: <83pndf73t0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <20200313231722.GA13598@HIDDEN> (message from
 Alan Third on Sat, 14 Mar 2020 00:17:25 +0100 (CET))
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
 <20200313151720.GB2905@HIDDEN>
 <8336ac8cyd.fsf@HIDDEN> <20200313231722.GA13598@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> Date: Sat, 14 Mar 2020 00:17:25 +0100 (CET)
> From: Alan Third <alan@HIDDEN>
> Cc: 40047 <at> debbugs.gnu.org, dlacewell@HIDDEN
> 
> On Fri, Mar 13, 2020 at 05:57:30PM +0200, Eli Zaretskii wrote:
> > > Date: Fri, 13 Mar 2020 16:17:25 +0100 (CET)
> > > From: Alan Third <alan@HIDDEN>
> > > Cc: 40047 <at> debbugs.gnu.org
> > > 
> > > On macOS the tooltips are extremely basic and don’t support anything
> > > other than a few colour options and possibly a change of font.
> > 
> > Can Emacs on macOS use its own tooltip code?  If so, perhaps we should
> > make that the default on macOS?
> 
> You mean the basic toolkit tooltips?

Not sure what you mean by that.  I meant the tooltips w implement in
Emacs's own code, whereby a tooltip is a special kind of frame.

> It should be able to. I get the impression custom tooltips were
> originally only implemented so they could have a yellow background
> like on other terms.

The tooltips implemented in Emacs's own code also have a yellow
background.  And it's a frame, so the faces we use there can be
customized, see tooltip-frame-parameters.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: martin rudalics <rudalics@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 Mar 2020 08:50:01 +0000
Resent-Message-ID: <handler.40047.B40047.15841757748258 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>, Stephen Berman <stephen.berman@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org, dlacewell@HIDDEN
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.15841757748258
          (code B ref 40047); Sat, 14 Mar 2020 08:50:01 +0000
Received: (at 40047) by debbugs.gnu.org; 14 Mar 2020 08:49:34 +0000
Received: from localhost ([127.0.0.1]:60593 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jD2U9-000298-P7
	for submit <at> debbugs.gnu.org; Sat, 14 Mar 2020 04:49:33 -0400
Received: from mout.gmx.net ([212.227.17.20]:42709)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1jD2U7-00028v-PX
 for 40047 <at> debbugs.gnu.org; Sat, 14 Mar 2020 04:49:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1584175765;
 bh=UqLpdjH5N508DlkRwicgpt4Knm89uu+K7p3raqLpt6w=;
 h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To;
 b=bkMoi54nu6pnMdlpmvnroUT8w65G2PQtKuQEzG7VGJEGFrb9fceXebQ0nyUsSZiIT
 TfcUTqW+HPhIGpUE8z29CV+CUBf/NTPgg8wuUt8/iPjF4OIj2eIRz44B0F5tgJQMRc
 aqMG+ryWpVahkiS4na/25bCtoEKhEnxm+QvCVvNo=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.101] ([212.95.5.28]) by mail.gmx.com (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N0X8u-1jXr7J19Rk-00wRD2; Sat, 14
 Mar 2020 09:49:25 +0100
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
 <83wo7o8y81.fsf@HIDDEN> <87lfo4h2to.fsf@HIDDEN> <83blp08h8q.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Message-ID: <ad8456d1-a397-9d95-04de-8182d4ae7309@HIDDEN>
Date: Sat, 14 Mar 2020 09:49:24 +0100
MIME-Version: 1.0
In-Reply-To: <83blp08h8q.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:5lpCXoGPkbxyzjqlHMiX0fz31/EDPxSgfezH7YSns/CUtaxjklc
 rnSodmEMhc2hqcjBuPFA7iJD5hbo6PzlPEZiEUpp2twB0bDdF53KgD1jZSSvUvLAbREXMm2
 yb2AUNYYksLooRhHLAMxHNjgZWpZqOySJpXSH84OWZECrk07aibeJ6Iii4t5hiKg9EuVpRn
 V8kLmtPlpc003HORx+w9g==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:PsCaaM+J1kQ=:3ifpeEloiIT9dX35yvZgeO
 8pdDUMz/lvNUoJCGY4O3Jtbe966iHNKuSCuccAFnAWUkyEWjE/ACzkr2+1QxsiFEMfDTbNqhr
 fftFVS3TNrXEM4B6iS+EHYHVp38hWbIRQ18gxgpnOtSdf30Va1LRWcCJ3kC4Mxn3ya/Z28kPG
 6jaNkYvVlcwgzfqx5YYvNX++TmqMNkGamLXL1BHNTHsz0ApXckALgntqvYfJ2DJXqRJRO5m3U
 JF25KwosIjhYcIft9rX7//To1zLGwLiZIun+jqT6xNIYj0FPIMmPuKAL57iBMWadma80/ePRS
 C0hksiWjgmI1df1XbYSkiZVJ9USqE/+eKtkD2awdlCTEX9BgKV9Z65PT3fHta7MWuWR6hT3A2
 bVX43siNtK82iKH5+1r8ffgMZ85Ml0tMkqX86/6/Xf8W9nX38Ct3XJeCeWezTfJ6hyZLLgalJ
 HdJjWfb6jHrI354TtfGX4g8HH+lownONMw0WIwxVl0vVr6SC5XMh58Sjl5kmWhHMmuZxanCNL
 0TuRanB24Y0tGknu8P8Uo41r/gGNMbO3zSHKBqocHsLVmBOInca4NApNO9DFpDl3uqbLCBP1z
 IeYKnqurTxR7CckngwH4Z/ZekUSsXVOOUMWQwGU3x1Fc598u0zrdXseacvnwmCnWrDZyG71tI
 qnWPq+slqyxUewFDuDd30kszfLILjxeToPy8Af6ysUOkpRWg6ZfCylkdy36FVFV2dJxsRTGcm
 H48nchsxh/RyHbH0Ce1pljzA4KY7Sfzn+skabTm9m/eg1mZEg/yEw4gMtkdsr07CIot4dmCG/
 7YJyBX4EfZb3VVFtOWjRgFmpuJzD1/Bab19H65zemFHxdBCYEXDJeIGt09DbqHYkYv2rxM07D
 92X06tbl1rJ6+zMfbB6e3ZR99w5U7/qe3fOIicPvmwIeQSD3CQGZsPdLcQv9aYtqIOg+gRyZj
 WZkmWS3SOqMtNwL6yP6IU4O6IIc18yMaz8eXV7KN2FzPjDagtgNFmMNWqC1DsVD9QJ6j7OEYq
 M6UWgP5QLmYLFYTixLGqL1Gwsvxob6loHEHyfbCIp7ENufb7XbrQekhR1T/9B/bF6lxWQnEYj
 gcruCVjR3dKiZ+bceLCeznYcdjItKxXHNMm8i5UN/z1swdcgrElSPvbUvo9B612GpBuwnngd0
 4HADG6lfovwwvl0Bp0bc2onYHKuNAAYEZtYAG4uFR/WuDobCSKMUSd/3kfvKWbIHOzTx4Wko4
 XrNovjJ1M4mhvX+u+
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > Thanks for testing.  So I guess the problem is that we fail to
 > instruct the native tooltips to display the image or use the correct
 > dimensions, for some reason, and the problem doesn't exist on Windows
 > because we always use our own code for tooltips there.
 >
 > Patches to fix the native case are welcome.

The native case is neither broken nor can it be fixed.  Tooltips like
those provided by GTK, Windows or many desktops are supposed to provide
a uniform look across all sorts of applications that use them so that
the user can easily recognize tooltips as what they are.  That's why they
usually have customizable backgrounds, fonts and borders.  Applications
are not supposed to meddle with them.

martin




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40047: 26.2; Images in tooltip-mode tooltips broken on Linux and OSX
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 Mar 2020 10:12:01 +0000
Resent-Message-ID: <handler.40047.B40047.158418071615917 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40047
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: 40047 <at> debbugs.gnu.org, stephen.berman@HIDDEN, dlacewell@HIDDEN
Received: via spool by 40047-submit <at> debbugs.gnu.org id=B40047.158418071615917
          (code B ref 40047); Sat, 14 Mar 2020 10:12:01 +0000
Received: (at 40047) by debbugs.gnu.org; 14 Mar 2020 10:11:56 +0000
Received: from localhost ([127.0.0.1]:60629 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jD3ls-00048f-Hp
	for submit <at> debbugs.gnu.org; Sat, 14 Mar 2020 06:11:56 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55292)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jD3lr-00048T-2s
 for 40047 <at> debbugs.gnu.org; Sat, 14 Mar 2020 06:11:55 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36585)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1jD3ll-0005rW-QZ; Sat, 14 Mar 2020 06:11:49 -0400
Received: from [176.228.60.248] (port=4126 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jD3ll-0007pI-9B; Sat, 14 Mar 2020 06:11:49 -0400
Date: Sat, 14 Mar 2020 12:11:48 +0200
Message-Id: <83a74jckkb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <ad8456d1-a397-9d95-04de-8182d4ae7309@HIDDEN> (message from
 martin rudalics on Sat, 14 Mar 2020 09:49:24 +0100)
References: <CAMDmBpE=CRRm=N9XxsyUTL2VDQJ1tZfY1Us1MGU_9qspOkrBog@HIDDEN>
 <83wo7o8y81.fsf@HIDDEN> <87lfo4h2to.fsf@HIDDEN> <83blp08h8q.fsf@HIDDEN>
 <ad8456d1-a397-9d95-04de-8182d4ae7309@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> Cc: 40047 <at> debbugs.gnu.org, dlacewell@HIDDEN
> From: martin rudalics <rudalics@HIDDEN>
> Date: Sat, 14 Mar 2020 09:49:24 +0100
> 
> The native case is neither broken nor can it be fixed.  Tooltips like
> those provided by GTK, Windows or many desktops are supposed to provide
> a uniform look across all sorts of applications that use them so that
> the user can easily recognize tooltips as what they are.  That's why they
> usually have customizable backgrounds, fonts and borders.  Applications
> are not supposed to meddle with them.

So you are saying the native tooltips cannot usefully display images?
I'd be surprised, but if that is indeed so, we should at least
document that, so users who do want images in tooltips could switch to
our tooltips.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 18 Mar 2020 12:37:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 18 08:37:49 2020
Received: from localhost ([127.0.0.1]:39958 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jEXxE-00050o-N4
	for submit <at> debbugs.gnu.org; Wed, 18 Mar 2020 08:37:48 -0400
Received: from mail-qk1-f170.google.com ([209.85.222.170]:37616)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1jEXxD-00050b-Do
 for control <at> debbugs.gnu.org; Wed, 18 Mar 2020 08:37:47 -0400
Received: by mail-qk1-f170.google.com with SMTP id z25so33445060qkj.4
 for <control <at> debbugs.gnu.org>; Wed, 18 Mar 2020 05:37:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=xkx2GVG+Wy92ciIKKuzsLfrd11d79zytRDT838lEdYQ=;
 b=l4z2kyf9azVo1kET4qsbCYayw94U7tazw8/gSbt2/i8Km2o4GakfV8WsF5iJPVhBoV
 O9DXtyaZRzH/f1yXqG4oWKd32xKfAYZu+SckEun7KHqKggg9VCkCf2KtuuMBMc2lOZB6
 9G9JvPxXTkioqL/kiZAOVz+CoZKwOftOr7FJGEGmVoicXPYxHI6gmObL1HDItDq8c0Q6
 KNQrbIGE4LdAVc38jdv4oJ0XBSitVqhO+I1KtL/l18fQnLhilAOFFz/3WuSuTwTy4a8e
 2/NpvwjChFrxC0VRNSHRSelUY04w6YXUMr93HhU2vtHL3nm5/eV5cfPg15c2ufJSezna
 2Avg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=xkx2GVG+Wy92ciIKKuzsLfrd11d79zytRDT838lEdYQ=;
 b=rkg5orciBBLeECL1U93Fi8gSGtLdYFmHatuHm0ky53PJNBdYLWrmmZrsSvj/TUY1S5
 268gG6VkcT8pYvDQUHKKyadz0oPhEkbyOHgxrLt2eeQP6NINnELnz58bGTO8nj0Oc63L
 XetaRX+LyT+fVwxxTpYwTobpP902hpx+cduV6pggKA6MScAqvpkACGGdKW6Zupv6QEv6
 pfWXQgv2ijnChWTt564nqTfJU+e+xYYv1JyNVgp6nsaOgqz7I7ezItWUePaBCiWL/e2T
 O1oz6XZGlmYNs9IaQ8m5KC4UpTnRm1TIgLctbWWFYEYhJNMI2Zk/Ysj0EGD8fgqUEhHR
 nBhw==
X-Gm-Message-State: ANhLgQ2Qh0gsCu5lG1GxWeARo/2Mi+JUc64MMrwBAgm1v8t7lfV5F7Rp
 +NuS0Mp5hiO5MidfVn6yUwNRogoj
X-Google-Smtp-Source: ADFU+vuRiRoS0399N2uS+fHx48tLP+4SCSviy3eIysNWxmWxqIyd57e+IRQoOQ3tUgvw5gAVlavHbQ==
X-Received: by 2002:a05:620a:22d2:: with SMTP id
 o18mr3605286qki.233.1584535061607; 
 Wed, 18 Mar 2020 05:37:41 -0700 (PDT)
Received: from minid (cbl-45-2-119-47.yyz.frontiernetworks.ca. [45.2.119.47])
 by smtp.gmail.com with ESMTPSA id
 q66sm3991884qkd.47.2020.03.18.05.37.40 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 18 Mar 2020 05:37:41 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: control message for bug #40047
Date: Wed, 18 Mar 2020 08:37:39 -0400
Message-ID: <87v9n16dpo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

retitle 40047 Images in tooltip-mode tooltips broken on Linux (with x-gtk-use-system-tooltips=t) and OSX
quit






Last modified: Wed, 18 Mar 2020 12:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.