GNU bug report logs - #50564
28.0.50; Display artifacting in package list

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Mon, 13 Sep 2021 08:50:01 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50564 in the body.
You can then email your comments to 50564 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50564; Package emacs. (Mon, 13 Sep 2021 08:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Po Lu <luangruo <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 13 Sep 2021 08:50:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Display artifacting in package list
Date: Mon, 13 Sep 2021 16:49:01 +0800
If you move to the end of a truncated line in the package list, part of
the previous screen will be retained when it should actually be
invisible.

To reproduce this problem, start emacs -Q, select the entry "news" from
the package finder (the command finder-by-keyword), then turn on
truncate-lines (if it is not already on) in the package list containing
results from the finder, resize the window showing the package list so
that lines are being truncated, and move to the end of a truncated line.

This problem is not present in Emacs 27.2, and cannot be reproduced on a
TTY frame.

Parts of the previous content of the display will be preserved, which go
away upon invoking redraw-display.

In GNU Emacs 28.0.50 (build 1, i386-pc-solaris2.11, X toolkit, Xaw scroll bars)
 of 2021-09-13 built on blaster
Repository revision: fd1379a85aafa77c119b9b7aa811f669c575bac7
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101001
Configured using:
 'configure --with-gnutls=ifavailable --disable-acl'

Configured features:
GIF JPEG MODULES PDUMPER PNG THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE
XIM XPM LUCID ZLIB

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Package Menu

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail
rmail-loaddefs text-property-search time-date mm-decode mm-bodies
mm-encode mailabbrev gmm-utils mailheader sendmail mail-utils misearch
multi-isearch finder finder-inf find-func lisp-mnt mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads
dynamic-setting x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 8 65716 10179)
 (symbols 24 7850 0)
 (strings 16 24023 1996)
 (string-bytes 1 743440)
 (vectors 8 16426)
 (vector-slots 4 249899 19216)
 (floats 8 29 22)
 (intervals 28 609 3)
 (buffers 564 12))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50564; Package emacs. (Mon, 13 Sep 2021 08:54:03 GMT) Full text and rfc822 format available.

Message #8 received at 50564 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: 50564 <at> debbugs.gnu.org
Subject: Re: bug#50564: 28.0.50; Display artifacting in package list
Date: Mon, 13 Sep 2021 16:53:33 +0800
Po Lu <luangruo <at> yahoo.com> writes:

> If you move to the end of a truncated line in the package list, part of
> the previous screen will be retained when it should actually be
                                       ^^^^^^^^^^^^^^^^^^^^^^^
Correction: I meant to say "which should be".




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50564; Package emacs. (Mon, 13 Sep 2021 12:16:02 GMT) Full text and rfc822 format available.

Message #11 received at 50564 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 50564 <at> debbugs.gnu.org
Subject: Re: bug#50564: 28.0.50; Display artifacting in package list
Date: Mon, 13 Sep 2021 15:14:59 +0300
> Date: Mon, 13 Sep 2021 16:49:01 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> If you move to the end of a truncated line in the package list, part of
> the previous screen will be retained when it should actually be
> invisible.
> 
> To reproduce this problem, start emacs -Q, select the entry "news" from
> the package finder (the command finder-by-keyword), then turn on
> truncate-lines (if it is not already on) in the package list containing
> results from the finder, resize the window showing the package list so
> that lines are being truncated, and move to the end of a truncated line.
> 
> This problem is not present in Emacs 27.2, and cannot be reproduced on a
> TTY frame.
> 
> Parts of the previous content of the display will be preserved, which go
> away upon invoking redraw-display.

I don't think I can reproduce this here, at least not in "emacs -Q".
But it's hard to say because you didn't tell which part(s) of the
previous contents I should watch, and there's a lot of stuff on the
screen to be sure that none of it was left behind.

So please describe the recipe in more detail:

  . to what width to resize the frame
  . how do you "move to the end of a truncated line"
  . which parts of the display are left on the screen

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50564; Package emacs. (Mon, 13 Sep 2021 12:49:02 GMT) Full text and rfc822 format available.

Message #14 received at 50564 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50564 <at> debbugs.gnu.org
Subject: Re: bug#50564: 28.0.50; Display artifacting in package list
Date: Mon, 13 Sep 2021 20:47:46 +0800
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

> I don't think I can reproduce this here, at least not in "emacs -Q".
> But it's hard to say because you didn't tell which part(s) of the
> previous contents I should watch, and there's a lot of stuff on the
> screen to be sure that none of it was left behind.

