From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#3301: 23.0.93; menu bar bug with gtk-qt engine (KDE) Date: Sun, 06 Mar 2016 15:26:42 +0100 Message-ID: <87io0zznq5.fsf@gmx.net> References: <87zlde6nic.fsf@escher.local.home> <87egdo7ffs.fsf@gmail.com> <87vb70mooh.fsf@gmx.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457274446 29696 80.91.229.3 (6 Mar 2016 14:27:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2016 14:27:26 +0000 (UTC) Cc: 3301@debbugs.gnu.org To: Jeff Trull Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 06 15:27:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1acZeM-0004oS-5c for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Mar 2016 15:27:14 +0100 Original-Received: from localhost ([::1]:50723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acZeL-00038p-1I for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Mar 2016 09:27:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acZeG-00037r-I7 for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2016 09:27:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acZeB-00030x-DF for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2016 09:27:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acZeB-00030t-9z for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2016 09:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1acZeA-0000Io-EG for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2016 09:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Mar 2016 14:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3301 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 3301-submit@debbugs.gnu.org id=B3301.14572744141148 (code B ref 3301); Sun, 06 Mar 2016 14:27:02 +0000 Original-Received: (at 3301) by debbugs.gnu.org; 6 Mar 2016 14:26:54 +0000 Original-Received: from localhost ([127.0.0.1]:36231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acZe1-0000IS-Qi for submit@debbugs.gnu.org; Sun, 06 Mar 2016 09:26:54 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:61401) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acZdz-0000IE-Uv for 3301@debbugs.gnu.org; Sun, 06 Mar 2016 09:26:52 -0500 Original-Received: from rosalinde ([89.245.115.105]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MSZ6u-1aShkm0GH6-00RchS; Sun, 06 Mar 2016 15:26:44 +0100 In-Reply-To: <87vb70mooh.fsf@gmx.net> (Stephen Berman's message of "Mon, 11 Jan 2016 10:49:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-Provags-ID: V03:K0:8NHxm+GWLmDL1t1Gu0Z6YbttAUtQRgf5NXPYW9Q71WamejCl7Oi 5jSEnGNQLyQfeW1PD9maFOs7LqE5WCRYWTfKgbvvVP7Q1vrfQy2TPHeam67/VEy/4xZd51z D5wYyOIGNos/SRjAKDCOa+htcR1WDn14bdY/GzjiwpvDMGQuxECdgH9GXZXeWK6KmzwPgUD /V2Pl0XsYjEc+Unf6tVtQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:W/AZ6KfOShA=:CNgI3VUdtOy6cqZChRN/B+ U8JE3Lp0hDJaeRGml7rW8xb5FCcRSptOZzjQFCJtBN29PduqCfKnlz3RxIj0gm7dGMzIlp+oJ GGrTiv0DrSxgd6bXgVvlz1qveS8J6Pd2i3Jkp3GuOMxwfYUQI2uipiabi1YurE7/BJU2iKIH1 vE3oKjsqzluT4YXOuO3Yd3YqAqRFM3eBFKF4LeZi/fijj44Kg0EylyaJPmmkPas/xls50cH6X Rzla6bpZEEMH9JjoDy7RFSaLlcZBuObGeukjdeAyA6URu8V3p1RImOREcQpOiOGYnXYaBiwKa OGV4jHRUswJJevkKz9zpeqrBcLyIHv77uSRehsBxt9bC5CJUQbMEhcq8qLz/KYUpBJJCVVRcA L6K6BE/ofRjIkxuxHlYRpPk3GY60bZS6d5z7/0O1WMnaJ//sDWUY9xgYxiu6HneVDshGoaVzA n5Al1wFSAgfGrWpsX2afasWhB6LtYeQkq1R9HP5o3R7TR8G6KPHMpKqicGJ8zYH3Fwilwwd96 66Fi4SgAIbvyXIcUPfxEI/8oH6YNAz0fcio7bisJHebXTBxp4b+/hMFEB7VIcoqh14lkwcCnU uAFxV2Ivm3jOUyShyhZ78w2+ZyoIOeltcxF53SWYCzlc40OnKvGBkTzwUYF5Knl3S/awXGoPr 1IGGXnHU9s5cL8UxOLTE6yuSS9O748x922trAJvebdX5MrNTW9ry1gmOk2+PAn9HnMqTUtS0S MLLreEehICTrv8/1xbuCNRlm0alwnuyiyYOSDv4Qhv4wut7/KnV7ifXu71RjgqzLN+5xezz7 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: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114494 Archived-At: Jeff, Since (based on your reply to bug#3195) you appear to use KDE, can you reproduce this bug -- in particular, the observation (repeated in the last paragraph below) that clicking with mouse-1 on an empty part of the Emacs menu bar (i.e., a part containing no menu bar item) makes the mouse pointer changes to "move" mode for relocating the frame on the desktop by dragging? If you can and have any idea how to debug it, I'd be very interested to hear. Steve Berman On Mon, 11 Jan 2016 10:49:02 +0100 Stephen Berman wrote: > On Mon, 11 Jan 2016 18:17:43 +1100 Alexis wrote: > >> Sorry it's taken so long to get back to you. Do you still observe this >> behaviour with more recent versions of Emacs? > > Yes, I still see this with current builds of emacs-25 and master (built > with GTK+ 3.14.15) running in KDE 4.14.9 on openSUSE 13.2. However, in > checking the behavior again now, it seems this is normal in KDE: the > same thing happens when I switch focus to any KDE application by > clicking on a menu bar item. Once difference between Emacs and other > KDE applications is that with the latter, moving the mouse pointer over > a menu bar item highlights it, even when the application window is not > in focus, whereas moving the mouse pointer over an Emacs menu bar item > does not highlight it (it gets highlighted only when it's clicked, which > brings it into focus here). Perhaps this is a limitation of the gtk-qt > engine or a theme issue which I didn't notice or didn't obtain at the > time of my OP. Anyway, as far as the behavior of my OP is concerned, I > now think it is not an Emacs bug. > > However, there is a related behavior which appears to be Emacs-specific: > if I click with mouse-1 on an empty part of the Emacs menu bar (i.e., a > part containing no menu bar item), then the mouse pointer changes to > "move" mode for relocating the frame on the desktop by dragging. As > with the menu bar item behavior, no other mouse or keyboard action is > possible until I hit ESC. This happens both when switching focus to the > Emacs frame as well as when it is already in focus. This "move" > functionality of the mouse pointer is bound to the key combination > Alt+mouse1 in my KDE (the default binding), as well as to clicking and > holding down mouse-1 on the application window title bar, but Emacs is > the only application in which clicking on an empty part of the menu bar > also activates it, and I often do that unintentionally when switching > focus, so it's annoying -- all the more so, since the mouse pointer > remains in "move" mode even after releasing the mouse button (whereas > when pressing Alt+mouse1 or clicking on the title bar, "move" mode is > active only while holding down the mouse button). In fact, I encounter > this much more often than the menu bar item behavior, and while I don't > remember if it also happened at the time of my OP, I think I would have > noticed it then, given how frequent and annoying it is. Moreover, > although in my OP I said I couldn't reliably reproduce the behavior, it > is 100% reprodicible with my current Emacs and KDE, in both the menu > item and "move" realizations, though again, only the latter is > Emacs-specific and hence relevant to this bug. > > Steve Berman