Closed Bug 199030 Opened 22 years ago Closed 22 years ago

[gtk2] random pixels next to native scrollbars

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 183518

People

(Reporter: clahey, Assigned: blizzard)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030314 Galeon/1.3.3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030314 Galeon/1.3.3 When there's a native widget on the page and the theme specifies that the width of a scrollbar is less than 16 pixels (GtkRange::slider_width + 2 * GtkRange::trough_border), then on redraw, the remaining columns of pixels are left with random data. Reproducible: Always Steps to Reproduce: 1.Load a theme with a scrollbar width less than 16 (crux has 15 pixel scrollbars) 2.Go to a page with a scrollbar (bugzilla component lists are a good example here) 3.Move your mouse over the scrollbar (this does a prelight redraw which causes the bug to appear) Actual Results: random pixels are displayed in the 16th column Expected Results: The scrollbar should only have been 15 pixels wide. This happens in both mozilla & galeon.
dup *** This bug has been marked as a duplicate of 183518 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Attached image Screenshot of random pixels. (deleted) —
The left two scrolled windows demonstrate crux scrollbars after having moved the mouse over them so that they would redraw. The rightmost scrolled window has not had the mouse rolled over it since the entire page was redrawn. Note though, the line of white pixels just inside the frame on the right of the rightmost scrollbar. I believe this pixel should not be here either.
I don't understand how this is a dup. The bug it's marked as a dup of is about how the scrollbar gets repainted and the fact that it has a flicker. This bug is about the fact that the scrollbar area doesn't get sized correctly and therefore there are extra pixels that are painted randomly and never get corrected. I believe that mozilla is just assuming scrollbars are 16 pixels in width. Should I reopen this bug, or could you explain what I'm missing? I've attached a screenshot demonstrating this bug with the Crux theme. This screenshot was taken in mozilla 1.3 with Crux during the entire run of mozilla.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: