From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Cecilio Pardo Newsgroups: gmane.emacs.bugs Subject: bug#6372: 24.0.50; C-mouse-1 activates region Date: Mon, 19 Aug 2024 09:11:44 +0200 Message-ID: References: <2267ebe5-2b20-491d-acea-67ab28ca1471@imayhem.com> <871q2l7bc2.fsf@jeremybryant.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------RPebfCm2ZX7Ne3MpPmvqEpxb" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33971"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 6372@debbugs.gnu.org. To: Jeremy Bryant Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 19 09:12:44 2024 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 1sfwZI-0008ff-Az for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Aug 2024 09:12:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfwZ6-0000cd-Sn; Mon, 19 Aug 2024 03:12:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfwYv-0000ZN-Sr for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 03:12:22 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfwYv-0000lo-Ja for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 03:12:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=IHTGWBAcOxo4evSo8LUqgopYt6vlD+7OOzqxEPKlUjM=; b=ByVDwHtMHAAciY52A9dC2my0iXf/wJjiKq91y/PZh8YkhD5Zao4u/SfvMbuOF6yW9g2XIhZ979rc8OpaUxzMgXtLjQxz1fWvXgxUWa2KT4evGEIooUEXOedzVhRjl3JGX5aPmavPm1eE/pLEMjoC3yoE1M3xWsP0RkZ24kLg4fL2iPHrbrnZyG/MgQTCzYNmRe95AnDpQIlxhSB0U0Lgf2FAyCDsk+v5LFUSYT1UBAF1d8Xo2xo7NY7gqDYUSUrFBvrn+fD1q4DOn32HbZ1TtsHiLcoKuDIxDy7fZgSKeXFfzNmK7d79cACLDNHlU2tM2XXb8/5wj7k6sMVg1qkOoA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfwZa-0002Hq-D5 for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 03:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Cecilio Pardo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Aug 2024 07:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6372 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: help confirmed Original-Received: via spool by 6372-submit@debbugs.gnu.org id=B6372.17240515588757 (code B ref 6372); Mon, 19 Aug 2024 07:13:02 +0000 Original-Received: (at 6372) by debbugs.gnu.org; 19 Aug 2024 07:12:38 +0000 Original-Received: from localhost ([127.0.0.1]:57544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfwZB-0002HB-TV for submit@debbugs.gnu.org; Mon, 19 Aug 2024 03:12:38 -0400 Original-Received: from mail.imayhem.com ([82.223.54.191]:34071 helo=zealous-pike.82-223-54-191.plesk.page) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfwZ9-0002Gu-0u for 6372@debbugs.gnu.org; Mon, 19 Aug 2024 03:12:36 -0400 Original-Received: from [10.0.12.202] (66.red-2-136-43.staticip.rima-tde.net [2.136.43.66]) by zealous-pike.82-223-54-191.plesk.page (Postfix) with ESMTPSA id 0F5B5800F6; Mon, 19 Aug 2024 07:11:47 +0000 (UTC) Authentication-Results: zealous-pike.82-223-54-191.plesk.page; spf=pass (sender IP is 2.136.43.66) smtp.mailfrom=cpardo@imayhem.com smtp.helo=[10.0.12.202] Received-SPF: pass (zealous-pike.82-223-54-191.plesk.page: connection is authenticated) Content-Language: es-ES In-Reply-To: <871q2l7bc2.fsf@jeremybryant.net> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290375 Archived-At: This is a multi-part message in MIME format. --------------RPebfCm2ZX7Ne3MpPmvqEpxb Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 18/08/2024 23:47, Jeremy Bryant wrote: > >> This seems to happen because TrackPopupMenu returns as >> soon as the WM_LBUTTONDOWN is received. That message is >> correctly purged. The problem comes from the subsequent >> WM_LBUTTONUP message. >> >> This patch is not a clean solution, but keeps the problem local. >> >> >> >> [2. text/plain; patch.diff]... > To confirm, is the bug report related to 24.0.50, a rather old version? > > Have you checked if this bug is present in a recent version of Emacs? Yes, it is present in current version. --------------RPebfCm2ZX7Ne3MpPmvqEpxb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 18/08/2024 23:47, Jeremy Bryant wrote:

This seems to happen because TrackPopupMenu returns as
soon as the WM_LBUTTONDOWN is received. That message is
correctly purged. The problem comes from the subsequent
WM_LBUTTONUP message.

This patch is not a clean solution, but keeps the problem local.



[2. text/plain; patch.diff]...
To confirm, is the bug report related to 24.0.50, a rather old version?

Have you checked if this bug is present in a recent version of Emacs?

Yes, it is present in current version.

--------------RPebfCm2ZX7Ne3MpPmvqEpxb--