GNU bug report logs -
#36298
Blank tooltips in Cairo
Previous Next
Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>
Date: Wed, 19 Jun 2019 20:16:01 UTC
Severity: normal
Tags: confirmed
Found in versions 26.1, 26.1.50
Done: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 36298 <at> debbugs.gnu.org (full text, mbox):
unmerge 362
quit
On Thu, 20 Jun 2019 05:36:09 +0900,
Noam Postavsky wrote:
>
> merge 36298 34819
> quit
>
> Clément Pit-Claudel <cpitclaudel <at> gmail.com> writes:
>
> > In cairo builds, when x-gtk-use-system-tooltips is set to nil, running (x-show-tip "xyz") produce a blank tooltip on my machine (the tooltip has the right dimensions, but is blank).
> >
> > To reproduce, you can run the following:
> >
> > emacs -Q --eval '(progn (setq x-gtk-use-system-tooltips nil) (x-show-tip "xyz"))'
>
> This one happens in non-Cairo builds too.
Probably a separate issue. It seems like a regression by a proposed
fix of Bug#23925 (not yet applied). Please try below instead.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
diff --git a/src/xterm.c b/src/xterm.c
index bc56e99513d..462028c1504 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8835,7 +8835,11 @@ handle_one_xevent (struct x_display_info *dpyinfo,
font_drop_xrender_surfaces (f);
unblock_input ();
#ifdef USE_CAIRO
- if (f)
+ if (f
+#ifdef USE_GTK
+ && FRAME_TOOLTIP_P (f)
+#endif
+ )
x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width,
configureEvent.xconfigure.height);
#endif
This bug report was last modified 6 years and 28 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.