Right hand scroll bar causes screen to go black

Bug #698244 reported by Earl Ruby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: firefox

Firefox 3.6.13
Ubuntu 10.10 / Gnome

This problem has actually been plaguing me for a while, through previous versions of Ubuntu and Firefox, but it took me a while to figure out how to reliably reproduce the problem and trace it back to Firefox.

I use two Viewsonic 22" 1680x1050 monitors on my Ubuntu box that are attached using an ATI Technologies RV516 [Radeon X1300/X1550 Series] video card with 2 DVI ports. I use Ubuntu's System > Preferences > Monitors to set the monitors in a side by side (left/right) configuration.

If I maximize Firefox on the right hand screen and pull up a tab with enough content to display a right-hand scroll bar, when I scroll to the bottom of the window the entire right hand screen goes black. If I use the mouse wheel to scroll up the right hand screen comes back to life. Scroll down, screen goes black, scroll up, screen comes back.

I have tried repeating this with other browsers and other programs that have scroll bars. The error only happens with Firefox, and only if Firefox is maximized on the right-hand screen. If Firefox is not maximized or if I have Firefox maximized on the left hand screen I cannot reproduce the problem.

I have tried swapping video cables and swapping monitors to make sure that this is not a hardware problem but the problem always happens on the right hand screen regardless of what hardware I'm using.

It does not happen with every HTML page that scrolls, but it happens often, and when it does happen I can reproduce the problem again and again.

I suspect that there's a math or rounding error somewhere in the scroll bar code that for certain HTML page sizes, when the page size is divided into the available window area, you end up with a rounding error that manifests itself when the scroll bar handle reaches the bottom of the page. At that point Firefox attempts to display the scroll bar handle below the end of the scroll bar, and that causes the window manager to blank the screen. I suspect that the error is ignored by most window managers and if it wasn't for the fact that I'm using a two-screen setup I probably wouldn't see it either.

Could someone familiar with the code that calculates the scrolling of windows check the code and verify that the math is correct for when a scroll bar handle is pulled to the bottom of the screen in all cases?

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: firefox 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
ProcVersionSignature: Ubuntu 2.6.35-24.42-server 2.6.35.8
Uname: Linux 2.6.35-24-server x86_64
Architecture: amd64
Date: Thu Jan 6 10:46:40 2011
FirefoxPackages:
 firefox 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
 firefox-gnome-support 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
 firefox-branding 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
 abroswer N/A
 abrowser-branding N/A
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: firefox

Revision history for this message
Earl Ruby (earlruby.org) wrote :
Revision history for this message
Ramon Grullon (rgrullon) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 17.04 (zesty) reached end-of-life on January 13, 2018.
Ubuntu 16.10 (yakkety) reached end-of-life on July 20, 2017.
Ubuntu 15.10 (wily) reached end-of-life on July 28, 2016.
Ubuntu 15.04 (vivid) reached end-of-life on February 4, 2016.
Ubuntu 14.10 (utopic) reached end-of-life on July 23, 2015.
Ubuntu 13.10 (saucy) reached end-of-life on July 17, 2014.
Ubuntu 13.04 (raring) reached end-of-life on January 27, 2014.
Ubuntu 12.10 (quantal) reached end-of-life on May 16, 2014.
Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.
Ubuntu 11.10 (oneiric) reached end-of-life on May 9, 2013.
Ubuntu 11.04 (natty) reached end-of-life on October 28, 2012.
Ubuntu 10.10 (maverick) reached end-of-life on April 10, 2012.
Ubuntu 10.04 (lucid) reached end-of-life on May 9, 2013.
Ubuntu 9.10 (karmic) reached end-of-life on April 30, 2011.
Ubuntu 9.04 (jaunty) reached end-of-life on October 23, 2010.
Ubuntu 8.10 (intrepid) reached end-of-life on April 30, 2010.
Ubuntu 8.04 (hardy) reached end-of-life on May 12, 2011.
Ubuntu 7.10 (gutsy) reached end-of-life on April 18th, 2009.
Ubuntu 7.04 (feisty) reached end-of-life on October 19, 2008.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in firefox (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.