#16754 closed bug (duplicate)
WebPositive: glitch with native UI elements
Reported by: | miqlas | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Interface Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | #12890 | Blocking: | |
Platform: | x86-64 |
Description
Some website uses non-skinned ui elements like dropboxes, buttons, checkboxes, etc. WebPositive shows them correctly, but if one scrolls the webpage, the UI elements looses their fill color. Using the scrollbar one can see how the fill-color stays in place.
Attachments (3)
Change History (9)
by , 4 years ago
Attachment: | button_OK.png added |
---|
by , 4 years ago
Attachment: | button_halfway_scrolled.png added |
---|
by , 4 years ago
Attachment: | button_scrolled.png added |
---|
comment:1 by , 4 years ago
comment:2 by , 4 years ago
I thought this had been reported already but can't find it. I had investigated a bit and there is some incorrect interaction between scrolling and clipping. The clipping used in BControlLook does not take the scrolling into account and thinks parts of the drawing are outside the visible region, when clearly they are not.
However I didn't fully understand it or managed to reproduce it outside of webpages
comment:3 by , 4 years ago
It is probably caused by using regions in BControlLook implementation that do not support transforms. Also same problem is present when clipping to rectangle sometimes because it is internally handled as region.
comment:4 by , 4 years ago
However I didn't fully understand it or managed to reproduce it outside of webpages
Just apply affine transforms to BControlLook drawings and bad things will happen. It is not only clipping issues, but also control drawing that depends on pixel hinting will stop working when affine transform is applied.
comment:5 by , 3 years ago
Blocked By: | 12890 added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:6 by , 3 years ago
Component: | Applications/WebPositive → Kits/Interface Kit |
---|
This is hrev54886 x86_64 Haiku, but as far as i remember it was always so.