After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 104780 - Links in 'Glade FAQ' do not display the proper page
Links in 'Glade FAQ' do not display the proper page
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: XSLT
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Shaun McCance
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-30 05:03 UTC by Satyajit Kanungo
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Satyajit Kanungo 2003-01-30 05:03:28 UTC
Steps to reproduce the problem

1.Open the "Glade FAQ" using yelp.
  (yelp "ghelp://<prefix>/share/gnome/help/glade-2/C/glade-faq.xml"

2. Click on 'Glade FAQ' under 'Table of Contents'.

4. Clicking on any of the links say 'General Information About Glade',
  'Creating a User Interface In Glade' etc does not display the
  appropriate section but causes the previous page to be displayed.
Comment 1 Satyajit Kanungo 2003-01-30 05:07:04 UTC
When the  Link "Glade FAQ" under "Table of Contents" is clicked the
the  "Glade Faq" page is displayed. The url yelp displayed is

"ghelp:/usr/share/gnome/help/glade-2/C/glade-faq.xml?qanda"
 
Now in  the "Glade FAQ" page when I click any of the link
"General Information About Glade" OR "Creating a User Interface In
Glade", the url Yelp gets is
 
"ghelp:/usr/share/gnome/help/glade-2/C/glade-faq.xml?"

Note- There is no section Id here and Yelp loads the page
glade-faq.xml (this is same as the previous page).
 
Going through the glade-faq.xml file I don't find any section Ids
for individual sections. Which is the problem I think.
 
I think the document need to re written (putting proper section Ids)
The other glade documents are fine (for example glade-user-guide.xml)
Comment 2 Satyajit Kanungo 2003-01-31 13:19:00 UTC
Also the links in Glade reference manual don't display proper page.
The section Ids are missing for "C Options" and "Libglade Options".

Steps to reproduce the problem

1.Open the "Glade User Guide" using yelp.
  yelp "ghelp://<prefix>/share/gnome/help/
        glade-2/C/glade-user-guide.xml"

  Glade User Manual will be displayed.

2.Click on 'C options' under 'Project options'. The appropriate page
  for 'C  options' will not be opened.

3.Similarly, the help page for 'Libglade options' under 'Project  
  options will not be opened when the link is clicked.



Comment 3 Damon Chaplin 2003-04-02 17:02:25 UTC
I don't think the DocBook XML is invalid, so it looks more like
a yelp bug. Maybe yelp has trouble with <qandadiv> and <qandaentry> 
tags.

I'll move to yelp to see what they have to say.
Comment 4 Mikael Hallendal 2003-04-02 18:38:25 UTC
Moving to stylesheet component.
Comment 5 Shaun McCance 2003-07-24 06:47:19 UTC
The problems described here don't exist in cvs HEAD, and shouldn't
exist on 2.3.4.  The Glade FAQ still isn't optimal, though. 
Currently, the whole FAQ is rendered on one page, because Yelp doesn't
do anything special with qandadiv.  And the listing of entries at the
top is just useless, because Yelp can't scroll to anchors.
Comment 6 Jorge Castro 2004-02-20 00:35:24 UTC
Mass moving Yelp bugs to new maintainer.
Comment 7 Don Scorgie 2004-11-16 12:57:50 UTC
Hi,

This doesn't appear to happen in newer versions of Yelp.  Additionally, the FAQ
is properly split into different pages.

As this hasn't been commented on for > 1 year, I'm going to close it.

If there are still problems, please reopen this bug.

Thanks
Comment 8 Damon Chaplin 2004-11-16 13:27:51 UTC
I changed the Glade FAQ to avoid the problem, by not using <qandadiv> and
<qandaentry>.

So the bug may still exist in yelp.