Bug 405646

Summary: help buttons broken; depend on khelpcenter
Product: [Applications] kinfocenter Reporter: Harald Sitter <sitter>
Component: generalAssignee: David Hubner <hubn3rd>
Status: RESOLVED DUPLICATE    
Severity: normal CC: luigi.toscano
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Harald Sitter 2019-03-19 14:25:27 UTC
In 2016 we moved khelpcenter from plasma to applications with the expectation that we'll simply let help requests fall back to the docs.kde.org website when khelpcenter is not installed (which ought to be the default expectation I guess since the unreliable state of khelpcenter is why it was dropped from plasma to begin with).

KInfocenter modules help however still 100% depends on khelpcenter

void KInfoCenter::helpClickedSlot()
{
    // Nicked from Ben, could not use KToolInvocation due to docpath.
    QString docPath = m_contain->helpPath();

    QUrl url(QStringLiteral("help:/") + docPath );
    QProcess::startDetached(QStringLiteral("khelpcenter"), QStringList() << url.url());
}
Comment 1 Luigi Toscano 2019-03-19 14:37:32 UTC
> (which ought to be the default expectation I guess since the unreliable state of khelpcenter is why it was dropped from plasma to begin with).

It was more about "we don't need offline documentation", if I rememeber correctly. Anyway, the fix for kinfocenter should be easy enough.
Comment 2 Harald Sitter 2020-04-07 10:53:54 UTC
master's KIC shell has been merged into systemsettings' so the code is now shared

*** This bug has been marked as a duplicate of bug 405647 ***