From: "Roland Winkler" <winkler@gnu.org>
To: 53546@debbugs.gnu.org
Subject: bug#53546: 28.0.91; posn-image fails below an image
Date: Tue, 25 Jan 2022 23:29:31 -0600 [thread overview]
Message-ID: <87fspboyis.fsf@gnu.org> (raw)
In 'emacs -Q' load
(defun foo (event)
(interactive "e")
(message "%simage"
(if (posn-image (event-start event)) "" "not ")))
(global-set-key [down-mouse-1] 'foo)
Then visit a pbm image such as etc/images/gnus.pbm from GNU Emacs such
that the image is smaller than the window displaying the image. Then
(left-) clicking inside the image gives the message "image" (fine).
Clicking on the right of the image gives the message "not image" (again fine).
However, clicking below the image again gives the message "image", when it
should be "not image". (With emacs 27.2, clicking below the image gives
"not image".)
I noticed this with djvu-image-rect in djvu.el (GNU Elpa).
In GNU Emacs 28.0.91 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0)
of 2022-01-16 built on regnitz
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)
Configured using:
'configure --with-native-compilation'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB
Important settings:
value of $LC_COLLATE: C
value of $LANG: en_US.utf8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
next reply other threads:[~2022-01-26 5:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 5:29 Roland Winkler [this message]
2022-01-26 14:46 ` bug#53546: 28.0.91; posn-image fails below an image Eli Zaretskii
2022-02-23 20:14 ` Lars Ingebrigtsen
2022-02-23 21:00 ` Roland Winkler
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fspboyis.fsf@gnu.org \
--to=winkler@gnu.org \
--cc=53546@debbugs.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 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).