~sircmpwn/aerc2#419: 
Crash on configuration

I got that after I typed enter on next on the imap settings wizard.

$ aerc 
panic: Attempted to draw outside of context

goroutine 1 [running]:
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Context).Printf(0xc00037b140, 0x2, 0x1, 0x0, 0xa2df3f, 0x4, 0xc0001a3bf8, 0x1, 0x1, 0x9f0ca0)
	/home/dolanor/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui/context.go:70 +0x315
git.sr.ht/~sircmpwn/aerc/widgets.(*Selecter).Draw(0xc0000b6780, 0xc00037b140)
	/home/dolanor/go/src/git.sr.ht/~sircmpwn/aerc/widgets/selecter.go:48 +0x174
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc0000d46e0, 0xc00037ade0)
	/home/dolanor/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:144 +0x255
git.sr.ht/~sircmpwn/aerc/widgets.(*AccountWizard).Draw(0xc000143d40, 0xc00037ade0)
	/home/dolanor/go/src/git.sr.ht/~sircmpwn/aerc/widgets/account-wizard.go:636 +0x4a
git.sr.ht/~sircmpwn/aerc/lib/ui.(*TabContent).Draw(0xc0001b3810, 0xc00037ade0)
	/home/dolanor/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui/tab.go:393 +0x5f
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc0000d4420, 0xc0001bed80)
	/home/dolanor/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:144 +0x255
git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Draw(0xc0000d44d0, 0xc0001bed80)
	/home/dolanor/go/src/git.sr.ht/~sircmpwn/aerc/widgets/aerc.go:172 +0x3d
git.sr.ht/~sircmpwn/aerc/lib/ui.(*UI).Tick(0xc0000b68c0, 0xc000197100)
	/home/dolanor/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui/ui.go:113 +0xf6
main.main()
	/home/dolanor/go/src/git.sr.ht/~sircmpwn/aerc/aerc.go:194 +0x672

I think it was because I entered a very long password and the connection string got out of the screen.

I did it again, but with a bigger window, without trouble.

Status
RESOLVED DUPLICATE
Submitter
~dolanor
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
No labels applied.

~labrat REPORTED DUPLICATE a month ago

Register here or Log in to comment, or comment via email.