<table><tr><td style="">igorkushnir added a comment.
</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/D3040" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>I tried to allow configuring documentation zoom actions shortcuts: <a href="https://phabricator.kde.org/F360125" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F360125: configurable-zoom-shortcuts-attempt.patch</a></p>

<p>However I don't think that this patch is good enough, and I'm not sure if this configuration is necessary.</p>

<p>Patch advantages:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">Zoom shortcuts are configurable.</li>
<li class="remarkup-list-item">One ZoomActions object is created at KDevelop start instead of creating a new object on each documentation provider switch or after returning to documentation home.</li>
</ol>

<p>Patch disadvantages:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">It's unclear that zoom actions in the shortcut configuration window are related to the documentation view because generic zoom action UI names are placed in the KDevelop action group</li>
<li class="remarkup-list-item">Future zoom action shortcut collisions are possible.</li>
<li class="remarkup-list-item">Introduces changes to otherwise untouched documentationview, documentationcontroller.</li>
<li class="remarkup-list-item">More complicated code structure including qobject_cast, which breaks encapsulation.</li>
</ol>

<p>Maybe we don't really need to be able to configure these shortcuts...<br />
For example all other documentation view action don't have configurable shortcuts either.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKDEVPLATFORM KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3040" rel="noreferrer">https://phabricator.kde.org/D3040</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>igorkushnir<br /><strong>Cc: </strong>kdevelop-devel<br /></div>