Opened 7 years ago
Last modified 7 years ago
#13664 reopened bug
[WebPositive] horizontal scrollbar knob not being drawn
Reported by: | diver | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Interface Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
hrev51353 on x86_64.
Change History (7)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Summary: | [WebPositive] verticall scrollbar knob not being drawn → [WebPositive] horizontal scrollbar knob not being drawn |
---|
Oh, right!
comment:3 by , 7 years ago
Component: | Applications/WebPositive → Kits/Interface Kit |
---|---|
Owner: | changed from | to
I checked the code in WebKit for this, and it is doing everything as needed. I replaced the code to draw the knob by a simple FillRect and that worked as expected.
So, I think this is a bug in BControlLook or in BGradient. Possibly one of these doesn't work well when transforms or clipping is used?
comment:4 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 7 years ago
I confirm a problem in BControlLook when transforms are used.
BControlLook uses ConstrainClippingRegion a lot, in particular to draw buttons with rounded corners. However, ConstrainClippingRegion does not play well with transforms, and other methods should be used instead.
I'm going to rewirte the code using ClipToShape, which should make it both simpler and faster, and also fix the problem.
comment:6 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in hrev51369. Solution for this particular problem was simpler than I expected.
comment:7 by , 7 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Just updated to hrev51369 and the issue is still there.
You mean horizontal, right?