GNU bug report logs - #59902
30.0.50; Image overlay is not updated until the cursor moves to the overlay

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Thu, 8 Dec 2022 11:18:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 59902 <at> debbugs.gnu.org
Subject: bug#59902: 30.0.50; Image overlay is not updated until the cursor moves to the overlay
Date: Thu, 08 Dec 2022 22:24:01 +0200
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: 59902 <at> debbugs.gnu.org
> Date: Thu, 08 Dec 2022 19:27:39 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Can you help me modify the recipe so that I won't need a 'sh'
> > executable that is a Posix shell?
> 
> Ok. Try the following:
> 
> 1. Save colour.png to /tmp/colour.png (300x300)
> 2. emacs -Q
> 3. Open an org file with the following contents
> 
>    <point>
>    
>    [[file:/tmp/colour.png]]
> 
> 4. C-c C-x C-v
> 5. Observe 300x300 image displayed
> 6. Overwrite /tmp/colour.png with colour2.png (500x300)
> 7. C-c C-x C-v
> 8. Image disappear
> 9. C-c C-x C-v
> 10. _Old_ image appears
> 11. Move point to the image. Observe image being updated to the correct
>     500x300 size

Thanks.  I think when the image is replaced, you need to call
clear-image-cache.




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

Previous Next


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