[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67794: 30.0.50; mouse-face is not respected on SVG images
From: |
Eli Zaretskii |
Subject: |
bug#67794: 30.0.50; mouse-face is not respected on SVG images |
Date: |
Tue, 19 Dec 2023 15:03:28 +0200 |
> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: Eli Zaretskii <eliz@gnu.org>, gerd.moellmann@gmail.com,
> 67794@debbugs.gnu.org
> Date: Tue, 19 Dec 2023 13:45:03 +0100
>
> > I believe that we need to do some final set-up for the image under
> > X/GTK/whatever and it looks as though this is all that's needed:
> >
> > id = lookup_image (f, s->img->spec, hlinfo->mouse_face_face_id);
> > s->img = IMAGE_FROM_ID (f, id);
> > prepare_image_for_display (f, s->img); <------
> >
> > Under X we need to send the image to the X server, and under Cairo it
> > does some other stuff. That's what prepare_image_for_display does. It
> > does nothing under NS, so the image worked fine under GNUstep.
>
> Thank you Alan! That does the trick. So here is an updated version of
> the patch that works with XRender (i'll test with cairo).
With this change, if you move the mouse pointer on and off the image
several times, what happens to the Emacs memory footprint?
Specifically, how many times is memory allocated for the SVG image,
and if it's allocated each time, does it ever get deallocated?
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, (continued)
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Eli Zaretskii, 2023/12/13
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/14
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Eli Zaretskii, 2023/12/14
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/14
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Eli Zaretskii, 2023/12/14
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/18
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Alan Third, 2023/12/18
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/18
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Alan Third, 2023/12/18
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/19
- bug#67794: 30.0.50; mouse-face is not respected on SVG images,
Eli Zaretskii <=
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/19
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Eli Zaretskii, 2023/12/19
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/19
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Eli Zaretskii, 2023/12/19
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/19
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Eli Zaretskii, 2023/12/19
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/20
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Eli Zaretskii, 2023/12/20
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Alan Third, 2023/12/20
- bug#67794: 30.0.50; mouse-face is not respected on SVG images, Manuel Giraud, 2023/12/20