Subject: Re: bug#43397: 28.0.50; Adding tool bar items: update tool bar

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 03 May 2022 17:28:09 +0200

Lars Ingebrigtsen <[email-masked]> writes:

> This triggers it:
>
> (progn
>   (garbage-collect)
>   (message "Foo\nfoo\nbar")
>   nil)
>
> This does not:
>
> (progn
>   (message "Foo\nfoo\nbar")
>   nil)
>
> So: We have to have a garbage-collect, and then we have to have
> something that changes the size of the minibuffer area (which probably
> triggers a more complete repaint)...

This is still the case in Emacs 29, and I still don't understand why.

Calling flush_frame doesn't help either, or calling

	      fset_redisplay (f);
	      redisplay_internal ();

etc.  So something in tool bar seems to be hanging on to the old shapes
until...  something...  triggers a special kind of redraw.  Anybody got
any ideas?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no