<table><tr><td style="">davidre created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />davidre requested review of this revision.
</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/D25144">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently the shortcuts are divided into two lists. "Application Launchers" for<br />
shortcuts added via .desktop files (actually components with names that end in<br />
".desktop") and "Other Shortcuts" for everything else. This not only exposes an<br />
implementation detail but also is not helpful to the average user who doesn't<br />
know what is meant with "Application Launcher" is. It can't be about Applications<br />
since Konversation is found under "Other Shortcuts" but it is also not about<br />
launching since other shortcuts can also be found there (for example see<br />
Spectacle). Furthermore if one adds an shortcut to launch an application in<br />
kmenuedit the shortcut is not found in "Application Launchers" but in<br />
"Other Shortcuts" under KDE Daemon (addressed in <a href="https://phabricator.kde.org/D25086" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D25086</a>).<br />
This patch tries to categorize the components into Applications and Plasma by<br />
trying harder to get a corresponding <tt style="background: #ebebeb; font-size: 13px;">KService</tt> and then deciding upon<br />
<tt style="background: #ebebeb; font-size: 13px;">isApplication</tt> if a Component falls into the applications category. Because<br />
components are free to set their uniquea and friendly names themselves it is<br />
also checked if there is a service with Name. With this it is possible to get a<br />
KService for konversation for example.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>categorize (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25144">https://phabricator.kde.org/D25144</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcms/keys/kglobalshortcutseditor.cpp</div></div></div><br /><div><strong>To: </strong>davidre<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>