GNU bug report logs - #47093
27.1; deleted image remains displayed

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Fri, 12 Mar 2021 10:16:01 UTC

Severity: normal

Found in version 27.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: ynyaaa <at> gmail.com
Cc: 47093-done <at> debbugs.gnu.org
Subject: Re: bug#47093: 27.1; deleted image remains displayed
Date: Sat, 13 Mar 2021 17:01:56 +0200
> From: ynyaaa <at> gmail.com
> Date: Fri, 12 Mar 2021 19:15:04 +0900
> 
> Evaluate the form below, the deleted image remains displayed partially
> in the window.
> In my environment, (window-pixel-height)=>560, (frame-char-height)=>16.
> 
> The attached image is the screenshot of the result.
> 
> (let* ((buf (generate-new-buffer "tmp"))
>        (w 512)
>        (h 512)
>        (pbm (concat (format "P4\n%d %d\n" w h)
>                     (make-string (* (/ w 8) h) ?U))))
>   (switch-to-buffer buf)
>   (dotimes (i 50)
>     (insert-char ?X i)
>     (insert ?\n))
>   (goto-char (point-min))
>   (redisplay t)
>   (insert-image (create-image pbm 'pbm t :scale 1))
>   (redisplay t)
>   (delete-char -1))

Thanks, this is now fixed on the master branch.




This bug report was last modified 4 years and 90 days ago.

Previous Next


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