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: Mon, 11 Jan 2016 10:49:02 +0100 Message-ID: <87vb70mooh.fsf@gmx.net> References: <87zlde6nic.fsf@escher.local.home> <87egdo7ffs.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452505824 22875 80.91.229.3 (11 Jan 2016 09:50:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2016 09:50:24 +0000 (UTC) Cc: 3301@debbugs.gnu.org To: Alexis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 11 10:50:13 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 1aIZ75-0001ab-Ro for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jan 2016 10:50:12 +0100 Original-Received: from localhost ([::1]:52935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIZ75-0001sg-9B for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jan 2016 04:50:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIZ71-0001sZ-HC for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2016 04:50:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIZ6w-00085h-Du for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2016 04:50:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIZ6w-00085d-9f for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2016 04:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aIZ6w-00012g-4y for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2016 04:50: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: Mon, 11 Jan 2016 09:50: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.14525057523937 (code B ref 3301); Mon, 11 Jan 2016 09:50:02 +0000 Original-Received: (at 3301) by debbugs.gnu.org; 11 Jan 2016 09:49:12 +0000 Original-Received: from localhost ([127.0.0.1]:45967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aIZ68-00011R-28 for submit@debbugs.gnu.org; Mon, 11 Jan 2016 04:49:12 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:49603) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aIZ66-00011D-9P for 3301@debbugs.gnu.org; Mon, 11 Jan 2016 04:49:10 -0500 Original-Received: from rosalinde ([89.245.124.238]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Leux5-1ZqK1o2EIx-00qhtN; Mon, 11 Jan 2016 10:49:03 +0100 In-Reply-To: <87egdo7ffs.fsf@gmail.com> (Alexis's message of "Mon, 11 Jan 2016 18:17:43 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:ZaA33qKL84f0sa0LFrtiW4Jsg8PbkSVA4rtU2jg1K3l4uMwcYoV WJ7bM5qHAFj8DNP29mHPKrvRdt1ZVGfTMiBpe1jGuACdGstWWlY7EUVJKV6W2iXKpcmvGgS vhG0FOrwbp6RKDKHym4q9P18H2p0591L3DpiQoPka4LVGSAQsDwisEX8cq0wg/osQ/LYTz4 xJdBRgO57HEtQ7Kfh7oTw== X-UI-Out-Filterresults: notjunk:1;V01:K0:rfAzTQpeg1w=:+8qN20dv3CwATBkjJwl1lf 1NfkvG0vK3GduhtcgTrRwfZLfTl3c47le+cMPEK8v8XIpJkTSmJD5jzMsBYylZ+E1ePS7eR4o MOgJZKSzFYJdx2JWcDDA1wiH8OPTor+xidPIYX+R3sprYt76r3ymP2Tl1y7d+cumIvqByCwlS NuMbo2JKibtheBCYB5UuTCXcJ9jFLOMJeXo6DrT+CfYGTFNsd/xPVLqFi1c2eRo2VUXKclw/3 3SGrb/232umBkaXgfLEpeThRLMFX1EQIz7UCXF9m2EzeW2Nw9SRbO/cWUZ1mDkzsdCFaRi2jI beaIinR7JqIrRFymUc+Jd64L1Reqm8l8PHYhemG2OQ30AdHjreFTJlGMJpOW+dBHebWTZLHuU Cv76N+BRhyB84f/Troo/8qk8mK0hFeRx8kShiXoC/2Hduk7ydzivM7X55/qOPW7CpJZKvFjKn ugWBhzWljWLerkzc7axY6/gqTTD3FEhmpoIkyz0fO9vxvk6cu8jhVT5PXsFvDAcuaz9CIgEWk LRehH92+U1nin0kSwnTN5u8Te8v5x3qd6fuvlk3vCiqUh6iDtqsYUjmhnXzIHTgq4nN5B3ASS v53nVgFyclc/EYJM/JOsJ5rF1bC3i3dVOTfIWIVjAHm6mP4eRt9Ml8QtridKFbavTp12StqD9 KbmwvVcGWVwW7YP8+uyaZacbH71CAnIBhxUUKamihBoVoQnJcZp5gaXDD2wep5CD/UjBuxqjn rrF4D2xe/utK77eEGBydt8Q6i0nd08iVKjgdC6VAWsFpHyUt8C8SeRj3HEDWS4guHnJCIN9v 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:111490 Archived-At: 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