GNU bug report logs - #20677
tooltips generate garbage

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.graziosi <at> alice.it>

Date: Wed, 27 May 2015 21:41:06 UTC

Severity: normal

Done: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 20677 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.graziosi <at> alice.it>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 20677 <at> debbugs.gnu.org
Subject: Re: bug#20677: tooltips generate garbage
Date: Tue, 02 Jun 2015 11:23:20 +0200
[Message part 1 (text/plain, inline)]

Il 02/06/2015 04:33, Eli Zaretskii ha scritto:
>> Date: Mon, 01 Jun 2015 23:55:55 +0200
>> From: Angelo Graziosi <angelo.graziosi <at> alice.it>
>> CC: 20677 <at> debbugs.gnu.org, jan.h.d <at> 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 <at> alice.it>
>>>> CC: 20677 <at> debbugs.gnu.org, jan.h.d <at> 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 &")

[screenshot.tar.gz (application/gzip, attachment)]

This bug report was last modified 10 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.