Skip to content

[Bug] Win 10 下调整布局里的分辨率导致闪退。 #1

Description

@KyriosChenn

系统版本: Windows 10 22H2(19045.7417)
软件版本: v1.2.0 Portable 模式

复现步骤:

  1. 打开 布局 选项卡;
  2. 新建或者编辑一个布局;
  3. 点击 参考分辨率,从下拉框选择一个分辨率(我是 1920 * 1080);或者点击宽度,输入 1920(或者任意数值,经测试输入高度不会崩溃,而且有一定概率导致输入宽度不崩溃);
  4. 程序崩溃退出。

崩溃日志(crash.log 中出现的内容,多次测试后只有下面三种报告):

=== 2026-07-15 09:17:33 [XAML UnhandledException] ===
System.Runtime.InteropServices.COMException (0x80070490): 找不到元素。

找不到元素。


=== 2026-07-15 09:18:06 [XAML UnhandledException] ===
Microsoft.UI.Xaml.LayoutCycleException: 无法找到与此错误代码关联的文本。

Layout cycle detected.  Layout could not complete.


=== 2026-07-15 09:30:25 [XAML UnhandledException] ===
System.InvalidCastException: 不支持此接口

不支持此接口

感谢大佬辛苦开发。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions