[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47093: 27.1; deleted image remains displayed
From: |
Eli Zaretskii |
Subject: |
bug#47093: 27.1; deleted image remains displayed |
Date: |
Sat, 13 Mar 2021 17:01:56 +0200 |
> From: ynyaaa@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.