From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Parlett Newsgroups: gmane.emacs.bugs Subject: bug#17926: Menu and tooltip glitches using GTK toolkit Date: Fri, 04 Jul 2014 12:53:40 +0100 Message-ID: <53B695C4.8090004@zen.co.uk> References: <53B5D5F1.5010109@zen.co.uk> <53B68AD4.10905@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1404474870 15441 80.91.229.3 (4 Jul 2014 11:54:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2014 11:54:30 +0000 (UTC) To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , 17926@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 04 13:54:20 2014 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 1X324J-00075Q-3Z for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jul 2014 13:54:19 +0200 Original-Received: from localhost ([::1]:35759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X324I-0006v1-QJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jul 2014 07:54:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3249-0006tm-6P for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 07:54:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3243-0002u7-0g for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 07:54:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3242-0002u3-U8 for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 07:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X3242-0005y6-F7 for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 07:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Parlett Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jul 2014 11:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17926-submit@debbugs.gnu.org id=B17926.140447483022918 (code B ref 17926); Fri, 04 Jul 2014 11:54:02 +0000 Original-Received: (at 17926) by debbugs.gnu.org; 4 Jul 2014 11:53:50 +0000 Original-Received: from localhost ([127.0.0.1]:42388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X323p-0005xX-Hb for submit@debbugs.gnu.org; Fri, 04 Jul 2014 07:53:49 -0400 Original-Received: from dsl-62-3-105-86.zen.co.uk ([62.3.105.86]:52757 helo=deneb) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X323n-0005xI-0D for 17926@debbugs.gnu.org; Fri, 04 Jul 2014 07:53:48 -0400 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by deneb (Postfix) with ESMTP id CABC07011CC; Fri, 4 Jul 2014 12:53:40 +0100 (BST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <53B68AD4.10905@swipnet.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:91177 Archived-At: On 04/07/14 12:07, Jan Djärv wrote: > 2014-07-04 00:15, Robert Parlett skrev: >> When I click on a menu - say the Options menu, then cursor down to a >> sub-menu >> - say "Line wrapping in this buffer" - then when the pointer reaches the >> sub-item, its menu doesn't open. I then have to move the mouse >> slightly, and >> only then does the menu open. > > I tried this on Ubuntu 14.04, with emacs 24.4 candidate and emacs > trunk. They don't exhibit the problem you describe, sub menus are > opened at once. > > >> Further, tooltips in a menu sometimes don't >> appear correctly at first. They appear clipped and incomplete, but >> a further >> mouse move makes them redraw correctly. > > I can't reproduce this either. In the future, please refrain from > reporting two problems in one bug report, make two separate bug > reports instead. > > Did you starte emacs with -Q? You do not seem to run vanilla Ubuntu, > but rather have another theme/window manager. Please give the details > of that (i.e. desktop environment, theme, window manager). > No I didn't try emacs with -Q. Now that I try that I see that the problem is somewhat masked by the blinking cursor. Normally, I don't have a blinking cursor - I have (blink-cursor-mode 0) in my init file. When starting with -Q, then the cursor blinks, and the redrawing of the blinking cursor obviously also causes the missing menus and half-drawn tooltips to be redrawn. So with -Q, I just see a short - but still perceivable - delay before the menus/tooltips are drawn correctly. If I then enter (blink-cursor-mode 0) in the scratch buffer, then I see the bug as described originally. So please try with (blink-cursor-mode 0) and hopefully you will be able to reproduce the bug. I take your point about filing two separate bugs in one report, but the missing menu and missing tooltip appear (at least so far as I can see) to relate to the same underlying problem, namely a failure to redraw the screen correctly. Regarding the window manager, it is fvwm. However, I have just tried running emacs in Xephyr, without any window manager at all, and the problem still occurs.