<table><tr><td style="">kossebau created this revision.<br />Restricted Application added a subscriber: kdevelop-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7171" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The widget wrapper added for hiding the implementation choice<br />
between QWebEngine or QWebKit broke the custom context menu setting,<br />
as any calls to set contextMenuPolicy of a StandardDocumentationView<br />
object, like in QtHelpDocumentation::documentationWidget(), no longer<br />
affected the web view itself.</p>

<p>This patch restores that (and ensures the basic custom menu also with<br />
non-QtHelpDocumentation users of StandardDocumentationView, like by<br />
plucings for man-pages or cmake).</p>

<p>The change from exposing copyAction() to createStandardContextMenu()<br />
should allow extending the base menu (e.g. by find-text action)<br />
without menu extending classes like QtHelpDocumentation having<br />
to know about it.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>BRANCH</strong><div><div>restorecustomdocumentationcontextmenu</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7171" rel="noreferrer">https://phabricator.kde.org/D7171</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>documentation/standarddocumentationview.cpp<br />
documentation/standarddocumentationview.h</div></div></div><br /><div><strong>To: </strong>kossebau, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>