bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20677: tooltips generate garbage


From: Angelo Graziosi
Subject: bug#20677: tooltips generate garbage
Date: Tue, 02 Jun 2015 11:23:20 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0



Il 02/06/2015 04:33, Eli Zaretskii ha scritto:
Date: Mon, 01 Jun 2015 23:55:55 +0200
From: Angelo Graziosi <angelo.graziosi@alice.it>
CC: 20677@debbugs.gnu.org, jan.h.d@swipnet.se

Il 01/06/2015 18:19, Eli Zaretskii ha scritto:
Date: Mon, 01 Jun 2015 17:58:36 +0200
From: Angelo Graziosi <angelo.graziosi@alice.it>
CC: 20677@debbugs.gnu.org, jan.h.d@swipnet.se

Hmm... given the issue and looking at the changes, this caught my attention:

--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -3824,8 +3824,7 @@ xg_update_scrollbar_pos (struct frame *f,
                 above.  */
          oldw += (scale - 1) * oldw;
          oldx -= (scale - 1) * oldw;
-          x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
-                        oldx, oldy, oldw, oldh);
+          x_clear_area (f, oldx, oldy, oldw, oldh);

maybe, on linux+X Emacs needs something like this

# if def(...X11..)
     [...]
     x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)...
#else
     x_clear_area (f, oldx, oldy, oldw, oldh)...
#endif

No, the calling sequence of x_clear_area has changed, so that change
was correct, I think.  Are you saying that reverting it makes tooltips
work again?

Really I didn't tested that.. Eventually, I will test that over the next
few days..

Can you show a screenshot of the bad tooltip display?


Attached. (Schermata2.png is with "emacs -Q &")

Attachment: screenshot.tar.gz
Description: application/gzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]