GitHub Copilot app 1.
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 65/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- electron, macos
- 領域
- desktop
研究方向
報告者指出了儲存的狀態檔案 ~/Library/Application Support/com.github.githubapp/.window-state.json 以及可能的原因:視窗大小以 Retina 像素儲存但以點恢復,重新開啟時翻倍。在 Electron 主程序中找到視窗狀態儲存/恢復程式碼,檢查 width/height 在 macOS 上如何持久化與恢復,並新增一種 device-pixel-ratio-aware 轉換。完成:在 Retina 顯示器上執行 resize-quit-reopen 後視窗與之前大小一致。
由索引模型根據 Issue 內容生成。
描述
GitHub Copilot app 1.1.32 (macOS, iMac Retina 5K + external 2560x1440)
On reopen, the main window opens far wider than the screen.
Saved state (~/Library/Application Support/com.github.githubapp/.window-state.json) shows width 3990 / height 1796, while the main display is 2048 points wide.
Looks like the size is saved in Retina pixels but restored as points, so it doubles.
Steps: resize window, quit, reopen -> window is much larger than before.
| Field | Value |
|---|---|
| App version | 1.1.32 |
| OS | macOS 26.4.1 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 2 |
- 主要語言
- 沒有語言資料
- 星號
- 2.2k
- 分支
- 194
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/app 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 66/100
-
難度 2/5 1-3 小時 新手友好度 68/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
transit-audio/transit#156 ·
-
bug
難度 2/5 1-3 小時 新手友好度 67/100
Tyrrrz/YoutubeDownloader#912 ·
-
feature request good first issue
難度 2/5 1-3 小時 新手友好度 87/100
TabularisDB/tabularis#1301 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
-
[Bug] Error: thaw@beta: thaw@beta: This cask does not run on macOS versions older than Golden Gate.未關閉macos-27 ops
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