Subject: bug#75507: 31.0.50; closed TTY child frame reappears when a new tab is opened

From: Juri Linkov <[email-masked]>
Date: Tue, 14 Jan 2025 09:58:35 +0200

> 1. Launch a new instance of Emacs in the terminal.
> 2. Open a code file within Emacs.
> 3. Use Corfu to complete the code; press ESC to close the completion popup.
> 4. Press C-C t 2 to open a new tab. The previously closed popup
> reappears, displaying only the background without any text.

Thanks for the report.

Daniel, this problem can be fixed by this change in corfu.el:

@@ -338,6 +338,7 @@ corfu--frame-parameters
     (menu-bar-lines . 0)
     (tool-bar-lines . 0)
     (tab-bar-lines . 0)
+    (tab-bar-lines-keep-state . t)
     (no-other-frame . t)
     (unsplittable . t)
     (undecorated . t)