Missing Menus in the ribbon when edit document with qListForm web part:

Missing Menus in the ribbon when edit document with qListForm web part:

Make sure there is native SharePoint web part on the page. It should be hidden but not closed.
If the web part was closed, add it back.