There is definitely a better fix for this, we should not need two different bitmaps and masking and stuff, but this will fix the problem for now. Mostly revert the following commits: commit7278030b92Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Mon Sep 15 16:26:25 2025 +0200 remove unused DrawModeFlags commit581c52dad2Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Wed Sep 10 15:08:04 2025 +0200 BitmapAlphaClampFilter is dead since commite7b460f919Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Sat Aug 30 15:23:11 2025 +0200 BitmapEx->Bitmap in canvas Change-Id: Ic5747ce6143a8320f977111c7635bf736a9996d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193873 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins