From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#36779: 25.1; mouse click not recognized for frames with large left position Date: Tue, 30 Jul 2019 09:01:13 +0200 Message-ID: <80f1cd98-5370-4aa1-ad0d-b70db16b2c04@gmx.at> References: <87h87c2hhg.fsf@LAPTOP-0TO7HGG8.localdomain> <8336ivpkt5.fsf@gnu.org> <83o91inuse.fsf@gnu.org> <6b7c63b2-9b69-6955-1e4b-82b86c088da6@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="90496"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36779@debbugs.gnu.org To: Eijiro Sumii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 09:02:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsM9D-000NQR-DQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 09:02:11 +0200 Original-Received: from localhost ([::1]:58394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsM9C-0003yU-EH for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 03:02:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37046) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsM97-0003xz-2f for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 03:02:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsM96-0001lZ-5i for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 03:02:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40630) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsM96-0001lT-1w for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 03:02:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsM94-0002mF-GA for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 03:02:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2019 07:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36779 X-GNU-PR-Package: emacs Original-Received: via spool by 36779-submit@debbugs.gnu.org id=B36779.156447009110638 (code B ref 36779); Tue, 30 Jul 2019 07:02:02 +0000 Original-Received: (at 36779) by debbugs.gnu.org; 30 Jul 2019 07:01:31 +0000 Original-Received: from localhost ([127.0.0.1]:49451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsM8Z-0002lW-Bp for submit@debbugs.gnu.org; Tue, 30 Jul 2019 03:01:31 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:42269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsM8X-0002lG-IE for 36779@debbugs.gnu.org; Tue, 30 Jul 2019 03:01:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1564470077; bh=3UToHTKZKy9weGBEENe3gHPkbMkXsWQ03ZJyZKjaKfY=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Ej3xhtVckb3pcCmFyvd0w/Y+nyJtUQyGrugJ4yJkndkgyfW6eEbkDvdVbnQ2revMD IT5WpG0ddeH3hICnZo8tpl+BNENJlEAvqM5oW7RocqIUcwy+SYKgFV+FoAJqlLo4NQ h3TCGXF7Vm8akwGlHs9aT2EnfPlKQR9aXu1uOwRw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.43]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LZmd6-1iFHLE3Pky-00lW8s; Tue, 30 Jul 2019 09:01:16 +0200 In-Reply-To: Content-Language: de-DE X-Provags-ID: V03:K1:3cd19ZhozZkTPXMjcYE5GZ0gbHl6yUOzYg77y2M1j0sAFRJIBc0 lC4E2t9azOhKtc8EyBjHaxBlpZ6hR+tF70yYtORqroMHY9K42fSEvtbfGvRLB8XfVtu5gM2 Hbmflv1sDbli4Obt6riGhePas7jdf9HbdBca2rNdu8I8ojGxCcz6PUJcpFmGLqzSfZfswmV UDD2l/xV1uJN/ZmqTfKkQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:6sjL+twqJkM=:2L+cCT3ds0YDGhoE8MEBKD 9c+KH0xF7HPz7LS86pjHtbwavrHkuXko9Qs4CtyjrdL3ij/Qv93GU2otX7XQE9Ku0ala90nNe E6N99P45tJqtvBsfrjVfjx8p1XemiPrsZo9TwhsuOSRdYflsZPfkyvIPNR42qmFu4MrHzXfpE 8TPU3V/keqyQJg81/Do9d9qgjXx103a9thC0w3N/6ahpvWE7ft/UWXq2+1xCGXmX6SPG98yQH 5QDfOLYWSjlnviLODvreyzO/VU1RWR8m2+FMaDdeYXxmFT1VXR/t+ZGpCTJoWTxwUKhS3lQks JQmwB7K0D8sKJQrNVKf+XupaSx+pM7HzBLtpuELXdgMEefkpFDujQzFyLH5IpFl/SsBBbV7Pe Z7P5dr14WlqF4SxW8KMEsOYh5GpWO05tlFsXyoMTADnyeQOvp+l/4fGsPmaHBuguw4wRFG8cO 0JhrdPrEIJWF73Bq7g5MblYzVQyfxKZ00g4z7a+jBGzDB7nWvotcG1oV7/KtGaMCKzyNzbXux 8wiwcb/aUtvSBf6b0T/4NDhzaT1LA+4IDvWnq8z2MP9Eyw+yWzFypyFkLuqUqys9vJ9FT0Kej 2ATc0SamrryzIwRiFbmwWZjJDeqGF1Ab08PTK5MLXKK3cF38wK6LBgjEKoqipfD4tNfEeOszT urQesNxpcWoklP/MYffjYskMxEjnBghBbihrWj66TS/DtyOpp2nVAMjIcY1fvcdVqu4cYjQ1P WZnaIuxeNVLHCEe16s69satPoXc/WWekBTdD45lSooHbnmhyfocFulTAO4LDW8pcb7b4wB1J X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164093 Archived-At: >> Can you mark text with the mouse? > No, I cannot. So the mouse down event is probably not recognized. >> Does the bug happen only when the >> entire frame is positioned to the right of 3840 > Yes, that's the case. > >> or do you see it with >> a frame starting before 3840 but extending to the right of the display >> as well? > This situation does*not* exhibit the bug. Thanks for clarifying this. > Thanks! I built both Emacs 25.1 and 26.2 (latest release) from the > sources, and confirmed that*both* exhibits the same problem in my > environment. > I run gdb for the latter (Emacs 26.2) Please continue using 26.2 for debugging. > and the values of *dpyinfo and > event->xbutton at that code point (line 8848) are: > > When the problem occurs: These do not reveal any great differences, I suppose the x_root values > x_root = 4326, y_root = 281, state = 0, button = 1, same_screen = 1} and > x_root = 2467, y_root = 229, state = 0, button = 1, same_screen = 1} are the expected ones, the first larger than 3840 the second smaller. > I haven't yet pursued further executions (I need to sit in front of the > second, 60-inch 4K display for this!), but will do (so, advice is welcome!). The subsequent code is among the most convoluted ones Emacs has, sprinkled with USE_GTK, USE_X_TOOLKIT and USE_TOOLKIT_SCROLL_BARS defines, so you have all my sympathy. But maybe stepping into x_window_to_frame already exhibits that the latter is not able to find a suitable frame ... martin