<div>Done.</div><div><a href="https://cgit.kde.org/kdevplatform.git/commit/?id=a8f3ba3d6c629489e28eee3603de3034943afeeb">https://cgit.kde.org/kdevplatform.git/commit/?id=a8f3ba3d6c629489e28eee3603de3034943afeeb</a></div><div><a href="https://cgit.kde.org/kdevplatform.git/commit/?id=4a96a875c97f0479d66dec7a951d298f6223c8b7">https://cgit.kde.org/kdevplatform.git/commit/?id=4a96a875c97f0479d66dec7a951d298f6223c8b7</a></div><div> </div><div>@Matthew just update, right-click a project and hold 'Alt' to see the accelerators</div><div> </div><div>05.05.2017, 11:31, "Kevin Funk" <kfunk@kde.org>:</div><blockquote type="cite"><p>On Friday, 5 May 2017 10:55:27 CEST Alexander Zhigalin wrote:</p><blockquote> Hello<br /><br /> 05.05.2017, 10:17, "Kevin Funk" <<a href="mailto:kfunk@kde.org">kfunk@kde.org</a>>:<br /> On Thursday, 4 May 2017 21:40:00 CEST Matthew Woehlke wrote:<br /><br />  In KDevelop 4.x, I got used to being able to right-click a project and<br />  hit 'b' to quickly build that project.<br /><br />  In KDevelop 5.1.0, this doesn't work; in fact, the project context menu<br />  doesn't appear to have *any* accelerators. Did something happen to them,<br />  or have I turned them off somehow?<br /><br /> This was a KMenu (from kdelibs) feature [1] -- which is deprecated nowadays.<br /> During the kdelibs (Qt4) -> KF5 (Qt5) transition we ported all uses of<br /> KMenu to QMenu, which doesn't have this feature.<br /><br /><br /> [1] See:<br />   <a href="https://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKMenu.html#a1c">https://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKMenu.html#a1c</a><br /> 4c4b910df899d814e511e357283bcd<br /><br /> You'd need to port KMenu's accelerator feature to QMenu to fix.<br /><br /> But we can use the Alt key, right?<br /> Now in the project context menu (see screenshot) there are alt-bindings only<br /> for "copy" and "paste" entries...</blockquote><p><br />Hmm, true.<br /><br />And actually just opening that menu and pressing 'c' or 'p' has the desired<br />effect. So it's indeed just related to those other specific actions in that<br />menu. The feature in general works.<br /><br />Seems like those actions just don't have proper accelerators in their titles.<br />I'd say: patches welcome!<br /><br />See:<br />  ProjectManagerViewPlugin::contextMenuExtension( KDevelop::Context* context )<br />    in kdevplatform.git<br /><br />I think the key difference is that under kdelibs, KMenu generated accelerators<br />on the fly for all actions in the menu; while QMenu does not do that => thus<br />we have to add accelerators ourselves.<br /><br />Again, patches or more debugging welcome, for those who'd like to have this<br />feature fixed.<br /><br />Greets,<br />Kevin<br /> </p><blockquote> Cheers,<br /> Kevin<br /><br /><br /> --<br /> Kevin Funk | <a href="mailto:kfunk@kde.org">kfunk@kde.org</a> | <a href="http://kfunk.org/">http://kfunk.org</a><br /><br /><br /> --<br /> Alexander Zhigalin - DevOps<br /> </blockquote><p><br /> </p><span>--<br />Kevin Funk | <a href="mailto:kfunk@kde.org">kfunk@kde.org</a> | <a href="http://kfunk.org/">http://kfunk.org</a></span></blockquote><div> </div><div> </div><div>-- </div><div>Alexander Zhigalin - <span style="color:#0000ff;">DevOps</span></div><div> </div>