unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50564: 28.0.50; Display artifacting in package list
       [not found] <8735q8kghu.fsf.ref@yahoo.com>
@ 2021-09-13  8:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-13  8:53   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-13 12:14   ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-13  8:49 UTC (permalink / raw)
  To: 50564


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))





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50564: 28.0.50; Display artifacting in package list
  2021-09-13  8:49 ` bug#50564: 28.0.50; Display artifacting in package list Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-13  8:53   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-13 12:14   ` Eli Zaretskii
  1 sibling, 0 replies; 9+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-13  8:53 UTC (permalink / raw)
  To: 50564

Po Lu <luangruo@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".





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50564: 28.0.50; Display artifacting in package list
  2021-09-13  8:49 ` bug#50564: 28.0.50; Display artifacting in package list Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-13  8:53   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-13 12:14   ` Eli Zaretskii
  2021-09-13 12:47     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2021-09-13 12:14 UTC (permalink / raw)
  To: Po Lu; +Cc: 50564

> 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@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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50564: 28.0.50; Display artifacting in package list
  2021-09-13 12:14   ` Eli Zaretskii
@ 2021-09-13 12:47     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-13 13:38       ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-13 12:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50564

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

Eli Zaretskii <eliz@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.


[-- Attachment #2: before.png --]
[-- Type: image/png, Size: 126378 bytes --]

[-- Attachment #3: bug1.png --]
[-- Type: image/png, Size: 34312 bytes --]

[-- Attachment #4: correct.png --]
[-- Type: image/png, Size: 32808 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50564: 28.0.50; Display artifacting in package list
  2021-09-13 12:47     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-13 13:38       ` Eli Zaretskii
  2021-09-13 14:17         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-17 14:09         ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Eli Zaretskii @ 2021-09-13 13:38 UTC (permalink / raw)
  To: Po Lu; +Cc: 50564

> From: Po Lu <luangruo@yahoo.com>
> Cc: 50564@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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50564: 28.0.50; Display artifacting in package list
  2021-09-13 13:38       ` Eli Zaretskii
@ 2021-09-13 14:17         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-17 14:09         ` Eli Zaretskii
  1 sibling, 0 replies; 9+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-13 14:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50564

Eli Zaretskii <eliz@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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50564: 28.0.50; Display artifacting in package list
  2021-09-13 13:38       ` Eli Zaretskii
  2021-09-13 14:17         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-17 14:09         ` Eli Zaretskii
  2021-09-18  0:21           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2021-09-17 14:09 UTC (permalink / raw)
  To: luangruo; +Cc: 50564

> Date: Mon, 13 Sep 2021 16:38:44 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 50564@debbugs.gnu.org
> 
> > From: Po Lu <luangruo@yahoo.com>
> > Cc: 50564@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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50564: 28.0.50; Display artifacting in package list
  2021-09-17 14:09         ` Eli Zaretskii
@ 2021-09-18  0:21           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-18  6:08             ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-18  0:21 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50564

Eli Zaretskii <eliz@gnu.org> writes:

> Should be fixed now, please test.

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50564: 28.0.50; Display artifacting in package list
  2021-09-18  0:21           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-18  6:08             ` Eli Zaretskii
  0 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2021-09-18  6:08 UTC (permalink / raw)
  To: Po Lu; +Cc: 50564-done

> From: Po Lu <luangruo@yahoo.com>
> Cc: 50564@debbugs.gnu.org
> Date: Sat, 18 Sep 2021 08:21:33 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Should be fixed now, please test.
> 
> Seems to be fixed.  Works as advertised, thanks :)

Thanks, so I'm closing this bug.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-09-18  6:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <8735q8kghu.fsf.ref@yahoo.com>
2021-09-13  8:49 ` bug#50564: 28.0.50; Display artifacting in package list Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-13  8:53   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-13 12:14   ` Eli Zaretskii
2021-09-13 12:47     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-13 13:38       ` Eli Zaretskii
2021-09-13 14:17         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-17 14:09         ` Eli Zaretskii
2021-09-18  0:21           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-18  6:08             ` Eli Zaretskii

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).