Opened 9 years ago
Last modified 8 years ago
#12485 assigned bug
[WebPositive] borders are missing at dev.haiku-os.org
Reported by: | diver | Owned by: | jua |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Interface Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
hrev49855 HaikuWebKit 1.5.1
Trac is not rendered properly. Most borders are missing.
Attachments (2)
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
More info on the disappearing popup menus, attached in a screencapture.
- The page renders correctly
- Scroll down
- Move the mouse -> popups disappear
- Scroll some more -> still no popups...
- Scroll back to the very top, release mouse button -> still no popups...
- Move the mouse ->popups appear again!
Only works when the pge is scrolled to the very top...
comment:3 by , 8 years ago
Component: | Applications/WebPositive → Kits/Interface Kit |
---|---|
Owner: | changed from | to
Status: | new → assigned |
This is a bug in BControlLook.
The code for drawing BMenuField uses ConstrainClippingRegion, which does not work in WebKit because it does not follow view transforms. This code should be updated to use the new transform-aware clipping (ClipToRect/ClipToShape/ClipToPicture?).
Reassigning to Jua, but I can have a look if I can remember how these things are supposed to work.
I confirmed that drawing a simpler menu (with just a FillRect using B_PANEL_BACKGROUND_COLOR) works fine, and that the problem is indeed in BControlLook.
Still here around hrev50087:
Note: some of the popup menus were actually drawn correctly, like the "R1/Development" still is, but touching it with the mouse pointer kills it and it looks like the rest.