GNU bug report logs - #4122
23.1; GTK menu contents don't change

Previous Next

Package: emacs;

Reported by: Robin Green <greenrd <at> greenrd.org>

Date: Tue, 11 Aug 2009 15:40:05 UTC

Severity: important

Tags: patch

Merged with 4125, 4134, 4843, 4866, 4884, 4916, 5353, 5930

Found in version 23.1

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4122 in the body.
You can then email your comments to 4122 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4122; Package emacs. (Tue, 11 Aug 2009 15:40:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robin Green <greenrd <at> greenrd.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 11 Aug 2009 15:40:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Robin Green <greenrd <at> greenrd.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; GTK menu contents don't change
Date: Tue, 11 Aug 2009 16:31:57 +0100
After opening a file, the contents of the Buffer menu do not change - the menu still begins with *scratch* and *messages*. However, if you actually click with the mouse on the *messages* menu item, you do NOT get sent to the *messages* buffer - you get sent to some other buffer. Likewise, in a new major mode, each menu displays either the old contents of the menu that was in that position in the menubar in the previous major mode, or nothing (an empty menu). Likewise, if you select some text with the mouse, the "Cut" and "Copy" items in the Edit menu do not become enabled, as they should.

All of this evidence suggests that, after the original menubar is created, new menus can be added or removed, but any alterations to menus do not take effect on the display. However, as shown by the example of clicking on the *messages* menu item in the Buffers menu, emacs appears to be reacting AS IF the altered version of the menu was being displayed, even though it isn't.

I am running on Fedora Linux rawhide (i.e. the development version, pre-Fedora-12), with the following gtk2 package:
gtk2-2.17.6-4.fc12.i686


In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.17.6)
 of 2009-08-11 on fedora
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--with-x-toolkit=gtk' '--without-makeinfo' '--with-x''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> C-x C-f <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> m i <tab> <return> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <help-menu> <about-emacs> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading /home/greenrd/opened/haskell-mode/haskell-site-file.el (source)...done
Loading /home/greenrd/.cabal/share/Agda-2.2.4/emacs-mode/agda2.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.




Merged 4122 4125. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 11 Aug 2009 19:35:04 GMT) Full text and rfc822 format available.

Severity set to 'important' from 'normal' Request was from Robin Green <greenrd <at> greenrd.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 29 Aug 2009 12:20:06 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4122; Package emacs. (Sun, 30 Aug 2009 05:55:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robin Green <greenrd <at> greenrd.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 30 Aug 2009 05:55:06 GMT) Full text and rfc822 format available.

Message #14 received at 4122 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Robin Green <greenrd <at> greenrd.org>
To: 4122 <at> debbugs.gnu.org
Subject: Workaround
Date: Sat, 29 Aug 2009 21:07:52 +0100
A workaround to force the menubar to update is: M-x accelerate-menu

However, this has to be done every time you want the menubar to be
updated.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4122; Package emacs. (Mon, 31 Aug 2009 08:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robin Green <greenrd <at> greenrd.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 31 Aug 2009 08:50:04 GMT) Full text and rfc822 format available.

