Skip to content

fix: app crashed for DBlurEffectWidget in qt6#640

Merged
18202781743 merged 1 commit intolinuxdeepin:masterfrom
18202781743:master
Feb 24, 2025
Merged

fix: app crashed for DBlurEffectWidget in qt6#640
18202781743 merged 1 commit intolinuxdeepin:masterfrom
18202781743:master

Conversation

@18202781743
Copy link
Contributor

it's maybe a feature for qt6, we can't modify backingStore when
readying the widget.

QPainter pa(this);
// pa.end() // it's ok when modifing backingStore.
QImage image(window()->backingStore()->handle()->toImage());
image.detach();

pms:BUG-304317

it's maybe a feature for qt6, we can't modify backingStore when
readying the widget.

``` QWidget::paintEvent(QPaintEvent *event)
QPainter pa(this);
// pa.end() // it's ok when modifing backingStore.
QImage image(window()->backingStore()->handle()->toImage());
image.detach();
```

pms:BUG-304317
deepin-ci-robot added a commit to linuxdeepin/dtk6widget that referenced this pull request Feb 21, 2025
Synchronize source files from linuxdeepin/dtkwidget.

Source-pull-request: linuxdeepin/dtkwidget#640
@18202781743
Copy link
Contributor Author

@mhduiy

@deepin-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743, mhduiy

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 9be9d31 into linuxdeepin:master Feb 24, 2025
19 of 21 checks passed
18202781743 pushed a commit to linuxdeepin/dtk6widget that referenced this pull request Feb 24, 2025
Synchronize source files from linuxdeepin/dtkwidget.

Source-pull-request: linuxdeepin/dtkwidget#640
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.

3 participants