unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#68452: w32-use-native-image-API makes weird behavior
@ 2024-01-14 13:52 Jinsong Zhao
  2024-01-14 16:34 ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Jinsong Zhao @ 2024-01-14 13:52 UTC (permalink / raw)
  To: 68452

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]

Hi there,

I am not a skilled Emacs user. I mainly use Emacs as a front end for 
Maxima with the help of imaxima. imaxima converts Maxima output into PNG 
image, which are then displayed in Emacs. I am using Windows 10.

It works fine on Emacs 28.2, when I type an expression, e.g. q^2 = 1; 
and return, Emacs 28.2 immediately displays the resulting PNG image.

If I use Emacs 29.1, however, all I get after returning is an empty 
square. And if I type another expression and return, a blank square 
appears. At the same time, the first empty square was replaced by a PNG 
image of the first expression. That's weird.

I saw the following messages in the *Messages* buffer:

Processing Maxima output...done
Unable to load image (image :type png :file 
c:/Users/Jinso/AppData/Local/Temp/imaximatU5Y9B/1 :scale 
1.001595744680851 :ascent center :mask (heuristic (color-values 
imaxima-bg-color)) :transform-smoothing t) [35 times]
Process imaxima finished

After (setq w32-use-native-image-API nil), imaxima has the same 
behaviour on Emacs 28.2 and 29.1.

Best,
Jinsong

[-- Attachment #2: Type: text/html, Size: 1646 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-01-16 12:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-14 13:52 bug#68452: w32-use-native-image-API makes weird behavior Jinsong Zhao
2024-01-14 16:34 ` Eli Zaretskii
2024-01-15  2:30   ` Jinsong Zhao
2024-01-15  3:34     ` Eli Zaretskii
2024-01-15  7:48       ` Jinsong Zhao
2024-01-15 13:08         ` Eli Zaretskii
2024-01-15 14:17           ` Jinsong Zhao
2024-01-15 14:53             ` Eli Zaretskii
2024-01-15 15:06               ` Jinsong Zhao
2024-01-16  5:09               ` Jinsong Zhao
2024-01-16 12:46                 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).