[docs] [Bug 426748] Help button leads to broken URL

Harald Sitter bugzilla_noreply at kde.org
Tue Sep 29 10:49:22 BST 2020


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

Harald Sitter <sitter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|OpenGL                      |docs.kde.org
            Product|kinfocenter                 |docs
            Version|5.19.90                     |unspecified
                 CC|                            |sitter at kde.org
           Assignee|plasma-bugs at kde.org         |kde-doc-english at kde.org

--- Comment #3 from Harald Sitter <sitter at kde.org> ---
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)

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


More information about the kde-doc-english mailing list