GNU bug report logs - #61974
29.0.60; customize checkbox and radio widgets don't render on macOS

Previous Next

Package: emacs;

Reported by: David Caldwell <david <at> porkrind.org>

Date: Sun, 5 Mar 2023 01:36:02 UTC

Severity: normal

Found in version 29.0.60

Full log


View this message in rfc822 format

From: David Caldwell <david <at> porkrind.org>
To: Po Lu <luangruo <at> yahoo.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 61974 <at> debbugs.gnu.org
Subject: bug#61974: 29.0.60; customize checkbox and radio widgets don't render on macOS
Date: Sun, 5 Mar 2023 12:26:13 -0800
On 3/5/23 2:42 AM, Po Lu wrote:
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
>> My impression was that such a conclusion would be too drastic, as many
>> SVG images can undoubtedly be displayed.
> 
> I don't know... Emacs code has never been prepared for native SVG
> display before, as this is a new feature in Mac OS.

The splash screen renders nicely, at least.

I poked around a little more and found that the OS seems to be just 
ignoring the "em" in "height=1em" and setting its height to 1. I thought 
maybe if I forced the image height to something reasonable that it would 
render but it doesn't change anything--still just a blank image.

One thought I had was that maybe Emacs is approaching this 
backward—currently the widget code says "please draw the checkbox here" 
and the checkbox svg says "I should be one lineheight high please". What 
if it instead the widget code said "Please draw the checkbox image here 
with the height of my line" and the image said nothing.

The complication there is that you probably don't want to scale 
non-vector images.

But that also is kind of a drastic change.




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

Previous Next


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