From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Noam Postavsky <npostavs@gmail.com>
Cc: Phil Sainty <psainty@orcon.net.nz>, 34819@debbugs.gnu.org
Subject: bug#34819: 26.1; Blank help-echo tooltips for mode line menus
Date: Thu, 20 Jun 2019 14:01:54 +0900 [thread overview]
Message-ID: <wlv9x0c0jh.wl-mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <871s1trntf.fsf@gmail.com>
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 patch below would work. The first hunk is not directly related to
this bug, but would be preferable. Note that cairo drawing needs
further fixes, so please try it without enabling cairo.
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
diff --git a/src/xfns.c b/src/xfns.c
index c9fe3e11f2d..fb30a2f440a 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -6288,6 +6288,10 @@ x_create_tip_frame (struct x_display_info *dpyinfo, Lisp_Object parms)
f->output_data.x->parent_desc = FRAME_DISPLAY_INFO (f)->root_window;
+ gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil,
+ "inhibitDoubleBuffering", "InhibitDoubleBuffering",
+ RES_TYPE_BOOLEAN);
+
gui_figure_window_size (f, parms, false, &x_width, &x_height);
{
@@ -6958,6 +6962,7 @@ Text larger than the specified size is clipped. */)
w->must_be_updated_p = true;
update_single_window (w);
+ flush_frame (tip_f);
set_buffer_internal_1 (old_buffer);
unbind_to (count_1, Qnil);
windows_or_buffers_changed = old_windows_or_buffers_changed;
next prev parent reply other threads:[~2019-06-20 5:01 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-11 23:45 bug#34819: 26.1; Blank help-echo tooltips for mode line menus Phil Sainty
2019-03-12 6:28 ` Phil Sainty
2019-03-12 15:56 ` Eli Zaretskii
2019-03-12 17:21 ` Eli Zaretskii
2019-03-12 20:20 ` Phil Sainty
2019-03-12 15:45 ` Eli Zaretskii
2019-03-12 21:06 ` Glenn Morris
2019-03-13 3:34 ` Eli Zaretskii
2019-03-13 5:03 ` Phil Sainty
2019-03-13 6:37 ` Phil Sainty
2019-03-13 10:31 ` Eli Zaretskii
2019-03-13 11:52 ` Phil Sainty
2019-03-13 15:25 ` Eli Zaretskii
2019-03-13 15:34 ` dancol
2019-03-30 9:27 ` Eli Zaretskii
2019-03-14 5:57 ` Glenn Morris
2019-03-14 6:06 ` Eli Zaretskii
2019-04-02 0:26 ` Noam Postavsky
2019-04-23 9:21 ` martin rudalics
2019-04-23 10:57 ` Noam Postavsky
2019-06-20 5:01 ` YAMAMOTO Mitsuharu [this message]
2019-06-20 9:17 ` YAMAMOTO Mitsuharu
2019-06-20 11:04 ` mituharu
2019-06-26 12:56 ` Phil Sainty
2019-06-30 6:31 ` YAMAMOTO Mitsuharu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wlv9x0c0jh.wl-mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=34819@debbugs.gnu.org \
--cc=npostavs@gmail.com \
--cc=psainty@orcon.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.