On Thu, Oct 15, 2020 at 12:33:44AM +0300, Andrii Kolomoiets wrote: > Alan Third writes: > > >> The frame must be small enough to not all the toolbar buttons fits the > >> toolbar: > >> > >> (setq test-frame (make-frame `((parent-frame . ,(selected-frame)) > >> (width . 41)))) > >> > >> The last button (isearch) is replaced by ">>". > > > > Funnily enough that ">>" is what I was looking at. I guess it's a > > toolkit image and not something we provide with Emacs...? > > > >> There are no crash if '(width . 42)'. > > > > Can you try this: Can you please try the attached patch. It looks like NSToolbarItem makes a copy of the image, but EmacsImage is not set up to create copies of itself correctly. -- Alan Third