Skip to content

[Upstream #2291][Linux] Wayland 啟動時恢復已保存的視窗尺寸 #90

Description

@SingLinkNetwork

來源:chen08209/FlClash#2291

根因:Linux 原生視窗先以預設尺寸建立;Wayland 下只傳入初始選項不足以可靠套用保存尺寸。

修復:有已保存寬高時,在視窗就緒後主動套用一次;首次啟動不改變預設尺寸。

驗證:新增回歸測試;本機完整 Flutter 測試通過、分析 0 errors。完整跨平台 CI 通過後才可視為已驗證。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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