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 17:58:36 +0200 Message-ID: <556C812C.4030901@alice.it> References: <556639D1.1030702@alice.it> <83iobdxvzi.fsf@gnu.org> <556C462E.5050906@alice.it> <83a8wjts15.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 1433174436 9555 80.91.229.3 (1 Jun 2015 16:00:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2015 16:00:36 +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 Mon Jun 01 18:00:29 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 1YzS8Z-00068q-GF for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 18:00:27 +0200 Original-Received: from localhost ([::1]:53177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzS8Y-0006ux-Qf for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 12:00:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzS8R-0006sO-QF for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:00:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzS8M-0001FN-MU for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:00:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzS8M-0001F6-IG for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:00:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YzS8L-00035t-BR for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:00:13 -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 16:00:13 +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.143317434211746 (code B ref 20677); Mon, 01 Jun 2015 16:00:13 +0000 Original-Received: (at 20677) by debbugs.gnu.org; 1 Jun 2015 15:59:02 +0000 Original-Received: from localhost ([127.0.0.1]:36313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzS7B-000338-Ii for submit@debbugs.gnu.org; Mon, 01 Jun 2015 11:59:02 -0400 Original-Received: from smtp203.alice.it ([82.57.200.99]:40227) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzS79-00032k-B0 for 20677@debbugs.gnu.org; Mon, 01 Jun 2015 11:59:00 -0400 Original-Received: from [192.168.1.100] (87.16.29.141) by smtp203.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 5556210B01CE8AD2; Mon, 1 Jun 2015 17:58:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <83a8wjts15.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:103437 Archived-At: Il 01/06/2015 16:36, Eli Zaretskii ha scritto: >> Date: Mon, 01 Jun 2015 13:46:54 +0200 >> From: Angelo Graziosi >> CC: 20677@debbugs.gnu.org, jan.h.d@swipnet.se >> >> OK. This master, >> >> >> http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-7ac84a2570e1268cc040fcd529508307b2b22c01.tar.gz >> >> (http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7ac84a2570e1268cc040fcd529508307b2b22c01) >> >> works as expected. >> >> Instead the next, >> >> >> http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-ee14727ce033bae3bc11af35e7843604e5a5e635.tar.gz >> >> (http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ee14727ce033bae3bc11af35e7843604e5a5e635) >> >> shows the tooltip garbage I described. >> >> For what I can see, the issue regards only the GTK build on GNU/Linux >> (Linux Mint 17.1 64 bit, with GTK+ 3.10) > > Looks like the Cairo merge caused this. Jan, could you take a look, > please? 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 Ciao, Angelo.