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: Sat, 03 Nov 2018 11:23:08 +0200 Message-ID: <838t2afrb7.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> <83d0roh80u.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 1541236928 3834 195.159.176.226 (3 Nov 2018 09:22:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Nov 2018 09:22:08 +0000 (UTC) Cc: alan@idiocy.org, 32932@debbugs.gnu.org, boris@d12frosted.io To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 03 10:22:03 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 1gIs83-0000rK-Lo for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Nov 2018 10:22:03 +0100 Original-Received: from localhost ([::1]:54880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIsAA-0004mE-0m for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Nov 2018 05:24:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIsA3-0004lx-6E for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 05:24:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIs9z-0003RT-Bm for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 05:24:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gIs9y-0003Qa-1Q for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 05:24:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gIs9x-0008EK-Se for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 05:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Nov 2018 09:24:01 +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.154123703331619 (code B ref 32932); Sat, 03 Nov 2018 09:24:01 +0000 Original-Received: (at 32932) by debbugs.gnu.org; 3 Nov 2018 09:23:53 +0000 Original-Received: from localhost ([127.0.0.1]:60628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gIs9o-0008Du-Mp for submit@debbugs.gnu.org; Sat, 03 Nov 2018 05:23:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gIs9m-0008Df-PY for 32932@debbugs.gnu.org; Sat, 03 Nov 2018 05:23:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIs9c-0002zQ-49 for 32932@debbugs.gnu.org; Sat, 03 Nov 2018 05:23:43 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIs9H-0002iE-27; Sat, 03 Nov 2018 05:23:19 -0400 Original-Received: from [176.228.60.248] (port=4622 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gIs9G-00028d-Lf; Sat, 03 Nov 2018 05:23:18 -0400 In-reply-to: (message from Aaron Jensen on Thu, 1 Nov 2018 13:29:40 -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:151971 Archived-At: > From: Aaron Jensen > Date: Thu, 1 Nov 2018 13:29:40 -0700 > Cc: alan@idiocy.org, 32932@debbugs.gnu.org, boris@d12frosted.io > > On November 1, 2018 at 1:13:05 PM, Eli Zaretskii > (eliz@gnu.org(mailto:eliz@gnu.org)) wrote: > > > 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. > > Unfortunately, I’m on a Mac, so AFAIK I can only use lldb. Doesn't the latest GDB compile on macOS? I thought it did, but perhaps that's only available in the GDB Git repo. > I’ll see what I can figure out. You can, of course, manually type the equivalents of the commands that GDB uses in pgrowx. In an Emacs configured with --enable-checking=yes,glyphs, you can also use the dump-glyph-row command to the same effect. > > And which row is the problematic one: the one at Y = 0 or at Y = 637? > > I don’t understand Y=0, is that 0 from where the point is? It’s > probably the 16th row or so from the top. The Y coordinate is measured from the top of the window. > > The large numbers for the desired row in the 3rd sample look bogus to > > me, unless you have a very tall image there. > > It’s a relatively tall image, yeah. So the problem is with redrawing the cursor in a screen line that shows a tall image? Is there any text before and/or after the image in the same screen line? > > > 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? > > Those are the only things emitted when I pressed enter on the image > file to open it (in this case, from the home buffer with a recent file > list). If you want to reproduce the flickering, you need to do whatever causes redisplay after opening the file. For example, does it flicker when you move cursor? Does cursor blinking cause flickering? Each one of these should show you the output that tells which parts of the glyph row is Emacs actually redrawing.