Sorry for that.

> So please describe the recipe in more detail:

>   . to what width to resize the frame

80 (character width) seems to be sufficient.

>   . how do you "move to the end of a truncated line"

By moving to the line, and calling move-end-of-line (C-e).

>   . which parts of the display are left on the screen

Parts of the names; I've attached three screenshots, of which
"before.png" depicts the package list before the bug is triggered,
"bug1.png" depicts the bug, and "correct.png" depicts the screen after
redraw-display.

Thanks.

[before.png (image/png, attachment)]
[bug1.png (image/png, attachment)]
[correct.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50564; Package emacs. (Mon, 13 Sep 2021 13:40:01 GMT) Full text and rfc822 format available.

Message #17 received at 50564 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 50564 <at> debbugs.gnu.org
Subject: Re: bug#50564: 28.0.50; Display artifacting in package list
Date: Mon, 13 Sep 2021 16:38:44 +0300
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: 50564 <at> debbugs.gnu.org
> Date: Mon, 13 Sep 2021 20:47:46 +0800
> 
> >   . which parts of the display are left on the screen
> 
> Parts of the names; I've attached three screenshots, of which
> "before.png" depicts the package list before the bug is triggered,
> "bug1.png" depicts the bug, and "correct.png" depicts the screen after
> redraw-display.

That's list-packages, not finder-by-keyword.  I don't see the problem
in the latter, but I do see in the former (and in other displays that
use tabulated-list-mode, for example "C-x C-b").

I will look into this, thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50564; Package emacs. (Mon, 13 Sep 2021 14:19:02 GMT) Full text and rfc822 format available.

Message #20 received at 50564 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50564 <at> debbugs.gnu.org
Subject: Re: bug#50564: 28.0.50; Display artifacting in package list
Date: Mon, 13 Sep 2021 22:17:56 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

> That's list-packages, not finder-by-keyword.  I don't see the problem
> in the latter, but I do see in the former (and in other displays that
> use tabulated-list-mode, for example "C-x C-b").

My bad. Thanks.

> I will look into this, thanks.

Thanks for looking into this, Eli.  It's greatly appreciated.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50564; Package emacs. (Fri, 17 Sep 2021 14:10:02 GMT) Full text and rfc822 format available.

Message #23 received at 50564 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: luangruo <at> yahoo.com
Cc: 50564 <at> debbugs.gnu.org
Subject: Re: bug#50564: 28.0.50; Display artifacting in package list
Date: Fri, 17 Sep 2021 17:09:00 +0300
> Date: Mon, 13 Sep 2021 16:38:44 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 50564 <at> debbugs.gnu.org
> 
> > From: Po Lu <luangruo <at> yahoo.com>
> > Cc: 50564 <at> debbugs.gnu.org
> > Date: Mon, 13 Sep 2021 20:47:46 +0800
> > 
> > >   . which parts of the display are left on the screen
> > 
> > Parts of the names; I've attached three screenshots, of which
> > "before.png" depicts the package list before the bug is triggered,
> > "bug1.png" depicts the bug, and "correct.png" depicts the screen after
> > redraw-display.
> 
> That's list-packages, not finder-by-keyword.  I don't see the problem
> in the latter, but I do see in the former (and in other displays that
> use tabulated-list-mode, for example "C-x C-b").
> 
> I will look into this, thanks.

Should be fixed now, please test.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50564; Package emacs. (Sat, 18 Sep 2021 00:22:02 GMT) Full text and rfc822 format available.

Message #26 received at 50564 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50564 <at> debbugs.gnu.org
Subject: Re: bug#50564: 28.0.50; Display artifacting in package list
Date: Sat, 18 Sep 2021 08:21:33 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

> Should be fixed now, please test.

Seems to be fixed.  Works as advertised, thanks :)




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 18 Sep 2021 06:09:02 GMT) Full text and rfc822 format available.

Notification sent to Po Lu <luangruo <at> yahoo.com>:
bug acknowledged by developer. (Sat, 18 Sep 2021 06:09:02 GMT) Full text and rfc822 format available.

Message #31 received at 50564-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 50564-done <at> debbugs.gnu.org
Subject: Re: bug#50564: 28.0.50; Display artifacting in package list
Date: Sat, 18 Sep 2021 09:08:12 +0300
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: 50564 <at> debbugs.gnu.org
> Date: Sat, 18 Sep 2021 08:21:33 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Should be fixed now, please test.
> 
> Seems to be fixed.  Works as advertised, thanks :)

Thanks, so I'm closing this bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 16 Oct 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.