fix(linux): restore saved window size on startup - #91
Merged
SingLinkNetwork merged 1 commit intoAug 10, 2026
Merged
Conversation
SingLinkNetwork
marked this pull request as ready for review
August 10, 2026 11:33
SingLinkNetwork
merged commit Aug 10, 2026
abcd10c
into
fix/upstream-2215-geo-custom-source
121 of 123 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修復內容
在 Linux 桌面視窗建立完成後,若使用者曾保存寬高,主動將該尺寸套用給視窗管理器。這避免 Wayland 只採用 GTK 原生預設大小而忽略設定。
保持不變
首次啟動沒有保存尺寸時,維持既有預設行為。
驗證
flutter test通過。flutter analyze --no-fatal-infos為 0 errors;只剩 10 個既有主題色彩提示。Tracks #90; source report: chen08209/FlClash#2291.