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 477010 - vertical scrollbar always present in yelp
vertical scrollbar always present in yelp
Status: RESOLVED FIXED
Product: yelp-xsl
Classification: Core
Component: DocBook
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
: 511464 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-09-14 19:03 UTC by Pedro Villavicencio
Modified: 2011-06-10 19:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
screenshot illustrating the bug (45.15 KB, image/png)
2009-06-25 18:20 UTC, petrosyan
Details

Description Pedro Villavicencio 2007-09-14 19:03:19 UTC
This bug has been filled here:

https://bugs.launchpad.net/ubuntu/+source/yelp/+bug/139657

"No matter how short the document is and matter how much you stretch yelp's windows vertically, it still always shows a vertical scrollbar.

Also because of that one can never see the footer of the document, which contains information useful for navigation.

attaching a screenshot illustrating the problem."

http://launchpadlibrarian.net/9282854/Screenshot-Printing%2C%20Faxing%20and%20Scanning.png

This is also reproducible with trunk.

Thanks!,
Comment 1 Dylan McCall 2007-09-24 01:32:44 UTC
I noticed that, outside of the home page, every page in Yelp has a scroll bar. Further examination (scrolling said scroll bar) has revealed the culprit: That little footer, which has the buttons to navigate forwards and backwards through the current section.
For some reason, it is always below the bottom of the frame, even when that frame could easily fit it. It should be at the bottom, but within the frame, (its bottom touching the frame's bottom, rather than its top touching the frame's bottom) not necessitating a scroll bar.

Definitely needs a fix, since this hinders the navigability of the help files and causes a rather aesthetically displeasing unexplained scrollbar.
Comment 2 Don Scorgie 2007-09-24 06:34:19 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 471762 ***
Comment 3 Bruce Cowan 2007-10-10 00:13:42 UTC
This can't be a duplicate, as this bug is still present, but bug #471762 is resolved as fixed.
Comment 4 Don Scorgie 2008-01-13 19:57:43 UTC
This is a bug in gnome-doc-utils.  From what I can see, the bug arised at line 88 of db2css.xsl:
  margin: 0px; padding: 12px;
The padding makes the page 24 px bigger than the window, resulting in the scrollbar being present.

Passing it over to g-d-u to look at and confirming as I can reproduce.  Shaun?
Comment 5 Don Scorgie 2008-01-24 19:44:02 UTC
*** Bug 511464 has been marked as a duplicate of this bug. ***
Comment 6 Don Scorgie 2008-01-24 19:58:34 UTC
This can be fixed by changing the min-height of the body from 100% to something more sensible (30px is what I've used, but I suspect removing it entirely is the proper solution).

Shaun, any particular feelings about this?
Comment 7 Shaun McCance 2008-01-24 20:10:15 UTC
I seem to recall that the "min-height: 100%" was to ensure that the footer bar was always at the bottom of the page.
Comment 8 Don Scorgie 2008-01-24 20:56:05 UTC
The footer bar ain't staying at the bottom.  It's tacked on to the bottom of the content, with or without the min-height.
Comment 9 Don Scorgie 2008-02-02 11:53:11 UTC
This issue is also visible in library.gnome.org.  E.g.
http://library.gnome.org/users/gucharmap/stable/

is short enough the scrollbar should go away, but it doesn't.  Also, the footer bar ain't at the bottom of the page, more at the bottom of the content.
Comment 10 Claude Paroz 2008-02-02 13:12:59 UTC
Putting the html height to slightly less than 100% (e.g. 98%) resolves the problem on l.g.o (not tried in yelp).

html {
height:98%;
}
Comment 11 Dylan McCall 2008-02-02 16:36:25 UTC
Mixing percentages and pixel coordinates sounds like a completely arbitrary and horrifying solution to the problem. Good to know it's just the page layout at fault, though.

I concur with the suggestion to get rid of or move that bar. When placed on the bottom, it jumps around between pages. Thus, it is actually not an easy way to flip between the pages in order, because one must keep moving the mouse to where it is!
In addition, having the same titles and links repeated twice (sometimes thrice) within the exact same general area can't possibly be good for usability.

Perhaps the next / previous links would work if placed below the title (in line with the link back to the section header). Another possibility is to put them above the navigation bar on the right, changing their labels from page titles to simply "Next" and "Previous".
Comment 12 Dennis Craven 2009-06-24 23:58:45 UTC
Has this been fixed? This bug is starting to age a bit, and I can't reproduce it anymore with yelp 2.27.1.

Can this be closed?
Comment 13 Claude Paroz 2009-06-25 07:03:13 UTC
It is still reproducible on l.g.o:
http://library.gnome.org/users/gucharmap/stable/
Comment 14 petrosyan 2009-06-25 18:20:03 UTC
Created attachment 137378 [details]
screenshot illustrating the bug

the bug is still present in yelp-2.27.1

Here is a screenshot of yelp-2.27.1 displaying documentation for "Assistive Tools"
Comment 15 Shaun McCance 2011-06-10 19:39:26 UTC
This has been fixed for a while.