Summary: | Help button leads to broken URL | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kguiaddons | Reporter: | Alexander Potashev <aspotashev> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | a.samirh78, hubn3rd, luigi.toscano, nate, sitter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Alexander Potashev
2020-09-19 20:07:00 UTC
Cannot reproduce. That help button opens the English help page with the correct URL (without the extra "/kinfocenter" in it. Same problem when running with "LC_ALL=C kinfocenter", the URL is similar, just the language code is "en". the module's desktop file sets > X-DocPath=kinfocenter/index.html#opengl systemsettings makes that > help:/kinfocenter/index.html#opengl kguiaddons/src/util/urlhandler.cpp makes that > https://docs.kde.org/index.php?branch=stable5&language=en_US&application=kinfocenter&path=/kinfocenter/index.html which gets turned into the duplicated appname on the server. Which of the bits broke? I couldn't say :( What I can say is that we can't change this in kinfocenter because the url actually needs to be help:/khelpcenter/... so it works with khelpcenter. Either there needs to be a hack in kguiaddons, or (IMHO) more reasonably on the server side. Something like - if exists $appname/$path - return - else if exists $path - return - else - 404 Moving to docs product (I'm guessing that's the correct one) I think kguiaddons should generate the correct address. *** This bug has been marked as a duplicate of bug 405649 *** |