all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jinsong Zhao <jszhao@yeah.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 68452@debbugs.gnu.org
Subject: bug#68452: w32-use-native-image-API makes weird behavior
Date: Mon, 15 Jan 2024 22:17:37 +0800	[thread overview]
Message-ID: <f3e91c04-348e-4160-a20d-93eb8bd17fd5@yeah.net> (raw)
In-Reply-To: <837ckaeoc0.fsf@gnu.org>


On 2024/1/15 21:08, Eli Zaretskii wrote:
>> Date: Mon, 15 Jan 2024 15:48:55 +0800
>> Cc: 68452@debbugs.gnu.org
>> From: Jinsong Zhao <jszhao@yeah.net>
>>
>>>> The PNG image is created on the fly by imaxima, a front end for Maxima.
>>>> I think it's a normal PNG image file, actually converted from a ps file
>>>> by ghostscript. I also tried to use JPEG, it's the same.
>>> Well, we cannot do anything with this bug report unless we have an
>>> example of an image to work with.  So please find a way to ask imaxima
>>> to save the image on a file, and then send it.
>> I could provide the PNG files, please see the attachments.
>>
>> File "1" and "2" are PNG files that were displayed in Emacs.
>>
>> File "11.png" and "33.png" are the screenshots with
>> w32-use-native-image-API set to nil after the first and second input.
>>
>> File "22.png" and "44.png" are the screenshots with
>> w32-use-native-image-API set to non-nil after the first and second input.
>>
>> I don't know if I am clear.
> Thanks.  I have no problems displaying the 2 PNG files with
> w32-use-native-image-API set to a non-nil value.  So I don't know why
> this doesn't work for you.  Are you able to display the files you sent
> in your Emacs with w32-use-native-image-API set to its default non-nil
> value?
My problem is not that I can't display images, but that the same action 
doesn't work the same way with either setting.

When w32-use-native-image-API is nil, image "1" can be displayed as soon 
as the Enter key is pressed (before "(%2)" appears, see 11.png). 
However, if w32-use-native-image-API is t, image 1 will not be 
displayed, just an empty box (see 22.png).

Now we enter another expression. If w32-use-native-image-API is nil, 
image "2" can be displayed immediately after pressing enter, and it will 
not affect the display of the previous image "1", see 33.png. If 
w32-use-native-image-API is t, instead of displaying an empty box, image 
"2" is not displayed, but the first empty box is replaced by image "1", 
see 44.png.

Best wishes,

Jinsong






  reply	other threads:[~2024-01-15 14:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f3e91c04-348e-4160-a20d-93eb8bd17fd5@yeah.net \
    --to=jszhao@yeah.net \
    --cc=68452@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.