Describe the bug
Cancelling the "Start searching!" buffer crashes nyxt.
Recipe to reproduce the issue
Build nyxt from master
Open nyxt
click "Start searching!" on the nyxt:new buffer
cancel/close the prompt (I did it via escape in vi-normal)
Same void system on sway if that's relevant.
Output when started from a shell
Nyxt version 3-1292-g4ed6f26e
The WebExtensions support library is loaded
The WebExtensions support library is loaded
The WebExtensions support library is loaded
The WebExtensions support library is loaded
Unhandled NYXT::NYXT-PROMPT-BUFFER-CANCELED in thread #<SB-THREAD:THREAD "Anonymous thread" RUNNING
{1008DA4503}>:
Condition NYXT::NYXT-PROMPT-BUFFER-CANCELED was signalled.
Backtrace for: #<SB-THREAD:THREAD "Anonymous thread" RUNNING {1008DA4503}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<NYXT::NYXT-PROMPT-BUFFER-CANCELED {100BCC1063}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<NYXT::NYXT-PROMPT-BUFFER-CANCELED {100BCC1063}>)
2: (INVOKE-DEBUGGER #<NYXT::NYXT-PROMPT-BUFFER-CANCELED {100BCC1063}>)
3: (ERROR NYXT::NYXT-PROMPT-BUFFER-CANCELED)
4: ((LAMBDA (#:MESSAGE%-1) :IN NYXT::WAIT-ON-PROMPT-BUFFER) #<unused argument>)
5: ((:METHOD SET-URL NIL) :PREFILL-CURRENT-URL-P NIL) [fast-method]
6: ((LAMBDA (URL BUFFER) :IN "/home/noneofyourbusiness/git/nyxt/source/urls.lisp") "lisp://686/search" #<WEB-BUFFER 615 {1010255FA3}>)
7: ((LAMBDA (NYXT::REQUEST) :IN NYXT::MAKE-CONTEXT) #<CL-WEBKIT2:WEBKIT-URI-SCHEME-REQUEST {1008DA4223}>)
8: ((LAMBDA NIL :IN CL-WEBKIT2::URI-SCHEME-PROCESSED))
9: ((LAMBDA NIL :IN BORDEAUX-THREADS::BINDING-DEFAULT-SPECIALS))
10: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
11: ((FLET "WITHOUT-INTERRUPTS-BODY-10" :IN SB-THREAD::RUN))
12: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
13: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-THREAD::RUN))
14: (SB-THREAD::RUN)
15: ("foreign function: call_into_lisp_")
16: ("foreign function: funcall1")
unhandled condition in --disable-debugger mode, quitting
Describe the bug Cancelling the "Start searching!" buffer crashes nyxt.
Recipe to reproduce the issue Build nyxt from master Open nyxt click "Start searching!" on the nyxt:new buffer cancel/close the prompt (I did it via escape in vi-normal)
Same void system on sway if that's relevant. Output when started from a shell