path: root/tests/auto/cmake/mockplugins/mockplugins1
diff options
authorViktor Arvidsson <>2022-04-10 02:57:06 +0200
committerViktor Arvidsson <>2022-05-16 15:16:36 +0200
commit13c0fb137d95cffd36a2ffee97cf015702df3748 (patch)
tree866e318ceb6396d88470dec0c5cb1b0b685692c2 /tests/auto/cmake/mockplugins/mockplugins1
parent0613146d210e494bf98e0e4de97e03fc5021736e (diff)
Correctly read and write CF_DIB bmp data
When decoding CF_DIB data through the bmp handler we have to do some assumptions on where the pixel data starts since there's no file header to get the offset value from. We have to do this because theres some optional data after the info header that needs to be skipped over in some cases. These optional color mask values are now also written when putting a CF_DIB into the clipboard for maximum compatibility with other apps on Windows. This fixes the issue where pasted dibs would be offset by 3 pixels on Windows. Fixes: QTBUG-100351 Pick-to: 6.2 6.3 Change-Id: Icafaf82e0aa3476794b671c638455402a0d5206f Reviewed-by: Eirik Aavitsland <>
Diffstat (limited to 'tests/auto/cmake/mockplugins/mockplugins1')
0 files changed, 0 insertions, 0 deletions