From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Phillip Garland Newsgroups: gmane.emacs.devel Subject: Re: Gtk patch version 3, part 1 Date: Tue, 31 Dec 2002 10:06:25 -0800 (PST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200212311545.gbvfjt0u023298@stubby.bodenonline.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII X-Trace: main.gmane.org 1041358152 22489 80.91.224.249 (31 Dec 2002 18:09:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 31 Dec 2002 18:09:12 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18TQpC-0005qa-00 for ; Tue, 31 Dec 2002 19:09:10 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18TQqS-0004YG-00 for ; Tue, 31 Dec 2002 19:10:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18TQoN-00059Z-06 for emacs-devel@quimby.gnus.org; Tue, 31 Dec 2002 13:08:19 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18TQns-0004aW-00 for emacs-devel@gnu.org; Tue, 31 Dec 2002 13:07:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18TQnI-0003ZQ-00 for emacs-devel@gnu.org; Tue, 31 Dec 2002 13:07:17 -0500 Original-Received: from mxout1.cac.washington.edu ([140.142.32.134]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18TQmc-0002mb-00 for emacs-devel@gnu.org; Tue, 31 Dec 2002 13:06:30 -0500 Original-Received: from mailscan-out2.cac.washington.edu (mailscan-out2.cac.washington.edu [140.142.33.17]) SMTP id gBVI6Scu021504 for ; Tue, 31 Dec 2002 10:06:28 -0800 Original-Received: FROM hymn15.u.washington.edu BY mailscan-out2.cac.washington.edu ; Tue Dec 31 10:06:26 2002 -0800 Original-Received: from localhost (localhost [127.0.0.1])id gBVI6PbU003515; Tue, 31 Dec 2002 10:06:26 -0800 Original-To: "Jan D." In-Reply-To: <200212311545.gbvfjt0u023298@stubby.bodenonline.com> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10388 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10388 Thanks. That seems to fix the problem when I am not running emacs under gdb. I still see this when I am running emacs under gdb with the supplied .gdbinit file.. ~Phillip On Tue, 31 Dec 2002, Jan D. wrote: > > Hello, > > > > I've compiled and ran version 3 of your GTK+ patch on a PPC GNU/Linux system with GTK+ 2.0.9. > > > > There is one behavior that I find annoying and confusing. If I click on a menu, then move the mouse pointer to another menu, sometimes the menu name that I have moved to will become "highlighted", but the menu itself does not pop down. If I move the mouse again, hit a key, or click and hold a mouse button, the menu then does pop down. > > > > Funny I didn't see that, now that you mention it, it is obvious :-) > Anyway, this has to do with the fact that Emacs doesn't see GTK timers > so we have to make some special code to handle GTK timeouts, Xt have the > same problem. > > As a comment to the signal handler discussion, these problems > would go away if Emacs could use a "normal" event loop (i.e. Xt/GTK/whatever) > instead of handling X events in a signal handler. This is paritulary true > for GTK which delays some things untill it gets back to the event loop. > These never result in X events. There is special handling for those cases > also in Emacs/GTK (gdk_window_process_all_updates for example). > > Anyway, I've attached a fixed gtkutil.c. > > Thanks, > > Jan D. > > >