all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gabriel <gabriel376@hotmail.com>
To: 59620@debbugs.gnu.org
Subject: bug#59620: 29.0.50; Wrong global-mode-string position in tab-bar + emacs -nw
Date: Sat, 26 Nov 2022 18:46:08 -0300	[thread overview]
Message-ID: <SJ0PR06MB8609D38D094D74AE7FDDDA5F8B119@SJ0PR06MB8609.namprd06.prod.outlook.com> (raw)

[-- 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

             reply	other threads:[~2022-11-26 21:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 21:46 Gabriel [this message]
2022-11-27  6:19 ` bug#59620: 29.0.50; Wrong global-mode-string position in tab-bar + emacs -nw 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR06MB8609D38D094D74AE7FDDDA5F8B119@SJ0PR06MB8609.namprd06.prod.outlook.com \
    --to=gabriel376@hotmail.com \
    --cc=59620@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.