Feedback
Prevent Canvas.ClearRectangle from making the window transparent
- Status
- Fixed
- Fixed in
- v26.8.5
- Source discussion
- https://forum.objo.dev/d/884-canvasclearrectangle-is-clearing-literally-everything
- Last updated
- 2026-08-22
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Calling Graphics.ClearRectangle while painting a Canvas can clear the same region of its host window and reveal other applications behind it, rather than clearing only the Canvas drawing. Clearing must remain confined to the Canvas drawing layer while preserving the documented Canvas backdrop and Picture transparency semantics.