From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: mituharu@math.s.chiba-u.ac.jp Newsgroups: gmane.emacs.bugs Subject: bug#34819: 26.1; Blank help-echo tooltips for mode line menus Date: Thu, 20 Jun 2019 20:04:53 +0900 Message-ID: <493dbea68c3ca86914042ae35a3fb4d3.squirrel@weber.math.s.chiba-u.ac.jp> References: <02f4973ceec5cc3520ad14614c3a329b@webmail.orcon.net.nz> <83o96e3iga.fsf@gnu.org> <17o96em21c.fsf@fencepost.gnu.org> <87o95pgsm3.fsf@gmail.com> <192ace98-48ba-5fb0-36f2-d80cfde87904@gmx.at> <871s1trntf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain;charset=iso-2022-jp Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="107023"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: SquirrelMail/1.4.22-5.el6 To: "Noam Postavsky" , "Phil Sainty" , 34819@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 20 13:23:59 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdvAd-000Rd7-J0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jun 2019 13:23:59 +0200 Original-Received: from localhost ([::1]:46398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdvAc-0006r8-JD for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jun 2019 07:23:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50019) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdvA4-0006nb-Dl for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:23:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdv9v-0000Ui-Lm for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:23:20 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdv9q-0000ML-PC for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:23:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdusH-00080I-TN for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: mituharu@math.s.chiba-u.ac.jp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2019 11:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34819 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 34819-submit@debbugs.gnu.org id=B34819.156102869630752 (code B ref 34819); Thu, 20 Jun 2019 11:05:01 +0000 Original-Received: (at 34819) by debbugs.gnu.org; 20 Jun 2019 11:04:56 +0000 Original-Received: from localhost ([127.0.0.1]:47927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdusB-0007zv-Ug for submit@debbugs.gnu.org; Thu, 20 Jun 2019 07:04:56 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:56488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdusA-0007zn-Hy for 34819@debbugs.gnu.org; Thu, 20 Jun 2019 07:04:55 -0400 Original-Received: from weber.math.s.chiba-u.ac.jp (weber [192.168.32.4]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id A91A3F08D5; Thu, 20 Jun 2019 20:04:48 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) Original-Received: from 121.117.43.54 (SquirrelMail authenticated user mituharu) by weber.math.s.chiba-u.ac.jp with HTTP; Thu, 20 Jun 2019 20:04:53 +0900 In-Reply-To: X-Priority: 3 (Normal) Importance: Normal 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: 209.51.188.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:160886 Archived-At: > On Thu, 20 Jun 2019 14:01:54 +0900, > YAMAMOTO Mitsuharu wrote: >> >> The contents of the tooltip seems to be usually shown by the >> flush_dirty_back_buffers call from handle_one_xevent. But the control >> does not go back to read_socket_hook during menu tracking, so >> flush_dirty_back_buffers is not called in such a case. > > The argument was too rough, actually. During menu tracking, > handle_one_xevent is called via popup_get_selection and > x_dispatch_event. Difference should come from other places. It turns out the contents of the tooltip is usually shown by unblock_buffer_flips in double-buffer setting. Calls to flush_dirty_back_buffers do not contribute to tooltip display because FRAME_GARBAGED_P is set for the tooltip frame. I think the patch I posted previously does the right thing. Please try it. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp