[kde-doc-english] [khelpcenter] [Bug 340508] New: Mulitple Search paths Plasma 5 with kde4 apps

Scarlett Clark sgclark at kubuntu.org
Thu Oct 30 19:02:59 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=340508

            Bug ID: 340508
           Summary: Mulitple Search paths Plasma 5 with kde4 apps
           Product: khelpcenter
           Version: 5.1.0
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kde-doc-english at kde.org
          Reporter: sgclark at kubuntu.org

Currently we offer Plasma 5 desktop that also contains KDE4 Apps as most apps
have not been ported to KF5 yet and none have a released KF5 port. The problem
is that Plasma 5 Khelpcenter uses QStandardDIrs aka here are the two config
files:

khelpcenter.kcfg in Plasma5
<group name="Search">
<entry type="Path" key="IndexDirectory">
<label>Path to index directory.</label>
<whatsthis>Path to directory containing search indices.</whatsthis>
<default
code="true">QStandardPaths::writableLocation(QStandardPaths::DataLocation) +
QStringLiteral("/khelpcenter/index/")</default>
</entry>

khelpcenter.kcfg in kde4
<group name="Search">
<entry type="Path" key="IndexDirectory">
<label>Path to index directory.</label>
<whatsthis>Path to directory containing search indices.</whatsthis>
<default code="true">KGlobal::dirs()->saveLocation("data",
"khelpcenter/index/")</default>
</entry>

So all of the kde4 apps show Documentation missing because khelpcenter is
looking for doc files in /usr/share/doc/HTML

Whereas KDE4 docs are located in:
/usr/share/doc/kde/HTML

Is there a way to set multiple search paths in khelpcenterrc or any ideas
really.

Reproducible: Always

Steps to Reproduce:
1. Open khelpcenter via Help in any KDE4 app
2. Documentation Not found
3. Must be using Plasma 5

Actual Results:  
Failure to get documentation

Expected Results:  
Read Help documentation!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-doc-english mailing list