qt6-bb10/src/gui
Viktor Arvidsson 13c0fb137d 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 <eirik.aavitsland@qt.io>
2022-05-16 15:16:36 +02:00
..
accessible Revert "a11y: Do not cache classes that don't have a factory plugin" 2022-05-06 00:00:20 +00:00
animation Remove the qmake project files 2021-01-07 15:32:28 +01:00
doc Doc: Revise Qt GUI module landing page 2022-03-15 17:00:10 +00:00
image Correctly read and write CF_DIB bmp data 2022-05-16 15:16:36 +02:00
itemmodels QtGui: replace remaining uses of QLatin1String with QLatin1StringView 2022-04-28 05:58:52 +02:00
kernel QKeySequence: Fix the one-off error in the mac glyph array size 2022-05-15 19:02:22 +01:00
math3d Update comments in QQuaternion::getEulerAngles 2022-04-27 09:16:29 +02:00
opengl QtGui: replace remaining uses of QLatin1String with QLatin1StringView 2022-04-28 05:58:52 +02:00
painting Add floating point color space conversions 2022-05-14 01:00:05 +02:00
platform Add missing header files to the module sources 2022-05-12 16:34:25 +02:00
rhi rhi: d3d: Fix not resetting the pipeline tracking between passes 2022-05-10 15:51:04 +02:00
text Add QTextDocFragment::to/fromMarkdown() & QTextCursor::insertMarkdown() 2022-05-14 21:32:05 +02:00
util QtGui: includemocs 2022-04-29 07:30:59 +02:00
vulkan Export the QVulkanInstancePrivate class 2022-05-04 20:14:49 +08:00
CMakeLists.txt Use correct condition for the qopengles2ext.h file 2022-05-13 20:06:40 +02:00
QtGui.dynlist
configure.cmake CMake: Don't require system freetype 2022-05-10 17:41:04 +02:00
qt_cmdline.cmake Remove the deprecated -qpa-platform-guard argument 2020-08-23 11:05:14 +02:00
qtgui.tracepoints Fix compilation error when LTTng enabled 2021-03-25 15:37:55 +09:00