From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#20677: tooltips generate garbage Date: Mon, 01 Jun 2015 23:55:55 +0200 Message-ID: <556CD4EB.8080602@alice.it> References: <556639D1.1030702@alice.it> <83iobdxvzi.fsf@gnu.org> <556C462E.5050906@alice.it> <83a8wjts15.fsf@gnu.org> <556C812C.4030901@alice.it> <83zj4js8nz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1433203058 4913 80.91.229.3 (1 Jun 2015 23:57:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2015 23:57:38 +0000 (UTC) Cc: 20677@debbugs.gnu.org, jan.h.d@swipnet.se To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 02 01:57:17 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YzZZu-0006xd-98 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jun 2015 01:57:10 +0200 Original-Received: from localhost ([::1]:54873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzZZt-0005Zl-L0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 19:57:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzZZq-0005ZZ-TE for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 19:57:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzZZn-0006aN-AY for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 19:57:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzZZn-0006ZH-7R for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 19:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YzZZm-0005m5-No for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 19:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Angelo Graziosi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jun 2015 23:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20677-submit@debbugs.gnu.org id=B20677.143320297722138 (code B ref 20677); Mon, 01 Jun 2015 23:57:02 +0000 Original-Received: (at 20677) by debbugs.gnu.org; 1 Jun 2015 23:56:17 +0000 Original-Received: from localhost ([127.0.0.1]:36479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzZZ2-0005l0-F8 for submit@debbugs.gnu.org; Mon, 01 Jun 2015 19:56:16 -0400 Original-Received: from smtp202.alice.it ([82.57.200.98]:8150) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzZZ0-0005kl-6R for 20677@debbugs.gnu.org; Mon, 01 Jun 2015 19:56:15 -0400 Original-Received: from [192.168.1.100] (87.16.29.141) by smtp202.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 5483247E134B6BF8; Tue, 2 Jun 2015 01:56:05 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <83zj4js8nz.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103462 Archived-At: Il 01/06/2015 18:19, Eli Zaretskii ha scritto: >> Date: Mon, 01 Jun 2015 17:58:36 +0200 >> From: Angelo Graziosi >> 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..