GNU bug report logs - #46557
28.0.50; Visual glitches in text mode when tab-bar visibility is altered at load time

Previous Next

Package: emacs;

Reported by: Bastian Beranek <bastian.beischer <at> gmail.com>

Date: Tue, 16 Feb 2021 11:07:02 UTC

Severity: normal

Found in version 28.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>, Bastian Beranek <bastian.beischer <at> gmail.com>
Cc: 46557 <at> debbugs.gnu.org
Subject: bug#46557: 28.0.50; Visual glitches in text mode when tab-bar visibility is altered at load time
Date: Mon, 10 May 2021 10:24:36 +0200
>> The following recipe creates a broken visual appearance of emacs in text
>> mode, at least on GNU/Linux:
>>
>> 1) Create a test.el file with these lines:
>>
>> (set-frame-parameter nil 'tab-bar-lines 0)
>> (set-frame-parameter nil 'tab-bar-lines 1)
>> (set-frame-parameter nil 'tab-bar-lines 0)
>
> This bug report can't be closed, because it seems
> this problem is related to https://debbugs.gnu.org/46827#153
> where setting tab-bar-lines to 1 changes tab-bar-lines to 2.
> Reproducible test case:
>
> (progn
>    (set-frame-parameter nil 'tab-bar-lines 1)
>    (let ((lines (frame-parameter nil 'tab-bar-lines)))
>      (sit-for 0)
>      (list lines (frame-parameter nil 'tab-bar-lines))))
>
> returns (1 2)

But IIUC the latter holds for a GUI only.  You cannot get two lines on a
TTY unless you wrap the tab bar (if that is possible on a TTY).

martin




This bug report was last modified 3 years and 34 days ago.

Previous Next


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