Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#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)

button_OK.png (917 bytes ) - added by miqlas 4 years ago.
button_halfway_scrolled.png (869 bytes ) - added by miqlas 4 years ago.
button_scrolled.png (705 bytes ) - added by miqlas 4 years ago.

Download all attachments as: .zip

Change History (9)

by miqlas, 4 years ago

Attachment: button_OK.png added

by miqlas, 4 years ago

Attachment: button_halfway_scrolled.png added

by miqlas, 4 years ago

Attachment: button_scrolled.png added

comment:1 by miqlas, 4 years ago

This is hrev54886 x86_64 Haiku, but as far as i remember it was always so.

comment:2 by pulkomandy, 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 X512, 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 X512, 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.

Version 0, edited 4 years ago by X512 (next)

comment:5 by madmax, 3 years ago

Blocked By: 12890 added
Resolution: duplicate
Status: newclosed

comment:6 by madmax, 3 years ago

Component: Applications/WebPositiveKits/Interface Kit
Note: See TracTickets for help on using tickets.