Subject: bug#79291: bug when using frameset register + tab-bar

From: Gabriel do Nascimento Ribeiro <[email-masked]>
Date: Fri, 22 Aug 2025 15:52:59 +0000

Recipe 1: success
01) emacs -Q (commit ab577467e4feb681246a8d28afde729c6040dfc7)
02) 'M-x tab-bar-mode'
03) split some windows with 'C-x 2' and 'C-x 3'
04) save frameset to register with 'C-x r f a'
05) change window layout with 'C-x 1' and 'C-x <left>'
06) restore frameset with 'C-x r j a'
07) frameset is successfully restored
08) change window layout with 'C-x 1' and 'C-x <left>'
09) create some tabs with 'C-x t 2' and 'C-x t 2'
10) restore frameset with 'C-x r j a'
11) frameset is successfully restored

Recipe 2: bug
01) emacs -Q (commit ab577467e4feb681246a8d28afde729c6040dfc7)
02) 'M-x tab-bar-mode'
03) split some windows with 'C-x 2' and 'C-x 3'
04) save frameset to register with 'C-x r f a'
05) change window layout with 'C-x 1' and 'C-x <left>'
06) create some tabs with 'C-x t 2' and 'C-x t 2'
07) restore frameset with 'C-x r j a'
08) BUG: it shows 03 tabs, must should show only 1
09) close other tabs with 'C-x t 1'
10) change window layout with 'C-x 1' and 'C-x <left>'
11) restore frameset with 'C-x r j a'
12) BUG: it shows 03 tabs, must should show only 1

---
Gabriel