Message #19 received at 4122 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Robin Green <greenrd <at> greenrd.org>
To: 4122 <at> debbugs.gnu.org
Subject: Quick fix
Date: Mon, 31 Aug 2009 01:28:51 +0100
[Message part 1 (text/plain, inline)]
The attached patch against Emacs 23.1.1 fixes this bug for me. The
patch can be used by emacs users and Linux distributors - who might
need to lower the required GTK version. However, the patch would
probably need to be modified before being checked in to emacs CVS,
because it specifies a dependency on a very recent version of GTK - a
more suitable patch for emacs CVS would use the C preprocessor to
perform the old behaviour for old GTK versions, and the new behaviour
for new GTK versions.
[emacs-gtk.patch (text/x-patch, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4122; Package emacs. (Tue, 01 Sep 2009 07:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "era eriksson" <era <at> iki.fi>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 01 Sep 2009 07:15:04 GMT) Full text and rfc822 format available.

Message #24 received at 4122 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "era eriksson" <era <at> iki.fi>
To: 4122 <at> debbugs.gnu.org
Cc: control <at> debbugs.gnu.org
Subject: Link to corresponding Ubuntu bug
Date: Tue, 01 Sep 2009 10:11:25 +0300
tags 4122 +patch
thanks

Just a quick note that https://bugs.launchpad.net/bugs/415101 is the
corresponding Ubuntu bug.  It occurs in the GTK version of Emacs 22 as
well.  The Launchpad bug report has some workarounds and other triage
notes.  Good to see a patch so quickly -- thanks!

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.



Added tag(s) patch. Request was from "era eriksson" <era <at> iki.fi> to control <at> emacsbugs.donarmstrong.com. (Tue, 01 Sep 2009 07:15:06 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4122; Package emacs. (Tue, 01 Sep 2009 10:50:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Jan D." <jan.h.d <at> swipnet.se>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 01 Sep 2009 10:50:06 GMT) Full text and rfc822 format available.

Message #31 received at 4122 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Robin Green <greenrd <at> greenrd.org>,
        "4122 <at> debbugs.gnu.org" <4122 <at> debbugs.gnu.org>
Cc: "4122 <at> debbugs.gnu.org" <4122 <at> debbugs.gnu.org>
Subject: Re: bug#4122: Quick fix
Date: Tue, 1 Sep 2009 12:43:03 +0200
The patch makes Gtk+ 2.17 mandatory for Emacs. This is obviously not  
acceptable. A better patch will be installed soon. Be patient.

      Jan D.

31 aug 2009 kl. 02.28 skrev Robin Green <greenrd <at> greenrd.org>:

> The attached patch against Emacs 23.1.1 fixes this bug for me. The
> patch can be used by emacs users and Linux distributors - who might
> need to lower the required GTK version. However, the patch would
> probably need to be modified before being checked in to emacs CVS,
> because it specifies a dependency on a very recent version of GTK - a
> more suitable patch for emacs CVS would use the C preprocessor to
> perform the old behaviour for old GTK versions, and the new behaviour
> for new GTK versions.
> <emacs-gtk.patch>



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4122; Package emacs. (Tue, 01 Sep 2009 20:55:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "era eriksson" <era <at> iki.fi>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 01 Sep 2009 20:55:05 GMT) Full text and rfc822 format available.

Message #36 received at 4122 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "era eriksson" <era <at> iki.fi>
To: 4122 <at> debbugs.gnu.org
Subject: Link to corresponding Gnome bug
Date: Tue, 01 Sep 2009 23:50:36 +0300
See also http://bugzilla.gnome.org/show_bug.cgi?id=593249 which has some
advice from the GTK+ folks on how to tackle this.

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.



Forcibly Merged 4122 4125 4134. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 01 Sep 2009 21:20:05 GMT) Full text and rfc822 format available.

Merged 4122 4125 4134. Request was from "era eriksson" <era <at> iki.fi> to control <at> emacsbugs.donarmstrong.com. (Wed, 02 Sep 2009 06:25:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4122; Package emacs. (Wed, 02 Sep 2009 17:10:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Djärv <jan.h.d <at> swipnet.se>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 02 Sep 2009 17:10:05 GMT) Full text and rfc822 format available.

Message #45 received at 4122 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: era eriksson <era <at> iki.fi>, 4122 <at> debbugs.gnu.org
Cc: 4122-done <at> debbugs.gnu.org
Subject: Re: bug#4122
Date: Wed, 02 Sep 2009 19:04:46 +0200
Fix checked in.

	Jan D.



Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Wed, 02 Sep 2009 17:10:09 GMT) Full text and rfc822 format available.

Notification sent to Robin Green <greenrd <at> greenrd.org>:
bug acknowledged by developer. (Wed, 02 Sep 2009 17:10:10 GMT) Full text and rfc822 format available.

Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Wed, 02 Sep 2009 17:10:11 GMT) Full text and rfc822 format available.

Notification sent to Robin Green <greenrd <at> greenrd.org>:
bug acknowledged by developer. (Wed, 02 Sep 2009 17:10:11 GMT) Full text and rfc822 format available.

Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Wed, 02 Sep 2009 17:10:12 GMT) Full text and rfc822 format available.

Notification sent to david.ronis <at> mcgill.ca:
bug acknowledged by developer. (Wed, 02 Sep 2009 17:10:12 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 01 Oct 2009 14:24:11 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 04 Nov 2009 17:50:10 GMT) Full text and rfc822 format available.

Forcibly Merged 4122 4125 4134 4866. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 04 Nov 2009 17:50:11 GMT) Full text and rfc822 format available.

Forcibly Merged 4122 4125 4134 4843 4866. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 05 Nov 2009 18:40:04 GMT) Full text and rfc822 format available.

Forcibly Merged 4122 4125 4134 4843 4866 4884. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 09 Nov 2009 08:50:16 GMT) Full text and rfc822 format available.

Forcibly Merged 4122 4125 4134 4843 4866 4884 4916. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 13 Nov 2009 20:55:13 GMT) Full text and rfc822 format available.

Forcibly Merged 4122 4125 4134 4843 4866 4884 4916 5353. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 12 Jan 2010 18:33:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Feb 2010 12:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 12 Apr 2010 00:45:03 GMT) Full text and rfc822 format available.

Forcibly Merged 4122 4125 4134 4843 4866 4884 4916 5353 5930. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 12 Apr 2010 00:45:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 May 2010 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 28 Jun 2010 17:43:02 GMT) Full text and rfc822 format available.

Forcibly Merged 4122 4125 4134 4843 4866 4884 4916 5353 5930 6499. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 28 Jun 2010 17:43:02 GMT) Full text and rfc822 format available.

Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 16 Jul 2010 10:51:02 GMT) Full text and rfc822 format available.

Disconnected #6499 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 16 Jul 2010 16:00:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 14 Aug 2010 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 28 Sep 2010 22:17:02 GMT) Full text and rfc822 format available.

Forcibly Merged 4122 4125 4134 4843 4866 4884 4916 5353 5930 7095. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 28 Sep 2010 22:17:02 GMT) Full text and rfc822 format available.

Forcibly Merged 4122 4125 4134 4843 4866 4884 4916 5353 5930 7095 7162. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 05 Oct 2010 15:52:02 GMT) Full text and rfc822 format available.

Disconnected #7095 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 14 Oct 2010 15:50:03 GMT) Full text and rfc822 format available.

Disconnected #7162 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 14 Oct 2010 15:50:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Nov 2010 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.