Bug 276764

Summary: error opening first sect1 of chapter via navigation tree
Product: [Applications] khelpcenter Reporter: progopis
Component: generalAssignee: Cornelius Schumacher <schumacher>
Status: RESOLVED FIXED    
Severity: minor CC: cubranic, dglent, dhelrod, hubn3rd, kde-doc-english, kde-docbook, lueck
Priority: NOR    
Version: 0.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.2
Sentry Crash Report:

Description progopis 2011-06-29 18:22:39 UTC
Version:           0.8 (using KDE 4.6.2) 
OS:                Linux

Hi KDE team!

I've got an error message

Reproducible: Always

Steps to Reproduce:
Open and install kubuntu with Russian support. Just open "Help" from KDE menu, then click link "help:/khelpcenter/index.html", then open "introduction" page.

Actual Results:  
I've got message exactly like this (without translation back to english): "Невозможно найти файл help-introduction.html в file:///usr/share/doc/kde/HTML/ru//khelpcenter/help-introduction.html."

It means "file not found".

Expected Results:  
I don't use any GUI help systems, only man. But I hope my report will help to others of KDE.

OS: Linux int 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Compiler: cc

I'm sorry for the English translation. My KDE copy has Russian localization and I believe this mistake owned by translators. Anyway contact KDE russian translators or maybe Cannonical developers if you need.
Comment 1 Burkhard Lück 2011-06-30 16:13:02 UTC
Kubuntu 10.10 with 4.6.2:
First start navigation tree items are only expandable up to book level.
To get the items expendable up to sect1 level, I have to click Next + then 
Prev or Contents in the Html page.
Now I can reproducs that bug, if I click a sect1 item in the navigation tree I 
get the error, clicking the same sect1 item in the contents page works.
And now Prev/Next skip the first sect1 of a chapter.

Master + Branch 4.6.90 (4.7 RC1) compiled from sources
Navigation tree items are only expandable up to book level.
So I can't check the bug (and I don't have a branch 4.6.x compiled from 
sources any longer).
Comment 2 Jack 2011-06-30 17:27:41 UTC
I have the same problem with khelpcenter 4.6.3 and 4.6.4.  Clicking on the first sect1 entry for any chapter in the navigation tree shows the error (Could not find filename what-is-kmymoney.html in file:///usr/share/doc/HTML/en//kmymoney/what-is-kmymoney.html.) Other sect1's in the chapter work fine, and clicking on the chapter link in the tree does show the first sect1 content.  In fact, the missing filename appears to be the id= value of that first sect1.
Comment 3 Burkhard Lück 2011-07-19 19:28:22 UTC
(In reply to comment #1)
> 
> Master + Branch 4.6.90 (4.7 RC1) compiled from sources
> Navigation tree items are only expandable up to book level.

This is caused by https://bugs.kde.org/show_bug.cgi?id=246755, which leads to an empty cache dir (see http://lists.kde.org/?l=kde-docbook&m=127369111822097&w=2)
Comment 4 Burkhard Lück 2011-07-19 19:34:22 UTC
*** Bug 275869 has been marked as a duplicate of this bug. ***
Comment 5 Albert Astals Cid 2011-09-27 20:08:47 UTC
Git commit 8b000b91c928cae3cb5169826dc98611ae80f10e by Albert Astals Cid.
Committed on 27/09/2011 at 22:08.
Pushed by aacid into branch 'KDE/4.7'.

Fix first sect link not working

BUGS: 276764
FIXED-IN: 4.7.2
David any reason why you took this out?
CCMAIL: hubnerd@ntlworld.com

M  +2    -2    khelpcenter/toc.cpp

http://commits.kde.org/kde-runtime/8b000b91c928cae3cb5169826dc98611ae80f10e
Comment 6 Albert Astals Cid 2011-09-27 20:13:40 UTC
Git commit bcd53e5e37e5250841fda97ccfd38ca417a66339 by Albert Astals Cid.
Committed on 27/09/2011 at 22:08.
Pushed by aacid into branch 'master'.

Fix first sect link not working

BUGS: 276764
FIXED-IN: 4.7.2
David any reason why you took this out?
CCMAIL: hubnerd@ntlworld.com
(cherry picked from commit 8b000b91c928cae3cb5169826dc98611ae80f10e)

M  +2    -2    khelpcenter/toc.cpp

http://commits.kde.org/kde-runtime/bcd53e5e37e5250841fda97ccfd38ca417a66339
Comment 7 David Hubner 2011-09-29 10:22:42 UTC
Looks like a mistake by myself when I was removing most of the QT3 support code from KHelpCenter. 

Sorry about that.
Comment 8 Burkhard Lück 2011-11-24 19:57:20 UTC
*** Bug 287478 has been marked as a duplicate of this bug. ***