GNU bug report logs -
#71386
29.1; Frame is auto-deleted even when it has multiple tabs
Previous Next
Reported by: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Date: Thu, 6 Jun 2024 00:11:02 UTC
Severity: wishlist
Found in version 29.1
Fixed in version 31.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #247 received at 71386 <at> debbugs.gnu.org (full text, mbox):
>> Martin, could you help to understand why this line fails
>>
>> ;; FIXME: uncomment (should (equal (buffer-name) "*Messages*"))
>>
>> in 'tab-bar-tests-quit-restore-window' in test/lisp/tab-bar-tests.el?
>>
>> It selects an unexpected buffer. Maybe because the frame focus
>> is broken?
>
> IIUC the context is
>
> (quit-window)
> (should (eq (length (window-list)) 1))
> (should (eq (length (frame-list)) 2))
> ;; FIXME: uncomment (should (equal (buffer-name) "*Messages*"))
>
> What is 'quit-window' supposed to do - delete the frame?
'q' is supposed to delete one of two windows and move focus
to the remaining window:
1. C-x 5 5 C-h i
2. C-h e
3. q
should make the selected window with the buffer *Messages*.
And it does when trying the same interactively.
> In either case we would have to know which window gets selected when
> the 'quit-window' call returns and which buffer it shows.
Interactively it selects the *Messages* window, but not in tests.
This is because for tests window-system is nil, so it behaves
weirdly in noninteractive tests.
This bug report was last modified 34 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.