Skip to content

fix: setWindowBlurAreaByWM only work once in qt6 - #232

Merged
18202781743 merged 1 commit into
linuxdeepin:masterfrom
18202781743:fix-blur
Apr 9, 2024
Merged

fix: setWindowBlurAreaByWM only work once in qt6#232
18202781743 merged 1 commit into
linuxdeepin:masterfrom
18202781743:fix-blur

Conversation

@18202781743

Copy link
Copy Markdown
Contributor

*(reinterpret_cast<const QVector<qint32>*>(&area) is not equal
QVector in qt6, it cause QVariant's equal function is
invalid. so we perform type conversion explicitly.

`*(reinterpret_cast<const QVector<qint32>*>(&area)` is not equal
QVector<qint32> in qt6, it cause QVariant's equal function is
invalid. so we perform type conversion explicitly.
deepin-ci-robot added a commit to linuxdeepin/dtk6gui that referenced this pull request Apr 8, 2024
Synchronize source files from linuxdeepin/dtkgui.

Source-pull-request: linuxdeepin/dtkgui#232
@18202781743

Copy link
Copy Markdown
Contributor Author

DQuickBehindWindowBlur 在resize时,只有初始化时的区域有模糊, 新增的区域没有模糊,

@deepin-bot

deepin-bot Bot commented Apr 8, 2024

Copy link
Copy Markdown
Contributor

Doc Check bot
🟢 Document Coverage Check Passed!

@deepin-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743, kegechen, zccrs

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@18202781743
18202781743 merged commit 069289d into linuxdeepin:master Apr 9, 2024
18202781743 pushed a commit to linuxdeepin/dtk6gui that referenced this pull request Apr 9, 2024
Synchronize source files from linuxdeepin/dtkgui.

Source-pull-request: linuxdeepin/dtkgui#232
18202781743 added a commit to 18202781743/qt5platform-plugins that referenced this pull request Apr 10, 2024
incorrect count is assigned in
*(reinterpret_cast<const QVector<qint32>*>(&area), it causes invalid
BlurArea, and causes memory leakage.

It causes in the commit linuxdeepin/dtkgui#232
18202781743 added a commit to 18202781743/qt5platform-plugins that referenced this pull request Apr 11, 2024
incorrect count is assigned in
*(reinterpret_cast<const QVector<qint32>*>(&area), it causes invalid
BlurArea, and causes memory leakage.

It causes in the commit linuxdeepin/dtkgui#232
18202781743 added a commit to linuxdeepin/qt5platform-plugins that referenced this pull request Apr 11, 2024
incorrect count is assigned in
*(reinterpret_cast<const QVector<qint32>*>(&area), it causes invalid
BlurArea, and causes memory leakage.

It causes in the commit linuxdeepin/dtkgui#232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants