all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59620: 29.0.50; Wrong global-mode-string position in tab-bar + emacs -nw
@ 2022-11-26 21:46 Gabriel
  2022-11-27  6:19 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Gabriel @ 2022-11-26 21:46 UTC (permalink / raw)
  To: 59620

[-- Attachment #1: Type: text/plain, Size: 839 bytes --]

Severity: bug

Description:

The global-mode-string is wrongly positioned in tab-bar when using
"emacs -nw" and multiple windows.  The bug only happens with emacs -nw.

Steps:

1) emacs -Q -nw (master "af545234314601ba3dcd8bf32e0d9b46e1917f79")

2) Eval the following to add display-time-mode right-aligned to tab-bar:

(progn
  (display-time-mode 1)
  (setopt tab-bar-format '(tab-bar-format-tabs-groups
                           tab-bar-separator
                           tab-bar-format-align-right
                           tab-bar-format-global))
  (tab-bar-mode 1))

3) Split window right: C-x 3

Result: the global-mode-string will be wrongly positioned.  It expected
to be right-aligned to the current frame, but it's right-aligned to the
left window.  The position is correct while minibuffer has focus.  See
attached images.


[-- Attachment #2: one-window.png --]
[-- Type: image/png, Size: 46605 bytes --]

[-- Attachment #3: bug.png --]
[-- Type: image/png, Size: 57348 bytes --]

[-- Attachment #4: minibuffer-focus.png --]
[-- Type: image/png, Size: 56507 bytes --]

[-- Attachment #5: Type: text/plain, Size: 13 bytes --]


---
Gabriel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-12-02 15:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-26 21:46 bug#59620: 29.0.50; Wrong global-mode-string position in tab-bar + emacs -nw Gabriel
2022-11-27  6:19 ` Eli Zaretskii
2022-11-27  8:05   ` Gabriel
2022-11-28  7:54     ` Juri Linkov
2022-11-28 12:58       ` Eli Zaretskii
2022-11-28 17:29         ` Juri Linkov
2022-11-28 18:34           ` Eli Zaretskii
2022-12-02  7:59             ` Juri Linkov
2022-12-02 15:01               ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.