Opened 8 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)

Trac.png (30.4 KB ) - added by humdinger 8 years ago.
buttons, menu borders missing
pop-up-menu.avi (2.1 MB ) - added by humdinger 8 years ago.
dis/reappearing popup menus

Change History (5)

comment:1 by humdinger, 8 years ago

Still here around hrev50087:

buttons, menu borders missing

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.

by humdinger, 8 years ago

Attachment: Trac.png added

buttons, menu borders missing

comment:2 by humdinger, 8 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...

by humdinger, 8 years ago

Attachment: pop-up-menu.avi added

dis/reappearing popup menus

comment:3 by pulkomandy, 8 years ago

Component: Applications/WebPositiveKits/Interface Kit
Owner: changed from pulkomandy to jua
Status: newassigned

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.

Note: See TracTickets for help on using tickets.