Subject: Re: bug#64373: 29.0.90; C-x t o while in minibuffer copies the current tab to the next tab

From: Juri Linkov <[email-masked]>
Date: Fri, 30 Jun 2023 21:39:43 +0300

> 1. emacs -Q
> 2. C-x t 2 to create a new tab
> 3. C-x b *Messages* RET
>    Now the first tab should have only *scratch* open,
>    and the second tab should have only *Messages* open,
>    and we're in the second tab.
> 4. M-: (read-from-minibuffer "") RET
> 5. While in minibuffer, C-x t o to switch to the first tab
> 6. RET to exit minibuffer
> 7. The first tab now has *Messages* open.
>
> This also applies to more complicated window configurations: the whole
> window configuration will be copied from the tab that the minibuffer was
> first open in, to the tab that was entered with C-x t o.
>
> This also happens if the minibuffer is exited with C-g.

Not a bug, this is the documented behavior.
You can customize read-minibuffer-restore-windows to nil
if you don't like this.