From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20677: tooltips generate garbage Date: Mon, 01 Jun 2015 19:19:44 +0300 Message-ID: <83zj4js8nz.fsf@gnu.org> References: <556639D1.1030702@alice.it> <83iobdxvzi.fsf@gnu.org> <556C462E.5050906@alice.it> <83a8wjts15.fsf@gnu.org> <556C812C.4030901@alice.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1433175686 31646 80.91.229.3 (1 Jun 2015 16:21:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2015 16:21:26 +0000 (UTC) Cc: 20677@debbugs.gnu.org, jan.h.d@swipnet.se To: Angelo Graziosi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 01 18:21:15 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 1YzSSh-0000eC-B9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 18:21:15 +0200 Original-Received: from localhost ([::1]:53386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzSSg-0005V6-HC for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 12:21:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzSSa-0005U7-7w for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:21:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzSSV-00031c-Go for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:21:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzSSV-00031U-EU for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YzSSV-0003bO-7E for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:21:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jun 2015 16:21:03 +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.143317561113771 (code B ref 20677); Mon, 01 Jun 2015 16:21:03 +0000 Original-Received: (at 20677) by debbugs.gnu.org; 1 Jun 2015 16:20:11 +0000 Original-Received: from localhost ([127.0.0.1]:36336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzSRd-0003a2-JS for submit@debbugs.gnu.org; Mon, 01 Jun 2015 12:20:10 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:33278) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzSRY-0003ZN-EA for 20677@debbugs.gnu.org; Mon, 01 Jun 2015 12:20:07 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NP900E00X0BYH00@a-mtaout20.012.net.il> for 20677@debbugs.gnu.org; Mon, 01 Jun 2015 19:19:57 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NP900EPKXD9N1B0@a-mtaout20.012.net.il>; Mon, 01 Jun 2015 19:19:57 +0300 (IDT) In-reply-to: <556C812C.4030901@alice.it> X-012-Sender: halo1@inter.net.il 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:103442 Archived-At: > 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?