From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#41200: Displaying a tooltip with x-show-tip gets very slow as more faces are defined Date: Tue, 12 May 2020 13:19:06 -0400 Message-ID: <49ee1a74-2bbc-47b0-6db0-1a2489091c3f@gmail.com> References: <8fd8896a-cd5c-66f4-4792-f65cac4dc4f5@gmail.com> <2050d979-369b-f546-eb48-2a34befb5602@gmx.at> <3c3cbd2d-3a05-297a-3019-13253180a4e2@gmail.com> <94f4ec10-9ac8-b12f-9bf5-896f573161de@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="127200"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 To: martin rudalics , 41200@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 12 19:20:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYYZh-000WxH-9Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 May 2020 19:20:13 +0200 Original-Received: from localhost ([::1]:43634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYYZg-0004B0-6Y for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 May 2020 13:20:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYYZW-00047w-Lf for bug-gnu-emacs@gnu.org; Tue, 12 May 2020 13:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYYZW-0001Jq-BG for bug-gnu-emacs@gnu.org; Tue, 12 May 2020 13:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYYZW-0001l1-66 for bug-gnu-emacs@gnu.org; Tue, 12 May 2020 13:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 May 2020 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41200 X-GNU-PR-Package: emacs Original-Received: via spool by 41200-submit@debbugs.gnu.org id=B41200.15893039566686 (code B ref 41200); Tue, 12 May 2020 17:20:02 +0000 Original-Received: (at 41200) by debbugs.gnu.org; 12 May 2020 17:19:16 +0000 Original-Received: from localhost ([127.0.0.1]:56430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYYYl-0001jm-SG for submit@debbugs.gnu.org; Tue, 12 May 2020 13:19:16 -0400 Original-Received: from mail-qv1-f50.google.com ([209.85.219.50]:47066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYYYk-0001ja-4L for 41200@debbugs.gnu.org; Tue, 12 May 2020 13:19:14 -0400 Original-Received: by mail-qv1-f50.google.com with SMTP id 59so6800749qva.13 for <41200@debbugs.gnu.org>; Tue, 12 May 2020 10:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=C2LaFqQvUtRHvd1w/RnVymdADGdMExGxFy71UPiTFU4=; b=PLNEGsTb/64RRZIyDkNkMsEai9RjQ5X6oKdTvHtBSI9JQUcrLT4Kxfm0m0DetcLdHH Dr4wX/dM3lRsGUt+aIj2K+ZjoTp2DynPzTfIJmd7sgHn5qLtI3VqvxnWl6TUlS+GRo1L i8KHqKYypm508CmgJ2KZoZs63K6CJVZwGvq8eVGDNCk0D0Kq6QTDv8FKe2up/i36/uyb HovWCDLtkHrx9qwalLVeR790S6aWmEhssggQKtyIi6U14Q+hupRsk+ARQihXTZ2NQL1T E7LV8gMJ55SUdhjUEmcDv0psyHuOO7aFfcBEf4RCgFQmUPrRjIDxBtGGLoJd3/gUFUwJ jJjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=C2LaFqQvUtRHvd1w/RnVymdADGdMExGxFy71UPiTFU4=; b=oKrS7IIFgadiPF6jyKa9ILe4Xm7o1kw2dUvR1xlBfAoIIwCHIO04BikKjgb6+TWpKX gLPlbLfsxZnUq4n2Y2MsnTlFykS4ed8YVunl3H2Aars/BmaSWLr1GWX9IeHUhtJgwbDx IvhLRoPgpiEqnleyIKqfNeIHVI2TsWHUdtGzjogWK8M4drjPLrdKlY86py2F46Vrq/e2 vQuU5bs5ESVyTZjQVIswwZNjsesbtWNJzHJrDeL3aja4Vv9SNb8H1xtylC6z60r73tiT lm9pxaInkmNPD7pg1p/SilYwQIMlPQHUG8AIOA8LansZhcU/FKEvQcI47PyvP8pgRx94 zLIQ== X-Gm-Message-State: AGi0Pubb0AcmGBIn96gtKi47TuD4dIa0RuqrHURX5JH0COOVmuY3sF75 aUOgr/BObQkpVVrU7Hvm01lsziGoL2M= X-Google-Smtp-Source: APiQypK48oIBDNRq2CUhdVVldkHkZpivbmtzdhzaRzAGr9iEHklvZ9rDep44pfbk+dHuPdYzOO4rTg== X-Received: by 2002:a05:6214:14e2:: with SMTP id k2mr22287811qvw.142.1589303948495; Tue, 12 May 2020 10:19:08 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:4d17:b25e:8d9:2188? ([2601:184:4180:66e7:4d17:b25e:8d9:2188]) by smtp.googlemail.com with ESMTPSA id x22sm12365181qtr.57.2020.05.12.10.19.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 May 2020 10:19:07 -0700 (PDT) In-Reply-To: <94f4ec10-9ac8-b12f-9bf5-896f573161de@gmx.at> Content-Language: en-GB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180109 Archived-At: On 12/05/2020 11.12, martin rudalics wrote: >>> Please try with 'tooltip-reuse-hidden-frame' non-nil (there's nothing we >>> can do about a session's first tooltip appearance, though). >> >> I'm not seeing a difference here.  I used this code to test: > > Looks like a devastating bug in the GTK builds.  Can you try with the > attached patch? > > Thanks, martin Indeed, with tooltip-reuse-hidden-frame t and your patch, creating a tooltip is instantaneous (after the first tooltip is created) The docstring suggests that with this option, results won't always be correct. Is there a chance that we could rebuild the frame when needed and then make that option the default?