Skip to content

fix(linux): restore saved window size on startup - #91

Merged
SingLinkNetwork merged 1 commit into
fix/upstream-2215-geo-custom-sourcefrom
fix/linux-wayland-window-size
Aug 10, 2026
Merged

fix(linux): restore saved window size on startup#91
SingLinkNetwork merged 1 commit into
fix/upstream-2215-geo-custom-sourcefrom
fix/linux-wayland-window-size

Conversation

@SingLinkNetwork

Copy link
Copy Markdown
Owner

修復內容

在 Linux 桌面視窗建立完成後,若使用者曾保存寬高,主動將該尺寸套用給視窗管理器。這避免 Wayland 只採用 GTK 原生預設大小而忽略設定。

保持不變

首次啟動沒有保存尺寸時,維持既有預設行為。

驗證

  • 新增已保存/未保存尺寸的回歸測試。
  • 本機完整 flutter test 通過。
  • flutter analyze --no-fatal-infos 為 0 errors;只剩 10 個既有主題色彩提示。
  • 完整跨平台 Actions 正在執行。

Tracks #90; source report: chen08209/FlClash#2291.

@SingLinkNetwork
SingLinkNetwork marked this pull request as ready for review August 10, 2026 11:33
@SingLinkNetwork
SingLinkNetwork merged commit abcd10c into fix/upstream-2215-geo-custom-source Aug 10, 2026
121 of 123 checks passed
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.

1 participant