Issue #9578: crash accessing tab menu
Closes #9578 (closed)
Description
The g_menu_item_get_attribute function queries action name with its namespace as prefix, which can be other than "win." or "app.". Regarding this specific issue, menu actions in Tool Options have prefix "tool-options.", thus fixed pointer arithmetic became incorrect.
Fix
strchr is now used for correctly stripping off the namespace.