From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32932: 27.0.50; render bugs on macOS Mojave Date: Thu, 01 Nov 2018 22:12:17 +0200 Message-ID: <83d0roh80u.fsf@gnu.org> References: <20181019184828.GA2041@breton.holly.idiocy.org> <20181020200444.GA2501@breton.holly.idiocy.org> <20181024104242.GA40431@breton.holly.idiocy.org> <20181029160943.GA60662@breton.holly.idiocy.org> <20181031171253.GA69712@breton.holly.idiocy.org> <83tvl0hdn6.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1541103125 22745 195.159.176.226 (1 Nov 2018 20:12:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Nov 2018 20:12:05 +0000 (UTC) Cc: boris@d12frosted.io, 32932@debbugs.gnu.org, alan@idiocy.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 01 21:12:01 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gIJJx-0005nn-0y for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Nov 2018 21:12:01 +0100 Original-Received: from localhost ([::1]:43841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIJM3-0001Vx-GN for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Nov 2018 16:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIJLy-0001Vs-0q for bug-gnu-emacs@gnu.org; Thu, 01 Nov 2018 16:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIJLv-0001Ak-1s for bug-gnu-emacs@gnu.org; Thu, 01 Nov 2018 16:14:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gIJLu-0001AG-Qr for bug-gnu-emacs@gnu.org; Thu, 01 Nov 2018 16:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gIJLu-0002c7-Gt for bug-gnu-emacs@gnu.org; Thu, 01 Nov 2018 16:14: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: Thu, 01 Nov 2018 20:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32932-submit@debbugs.gnu.org id=B32932.15411031849969 (code B ref 32932); Thu, 01 Nov 2018 20:14:02 +0000 Original-Received: (at 32932) by debbugs.gnu.org; 1 Nov 2018 20:13:04 +0000 Original-Received: from localhost ([127.0.0.1]:58836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gIJKx-0002ai-N2 for submit@debbugs.gnu.org; Thu, 01 Nov 2018 16:13:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gIJKv-0002aF-TF for 32932@debbugs.gnu.org; Thu, 01 Nov 2018 16:13:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIJKp-0000ZU-VM for 32932@debbugs.gnu.org; Thu, 01 Nov 2018 16:12:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIJKS-0000JZ-1X; Thu, 01 Nov 2018 16:12:33 -0400 Original-Received: from [176.228.60.248] (port=3038 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gIJKR-0001Gb-KB; Thu, 01 Nov 2018 16:12:31 -0400 In-reply-to: (message from Aaron Jensen on Thu, 1 Nov 2018 12:52:43 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:151915 Archived-At: > From: Aaron Jensen > Date: Thu, 1 Nov 2018 12:52:43 -0700 > Cc: 32932@debbugs.gnu.org, boris@d12frosted.io, alan@idiocy.org > > dispnew.c redraws up to the end of the line in many situations. I > added the following logging: > >       fprintf (stderr, "clear %d %d %d %d %d %d %d\n", !current_row->enabled_p >                , desired_row->y != current_row->y >                , desired_row->ascent != current_row->ascent >                , desired_row->phys_ascent != current_row->phys_ascent >                , desired_row->phys_height != current_row->phys_height >                , desired_row->visible_height != current_row->visible_height >                , current_row->overlapped_p); >       fprintf (stderr, "desired\t%d\t%d\t%d\t%d\t%d\n" >                , desired_row->y >                , desired_row->ascent >                , desired_row->phys_ascent >                , desired_row->phys_height >                , desired_row->visible_height); >       fprintf (stderr, "current\t%d\t%d\t%d\t%d\t%d\n" >                , current_row->y >                , current_row->ascent >                , current_row->phys_ascent >                , current_row->phys_height >                , current_row->visible_height); > > And when this happens, this is what I get: > > draw_glyphs x: 56 pos: 7 8 > clear 0 0 1 1 1 0 0 > desired 0       15      12      16      19 > current 0       0       0       19      19 > clear 1 0 0 0 0 0 0 > desired 637     20      19      26      28 > current 637     20      19      26      28 > clear 1 0 1 1 1 1 0 > desired 0       318     318     637     637 > current 0       15      15      19      19 > clear 1 0 0 0 0 0 0 > desired 0       15      12      16      19 > current 0       15      12      16      19 Thanks, but this is not enough info, I need also to see the actual contents of the current and the desired rows. If they are different, then clearing is justified. You can display a glyph row in GDB using the command pgrowx defined in src/.gdbinit. And which row is the problematic one: the one at Y = 0 or at Y = 637? The large numbers for the desired row in the 3rd sample look bogus to me, unless you have a very tall image there. > So, the ascent and physics_ascent on the current row are coming back > as 0. Also, the height is different. Sounds improbable to me. Are you sure you caught the right rows?