<table><tr><td style="">ahmadsamir updated this revision to Diff 76463.<br />ahmadsamir retitled this revision from "[UrlHandler] optimise the code and less if nesting" to "[UrlHandler] Handle opening the online docs for KCM modules".<br />ahmadsamir edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-fgqmjugmdnh7nrl/">(Show Details)</a><br />ahmadsamir edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-bu3zansgkepdt2y/">(Show Details)</a><br />ahmadsamir 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/D27616">View Revision</a></tr></table><br /><div><div><p>Show message when we can't open help:/ url</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Depends on D27615</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">For KCM modules, clicking the "Help" button when khelpcenter isn't<br />
installed should open the corresponding documentaion for that module<br />
at docs.kde.org; for example with the Fonts KCM, the "&application="<br />
part of the url should be "&application=kcontorl/fonts".<br />
<br />
See D27518 for more details.<br />
<br />
Thanks to ltoscano for fixing docs.kde.org to make "&application=kcontrol/<module name>"<br />
actually resolve to the correct url path.<br />
<br />
Show a message to tell the user when we can't open a help:/ url (i.e.<br />
khelpcenter isn't installed and it isn't a kde app so docs.kde.org<br />
can't be used).</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">make && ctest</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- make && ctest<br />
- building systemsettings after applying D27518, make sure khelpcenter<br />
isn't available on the system, then open the fonts KCM and click "Help"<br />
the relevant page at docs.kde.org should open<br />
- in systemsettings from its menu open the "Systemsettings Handbook", it<br />
should open the relevant page at docs.kde.org</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R273 KGuiAddons</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D27616?vs=76264&id=76463">https://phabricator.kde.org/D27616?vs=76264&id=76463</a></div></div><br /><div><strong>BRANCH</strong><div><div>l-urlhandler-optimi (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27616">https://phabricator.kde.org/D27616</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
src/CMakeLists.txt<br />
src/util/urlhandler.cpp</div></div></div><br /><div><strong>To: </strong>ahmadsamir, Frameworks, apol<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>