davidhurka added a comment.
Sometimes I think it makes sense to move the context menu to the widget it belongs to. That widget would accept the context menu event, and create a context menu. Basically the same context menu that is currently created by Part. Because PageView will create the context menu then, it should be possible to access Page correctly. Just a thought... REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D18719 To: shubham, aacid, ngraham Cc: davidhurka, okular-devel, fbampaloukas, joaonetto, tfella, ngraham, darcyshen, aacid