Description: Reproducible with current master and enable debugging. skia/salbmp.cxx assert on Windows with 150% text size in Display settings / Scale and layout / Change the size of text, apps, and other items. If I set text size to 100%, everything is fine. Steps to Reproduce: 1. In Display settings / Scale and layout / Change the size of text, apps, and other items: set to 150% 2. Start LibreOffice. Actual Results: Assert immediately. Assertion failed: mScanlineSize == int(AlignedWidth4Bytes(mPixelsSize.Width () * mBitCount)), file C:/cygwin/home/hungl/lode/dev/core/vcl/skia/salbmp.c xx, line 117 Expected Results: Everything should be fine. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: cf88e15abf8cc0c7ca7c9edb221c878f8d6b4726 CPU threads: 16; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: zh-TW (zh_TW); UI: en-US Calc: CL
Created attachment 170374 [details] Callstack
ImplImageTree::loadImage() is called with rName = "vcl/res/check2.png" rStyle = "colibre" localized = true ImageLoadFlags = NONE nScalePercentage = -1
*** Bug 140930 has been marked as a duplicate of this bug. ***
Luboš Luňák committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7ba7a1170a46ad340d06822a03f7196ccef29d84 forgotten ComputeScanlineSize() (tdf#140917) It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
My build still crashes. But my build is not a clean build. So I'll wait until there is a Win64 daily build with your fix and test again.
Luboš Luňák committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/7d4644f0631d7b88514d9a92def06a463021f283 forgotten ComputeScanlineSize() (tdf#140917) It will be available in 7.1.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Luboš Luňák committed a patch related to this issue. It has been pushed to "libreoffice-7-1-2": https://git.libreoffice.org/core/commit/febc5c7e7b15e84019e308d695372472a9baedf5 forgotten ComputeScanlineSize() (tdf#140917) It will be available in 7.1.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.