From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56808: 29.0.50; Elusive display problem on macOS Date: Thu, 28 Jul 2022 09:04:48 +0300 Message-ID: <83r125ai2n.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12474"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56808@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 28 08:05:41 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGweR-000369-V5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jul 2022 08:05:40 +0200 Original-Received: from localhost ([::1]:54102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGweQ-0000pZ-QG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jul 2022 02:05:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGwdr-0000ow-6e for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2022 02:05:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGwdq-0007tV-1w for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2022 02:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGwdp-0000lW-SB for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2022 02:05: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: Thu, 28 Jul 2022 06:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56808 X-GNU-PR-Package: emacs Original-Received: via spool by 56808-submit@debbugs.gnu.org id=B56808.16589882902920 (code B ref 56808); Thu, 28 Jul 2022 06:05:01 +0000 Original-Received: (at 56808) by debbugs.gnu.org; 28 Jul 2022 06:04:50 +0000 Original-Received: from localhost ([127.0.0.1]:57414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGwdd-0000l1-Rc for submit@debbugs.gnu.org; Thu, 28 Jul 2022 02:04:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGwda-0000kk-Nk for 56808@debbugs.gnu.org; Thu, 28 Jul 2022 02:04:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGwdV-0007rQ-Hp; Thu, 28 Jul 2022 02:04:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=y1GQ/kU0RvnSw2nOlurs/2j9tgpl2hXt+1h8uLgbsAA=; b=SKVdlc9BVFhPwp+DGMop ivRHNxQDrd4qB7dtBENT1PPTQualvz7R8QaT4s2yGMCuBaqOK9S5jEYw+dYmh1UN/dLnLSaNaL69j zf1KX3KoMAqAfezDUAh6TKmRz6+6GO8rgBe7JKlIyzp6gC9xGDCWpriOpqrWl02uMKGF74/CCFtoi YuopEe20Stvuc1BqbvK8LNpQuWXx0HTO8x6f4OpMWM3Hs/QZQm6UOVju90tbJCggY6i5Om7HjKdz3 a8drtdc282uhX9yq3uGpZhJlJi3WpR8t5fGufl1AlGeSaIQoWz2wpgH4PtTRnP5Tg3EoJP7xjc16e c6+s/r+IgmYmYg==; Original-Received: from [87.69.77.57] (port=3511 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGwdU-0000kz-Lp; Thu, 28 Jul 2022 02:04:41 -0400 In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Thu, 28 Jul 2022 07:09:34 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:238070 Archived-At: > From: Gerd Möllmann > Date: Thu, 28 Jul 2022 07:09:34 +0200 > > I am seeing a display problem on macOS. I am looking at code like this: > > (dap-register-debug-template > (list :name "LLDB Emacs" > :type "lldb-vscode" > > When the problem happens, the display looks like > > (dap-register-debug-template > (list :name "LLDB Emacs" > :type "lldb-vscode" > > I.e. :name and :type don't align anymore. Are there any :align-to display properties involved in this? ("C-x =" could help you find out.) Can you run this under a debugger and show the display elements in the offending glyph_row? The easiest way of doing that with GDB is like this: (gdb) break Fredraw_display (gdb) run Then wait for the problem to happen when it does, move the cursor to the screen line with the alignment problem, invoke redraw-display, and when the debugger kicks in, do: (gdb) break set_cursor_from_row (gdb) continue Typically, the first time the breakpoint in set_cursor_from_row breaks it's in a mini-window. Verify with (gdb) p it->w->contents (gdb) xtype (gdb) xbuffer Then type "continue". Do the above until set_cursor_from_row is called in the right buffer. Then step until the variable 'row' is assigned in one of the first lines of the function, and do (gdb) pgrow This should display the glyph_row with some detail. Of course, you don't have GDB, so some of the above will need to be done differently, sigh... In particular, the 'pgrow' command is defined in src/.gdbinit. You may wish starting by doing the above in a "good" session, to see what display elements are shown in that glyph_row when the display is correct. Thanks.