From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#53546: 28.0.91; posn-image fails below an image Date: Tue, 25 Jan 2022 23:29:31 -0600 Message-ID: <87fspboyis.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16943"; mail-complaints-to="usenet@ciao.gmane.io" To: 53546@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 26 06:32:44 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCavD-0004EN-KD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jan 2022 06:32:43 +0100 Original-Received: from localhost ([::1]:54724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCavB-0004TG-UT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jan 2022 00:32:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCase-0004SR-73 for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2022 00:30:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCasd-0000Z1-Mn for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2022 00:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCasd-0000ow-Ha for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2022 00:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jan 2022 05:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53546 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16431749853096 (code B ref -1); Wed, 26 Jan 2022 05:30:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jan 2022 05:29:45 +0000 Original-Received: from localhost ([127.0.0.1]:50779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCasL-0000ns-AC for submit@debbugs.gnu.org; Wed, 26 Jan 2022 00:29:45 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:56368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCasJ-0000nk-JG for submit@debbugs.gnu.org; Wed, 26 Jan 2022 00:29:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCasH-00048u-TW for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2022 00:29:43 -0500 Original-Received: from [2001:470:142:3::e] (port=53910 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCasA-0000Tk-BR for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2022 00:29:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=ciamj2TGSWI7qHxCMMF0FgKR6ZZqqrcQcIe54OIoLUk=; b=Vx7scU7dwMJwJF vorwUcGqg8CsUpuIm9MrERr69oFMq3HOB+a+7VM14KxE5/JhFJQy17HIS6wvNjAbbDjKkyxlBzhf7 eY7pAXcmxeFGcejKwzHRrMTzDW6JrzOkBN9ME8c6pW2p2NWENXS4Qg5b9of/o5EbTwemqq/PPNNOY bGI9j8TMLDIPGNm+6dKHUDmAEeASAF7JqxLTqVWZUT8d+LkCi0YB9aR2iDi2sCX2eltGWOGzKGQ6Z NVuxiW8deWnh6/r35ZVMjxVwgLh+ds/aGVv1IBDijU5an5kKAfNDz5O/uThjzF99BOt1SO0D3a6hY xPV5O2Gpe1DRDRFKheIg==; Original-Received: from [2600:1700:5650:f790::42] (port=42606 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCas7-0007fs-NG for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2022 00:29:33 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225240 Archived-At: 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