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#70637: :box vertical bar artifacts at 'display boundaries Date: Mon, 29 Apr 2024 14:40:02 +0300 Message-ID: <867cggs8h9.fsf@gnu.org> References: <646DB63C-1CD0-4BF4-8303-4A92B06D08DE@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3248"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70637@debbugs.gnu.org To: JD Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 29 13:41:06 2024 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 1s1PNa-0000d2-DM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Apr 2024 13:41:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1PNP-0004KR-3d; Mon, 29 Apr 2024 07:40:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1PNC-0004ID-NL for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2024 07:40:42 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1PNB-0007zK-Q2 for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2024 07:40:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1PNV-0001MP-NO for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2024 07:41: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: Mon, 29 Apr 2024 11:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70637 X-GNU-PR-Package: emacs Original-Received: via spool by 70637-submit@debbugs.gnu.org id=B70637.17143908375208 (code B ref 70637); Mon, 29 Apr 2024 11:41:01 +0000 Original-Received: (at 70637) by debbugs.gnu.org; 29 Apr 2024 11:40:37 +0000 Original-Received: from localhost ([127.0.0.1]:56762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1PN6-0001Lw-Q8 for submit@debbugs.gnu.org; Mon, 29 Apr 2024 07:40:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1PN4-0001Ll-F1 for 70637@debbugs.gnu.org; Mon, 29 Apr 2024 07:40:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1PMe-0007fm-Od; Mon, 29 Apr 2024 07:40:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/fhHtXfC0n3Q7YlkI+4z/T91wXZgfES/55W8rokLPA0=; b=nZJFOT5Ko/DZ lhxQcRBS25qWSXweQeCMPXJLJtxX2J9e83Ly/z+ToPK7/Jl5OXZIO23fzILSHItVhNMa766Ux21SL 3Q+aQjkxfqhFaih+pjRUtGlhRtEBABehOd5q5I27caXpNAzqB95nhg/fQWjTjTfzYOVQ4f+OouA/F QR3goIh8J1YhWlEKsYzrzpYYWG/oKPiyyyXcqknXwyQ75QbspqPwU5KSzYqk2Vpmu9B2lgOaPPtHn NHYlkgYwaAEcpx6f+UWnZHY2b8pUM97A4ekjkPQQldSJw5ShAmqIhx32S08u17VZolRBSMoxEvf+a JF6gLn2Gh246/uJNfgVz9g==; In-Reply-To: <646DB63C-1CD0-4BF4-8303-4A92B06D08DE@gmail.com> (message from JD Smith on Sun, 28 Apr 2024 20:50:31 -0400) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284139 Archived-At: > From: JD Smith > Date: Sun, 28 Apr 2024 20:50:31 -0400 > > > I have identified a display bug related to placing :box face parameters within 'display strings. Disable font-lock mode in *scratch* and evaluate: > > (insert "\n" > (propertize " " 'display (propertize " " 'face '(:box t))) > (propertize "middle" 'face '(:box t)) > (propertize " " 'display (propertize " " 'face '(:box t)))) > > So far so good: the box is correctly merged across all three elements and wraps around them. But now move point within and across the displayed boxed text. Internal vertical divisions bars separating the 'display and normal :box regions appear. > > If you add a face box property to the blank flanking strings as well, this prevents the internal boundary from appearing. How important is it to fix this use case (as opposed to using the workaround you describe in the last sentence)? The price for fixing it would be that we will need to redraw more than the single glyph below the cursor when showing the cursor (which with the default blink-cursor-mode happens twice a second), which will cause flickering around the cursor, and I wonder whether it's justified?