GNU bug report logs - #16209
24.3.50; menubar not updated when exiting from splash screen

Previous Next

Package: emacs;

Reported by: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Date: Sat, 21 Dec 2013 07:38:02 UTC

Severity: minor

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 16209 in the body.
You can then email your comments to 16209 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-gnu-emacs <at> gnu.org:
bug#16209; Package emacs. (Sat, 21 Dec 2013 07:38:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 21 Dec 2013 07:38:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; menubar not updated when exiting from splash screen
Date: Sat, 21 Dec 2013 16:36:52 +0900
Steps to reproduce:

1. $ emacs -q &
2. Type "q" to exit from the splash screen.
   I'd expect that the new menu bar title "Lisp-Interaction" appears
   for the *scratch* buffer.  But the titles in the menubar don't get
   updated.

3. Click the menubar.
   Then the titles get updated suddenly.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp

In GNU Emacs 24.3.50.1 (i386-apple-darwin13.0.0, GTK+ Version 3.10.6)
 of 2013-12-21 on YAMAMOTO-no-iMac.local
Bzr revision: 115657 mituharu <at> math.s.chiba-u.ac.jp-20131221070407-a2ncsc7xl81p18ao
Windowing system distributor `The X.Org Foundation', version 11.0.11404000
Configured using:
 `configure --without-imagemagick LDFLAGS=-L/opt/local/lib
 CPPFLAGS=-I/opt/local/include'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16209; Package emacs. (Fri, 27 Dec 2013 19:14:01 GMT) Full text and rfc822 format available.

Message #8 received at 16209 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16209 <at> debbugs.gnu.org
Subject: Re: bug#16209: 24.3.50;
 menubar not updated when exiting from splash screen
Date: Fri, 27 Dec 2013 21:13:33 +0200
> Date: Sat, 21 Dec 2013 16:36:52 +0900
> From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
> 
> Steps to reproduce:
> 
> 1. $ emacs -q &
> 2. Type "q" to exit from the splash screen.
>    I'd expect that the new menu bar title "Lisp-Interaction" appears
>    for the *scratch* buffer.  But the titles in the menubar don't get
>    updated.

Stefan, this is a side effect of your commit 115377.  It includes this
change in set_window_buffer:

  @@ -3364,7 +3363,7 @@ set_window_buffer (Lisp_Object window, L
       }
     /* Maybe we could move this into the `if' but it's not obviously safe and
	I doubt it's worth the trouble.  */
  -  windows_or_buffers_changed = 28;
  +  wset_redisplay (w);

However, update_menu_bar only recomputes the menu bar under these
conditions:

      if (windows_or_buffers_changed
	  /* This used to test w->update_mode_line, but we believe
	     there is no need to recompute the menu in that case.  */
	  || update_mode_lines
	  || window_buffer_changed (w))
	{

I can easily fix this bug if I add a test for w->redisplay, but isn't
it too drastic to recompute the menu bar each time a window needs to
be redisplayed?

Perhaps we need a new flag, for when the buffer shown by the window is
changed?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16209; Package emacs. (Sun, 30 May 2021 05:24:02 GMT) Full text and rfc822 format available.

Message #11 received at 16209 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 16209 <at> debbugs.gnu.org
Subject: Re: bug#16209: 24.3.50; menubar not updated when exiting from
 splash screen
Date: Sun, 30 May 2021 07:23:35 +0200
YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:

> Steps to reproduce:
>
> 1. $ emacs -q &
> 2. Type "q" to exit from the splash screen.
>    I'd expect that the new menu bar title "Lisp-Interaction" appears
>    for the *scratch* buffer.  But the titles in the menubar don't get
>    updated.

(I'm going through old bug reports.)

As far as I can tell, this problem has been fixed in the years since it
was reported, and I'm therefore closing this bug report.  If you can
still see this problem, please respond to the debbugs address and we'll
reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 16209 <at> debbugs.gnu.org and YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 30 May 2021 05:24:02 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. (Sun, 27 Jun 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 297 days ago.

Previous Next


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