Skip to content

Conversation

Blinue
Copy link
Owner

@Blinue Blinue commented May 21, 2025

Close #1154

又一个 WinUI 的 bug,删除缩放模式后 ScalingModeItem 不会立刻析构,而且可能会尝试更新绑定导致崩溃。这个 PR 使 ScalingModeItem、ScalingModeEffectItem 和 EffectParametersViewModel 被删除后仍处于合法的状态,不会因为调用其中的方法而崩溃。这个 bug 似乎在 CPU 较弱时更常见。

缩放模式页面过于复杂,以后会重新设计。

@Blinue Blinue added bug Something isn't working area: UI labels May 21, 2025
@Blinue Blinue merged commit 141101c into dev May 21, 2025
4 checks passed
@Blinue Blinue deleted the fix/remove-scaling-mode-crash branch May 21, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: UI bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when delete scaling mode
1 participant