GNU bug report logs - #77015
31.0.50; Too many menu bar lines corrupt -nw display

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Fri, 14 Mar 2025 17:02:01 UTC

Severity: normal

Found in version 31.0.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rudalics <at> gmx.at, 77015 <at> debbugs.gnu.org
Subject: bug#77015: 31.0.50; Too many menu bar lines corrupt -nw display
Date: Fri, 14 Mar 2025 20:39:55 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Cc: 77015 <at> debbugs.gnu.org
>> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
>> Date: Fri, 14 Mar 2025 19:04:57 +0100
>> 
>> Looking at display_menu_bar in xdisp.c I see that only ever one line of
>> menu-bar is displayed, the rest of the lines are cleared. Which begs the
>> question what this is good for, IMO. Maybe one should just restrict the
>> valid values of menu-bar-lines to 0 and 1.
>
> If the frame is very narrow, we sometimes need more than one menu-bar
> line.  And that is not limited to TTY menu bars (so you will not find
> that in xdisp.c).

So, could we say that frames on ttys actually use a maximum of 1 line?




This bug report was last modified 62 days ago.

Previous Next


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