GNU bug report logs -
#76408
29.4; read-key always returns only tab-line for click in tab-line
Previous Next
Reported by: Jared Finder <jared <at> finder.org>
Date: Tue, 18 Feb 2025 22:36:02 UTC
Severity: normal
Found in version 29.4
Fixed in versions 30.1.50, 31.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 76408 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Cc: 76408 <at> debbugs.gnu.org
>> From: Juri Linkov <juri <at> linkov.net>
>> Date: Wed, 19 Feb 2025 09:42:06 +0200
>>
>> close 76408 31.0.50
>> thanks
>>
>> > read-key only reports the symbol tab-line for clicks in the tab-line,
>> > instead of the mouse event.
>> >
>> > To reproduce:
>> >
>> > emacs -q -nw
>> > M-x xterm-mouse-mode
>> > Show the tab-line, either global-tab-line-mode or
>> > global-window-tool-bar-mode
>> > Then just eval (read-key)
>> >
>> > Clicks in the mode-line or header-line return the underlying mouse
>> > event, but clicks in tab-line-only return the symbol tab-line.
>> >
>> > I believe the following change to read-key fixes this:
>> >
>> > @@ -3074,7 +3074,7 @@ read-key
>> > - (memq key '(mode-line header-line
>> > + (memq key '(mode-line header-line tab-line
>>
>> Thanks for the fix. Pushed to master (I guess it's too late for release?)
>
> It's okay to backport this to the release branch.
Please wait until after Emacs 30.1 for now. Thanks in advance.
This bug report was last modified 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.