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 99674 - scrollbars look funny if they are supposed to be resized to infinite
scrollbars look funny if they are supposed to be resized to infinite
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Widget: Other
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-11-27 02:37 UTC by Robin Lu
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a test case (786 bytes, text/plain)
2002-11-27 02:39 UTC, Robin Lu
Details

Description Robin Lu 2002-11-27 02:37:40 UTC
When the adjustment of the scrollbar is like:
    Adjustment->lower = 0;
    Adjustment->upper = 0;
    Adjustment->page_size = 0;
    Adjustment->page_increment = 0;
    Adjustment->step_increment = 0;
The bottom of the scrollbar will be cut in half and there's some sort of
obvious rendering problem.
Comment 1 Robin Lu 2002-11-27 02:39:16 UTC
Created attachment 12585 [details]
a test case
Comment 2 Owen Taylor 2002-12-09 20:39:35 UTC
You test case has upper==lower==0 , page_size==1
which is completely nonsensical, since the range
of values for a scorllbar is lower to upper - page_size.
So, you have a scrollbar where the maximum value is
less then minimum value.