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: Tue, 02 Jun 2015 05:33:07 +0300 Message-ID: <83oakysuu4.fsf@gnu.org> 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> <556CD4EB.8080602@alice.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1433212468 16172 80.91.229.3 (2 Jun 2015 02:34:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jun 2015 02:34:28 +0000 (UTC) Cc: 20677@debbugs.gnu.org To: Angelo Graziosi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 02 04:34: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 1Yzc1u-0003SG-Dq for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jun 2015 04:34:14 +0200 Original-Received: from localhost ([::1]:55725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzc1t-0001vd-Ai for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 22:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzc1p-0001vO-JX for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 22:34:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yzc1j-0005vs-1l for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 22:34:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzc1i-0005vn-Um for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 22:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yzc1i-0001QZ-Kl for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 22:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Jun 2015 02:34: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.14332124105449 (code B ref 20677); Tue, 02 Jun 2015 02:34:02 +0000 Original-Received: (at 20677) by debbugs.gnu.org; 2 Jun 2015 02:33:30 +0000 Original-Received: from localhost ([127.0.0.1]:36666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yzc1B-0001Pp-MR for submit@debbugs.gnu.org; Mon, 01 Jun 2015 22:33:30 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:56723) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yzc18-0001PZ-2u for 20677@debbugs.gnu.org; Mon, 01 Jun 2015 22:33:27 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NPA00F00PLEKD00@a-mtaout22.012.net.il> for 20677@debbugs.gnu.org; Tue, 02 Jun 2015 05:33:19 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPA00FSHPRIEY50@a-mtaout22.012.net.il>; Tue, 02 Jun 2015 05:33:19 +0300 (IDT) In-reply-to: <556CD4EB.8080602@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:103464 Archived-At: > Date: Mon, 01 Jun 2015 23:55:55 +0200 > From: Angelo Graziosi > 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 > >> 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?