[Bug 213573] New: Help Center Integration of the openSUSE Manuals
https://bugzilla.novell.com/show_bug.cgi?id=213573 Summary: Help Center Integration of the openSUSE Manuals Product: openSUSE 10.2 Version: Alpha 5 plus Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Documentation AssignedTo: ke@novell.com ReportedBy: ke@novell.com QAContact: ke@novell.com CC: wstephenson@novell.com Various issues with the Manuals. 1/ opensuse-manual_en and opensuse-gnomeuser_en is missing from a GNOME+KDE installation on a5+. I did not check whether the books are part of the patterns definition in the meantime. 2/ .desktop and .directory files need optimization: a) Use directory icons for the sectioning stuff b) Make sure the tree expands properly c) Some Chapter or Section titles are missing from the navigation pane in khelpcenter Will, mayby you can give some hints what's wrong with the files. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |wstephenson@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 ------- Comment #1 from ke@novell.com 2006-10-19 03:21 MST ------- 2b and c is probably caused by wrong Identifiers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 ------- Comment #2 from ke@novell.com 2006-10-19 10:19 MST ------- Submitted to /work again. I think Identifiers are ok now. I do not know how X-DOC-Weight is supposed to work. That's probably the culprit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ke@novell.com |wstephenson@novell.com Status|NEEDINFO |NEW Info Provider|wstephenson@novell.com | Priority|P5 - None |P3 - Medium ------- Comment #3 from ke@novell.com 2006-10-24 01:38 MST ------- Maybe, I'd better assign the bug to you, Will. If something is unclear, please ask. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 ------- Comment #4 from ke@novell.com 2006-10-24 01:57 MST ------- I'd also appreciate a pointer to the khelpcenter devel documentation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #5 from wstephenson@novell.com 2006-10-27 06:33 MST ------- http://websvn.kde.org/branches/KDE/3.5/kdebase/khelpcenter/DESIGN?rev=438982&view=log http://websvn.kde.org/branches/KDE/3.5/kdebase/khelpcenter/README.metadata?rev=438982&view=markup are the most useful bits i can find. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |coolo@novell.com ------- Comment #6 from ke@novell.com 2006-11-07 01:25 MST ------- Reading the README I still do not understand why our desktop/directory files fail. Coolo, can you take a look at the files coming with opensuse-manual_en? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|coolo@novell.com |cschum@novell.com ------- Comment #7 from coolo@novell.com 2006-11-07 01:43 MST ------- Nope, but perhaps Cornelius can -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 ------- Comment #8 from wstephenson@novell.com 2006-11-07 03:44 MST ------- I'm still trying to figure it out from the code, too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 cschum@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cschum@novell.com Status|NEEDINFO |ASSIGNED Info Provider|cschum@novell.com | ------- Comment #9 from cschum@novell.com 2006-11-07 08:25 MST ------- I guess the problem is that many files contain dots in their names. KHelpcenter interpretes part of the file names as language information and so doesn't show them. I would advice to not use dots in the names other than to separate the desktop suffix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |ke@novell.com ------- Comment #10 from wstephenson@novell.com 2006-11-07 16:42 MST ------- Thanks for that, Cornelius. Restating that as much for my own benefit: So what happens is, KHC Application creates MainWindow, Mainwindow begets Navigator, and Navigator parents DocMetaInfo, which is a representation of the meta-info hierarchy we install in /usr/share/susehelp/meta. DocMetaInfo, in scanMetaInfoDir, eventually calls the method below. Since the convention used by khelpcenter is that the metainfo desktop files have the form <name>.<language>.desktop, for example cha.notebook.desktop results in checking to see if 'notebook' is one of the user's languages, if not, it ignores the .desktop file. I tried a naive filename fix of the form for i in `find /usr/share/susehelp/meta/opensuse-manual_en/ -name \*.desktop`; do dir=`dirname $i`; filename=`basename $i .desktop`; filename=`echo $filename | tr '.' '_'`; newfile="$dir/$filename.desktop"; if [ $i = $newfile ]; then continue; fi; mv $i $newfile; echo; done but the entries still didn't appear so i guess the file contents and the dirs they reference need renaming too, reason unknown though yet. Karl, is it possible to fix the build of the manual so that the path names are less dotty? I would like to catch up with you to get a better understanding of your side of the process. .. DocEntry *DocMetaInfo::addDocEntry( const QString &fileName ) { QFileInfo fi( fileName ); if ( !fi.exists() ) return 0; QString extension = fi.extension(); QStringList extensions = QStringList::split( '.', extension ); QString lang; if ( extensions.count() >= 2 ) { lang = extensions[ extensions.count() - 2 ]; } if ( !lang.isEmpty() && mLanguages.find( lang ) == mLanguages.end() ) { return 0; } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|ke@novell.com | ------- Comment #11 from ke@novell.com 2006-11-08 01:59 MST ------- We build the .desktop files with XSLT and it is possible to avoid the dots during this process. For the moment, I'm going to add something along your shell script to my spec file installation routine: #!/bin/bash echo=true for f in $(find . -type f -name '*desktop'); do d=${f%/*}; $echo $d n=${f##*/};n=${n/.desktop}; n=${n//\./_}; n=${n}.desktop; $echo $n mv -v $f $d/$n done ren_dir () { for d in $(find . -maxdepth $1 -mindepth $1 -type d); do n=${d#*/}; n=${n//\./_} mv -v $d $n done } ren_dir 1 ren_dir 2 exit 0 =================================================================== Then all the chapters are pretty visible (tested on SL 10.1). For me the problem is solved. Close the report if you do not to intend to change khelpcenter. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213573 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #12 from wstephenson@novell.com 2006-11-08 04:28 MST ------- Gladly -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com