fix: empty item_table crashes menu widget
test: add imagewidget_spec
Merge pull request #1366 from houqp/fix_1354

fix: empty item_table crashes menu widget