Skip to content

Conversation

@jonahgraham
Copy link
Contributor

This involves changing the mechanism with which we do custom drawing. Previously we tried to hook into GtkWidget's snapshot, but this required messing around with the vtable of the widget to call our handler instead.

This commit changes to using GtkOverlays + GtkDrawingAreas to allow custom drawing on top of the GtkWidgets.

Fixes #2819

This involves changing the mechanism with which we do custom drawing.
Previously we tried to hook into GtkWidget's snapshot, but this
required messing around with the vtable of the widget to call
our handler instead.

This commit changes to using GtkOverlays + GtkDrawingAreas to
allow custom drawing on top of the GtkWidgets.

Fixes eclipse-platform#2819
@jonahgraham
Copy link
Contributor Author

This is draft because it is only the first step of #2819 (comment) - new commits/pushes as I get the other steps done.

@github-actions
Copy link
Contributor

Test Results

  118 files  ±0    118 suites  ±0   19m 39s ⏱️ + 3m 24s
4 653 tests ±0  4 635 ✅  - 1  18 💤 +1  0 ❌ ±0 
  338 runs  ±0    334 ✅ ±0   4 💤 ±0  0 ❌ ±0 

Results for commit 99d94c0. ± Comparison against base commit a0d6ffc.

This pull request skips 1 test.
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_setUrl_remote_with_post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GTK4] custom Paint is under instead of over control

1 participant