🐞 Image Zoom Doesnt Increase Image Size in Editor
評估
研究方向
首先,在 macOS 上的影像編輯器中使用較小的 512x512 JPG 和 PNG 檔案重現問題,然後追蹤編輯器對縮放和影像邊界的處理。完成的標準是:縮放時完整影像保持可見,同時其邊界擴展,符合 issue 中所描述的預期行為。
由索引模型根據 Issue 內容生成。
描述
Description
When zooming in on an image (reproduced with jpg and png files), the image zooms in, but the borders of the image dont move out, causing the outside of the image to be cut off. Behaviour is normal for images of larger sizes (for example dimensions 1024x1024) but breaks for smaller images (largest I tested was dimensions 512x512)
(see screenshots below)
To Reproduce
- Open a folder with an image in the workspace
- Open an image in the editor section
- Attempt to zoom in on the image
Expected Behavior
The borders of the image should expand so that the whole image remains in the editor tab.
Version Information
CodeEdit: 0.3.4-alpha (45)
macOS: Sequoia 15.5
Xcode: 16.4 (16F6)
Additional Context
No response
Screenshots
The first screenshot shows how the image appears normally, and the below shows how zooming in will cut off certain sections
- 主要語言
- Swift
- 星號
- 23.1k
- 分支
- 1.2k
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeEditApp/CodeEdit 的其他 Issue
-
Product icons are missing from the Xcode project可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
CodeEditApp/CodeEdit#2190 ·
-
難度 1/5 1 小時以內 新手友好度 15/100
CodeEditApp/CodeEdit#2195 · 14 個 reaction ·
-
enhancement
難度 4/5 3-5 天 新手友好度 35/100
CodeEditApp/CodeEdit#2185 ·
-
Native GitHub Copilot inline completions可能已有人在做 @anxkhn 於 98 天前認領。 未關閉
難度 5/5 一週以上 新手友好度 25/100
CodeEditApp/CodeEdit#2181 ·
-
bug
難度 4/5 3-5 天 新手友好度 35/100
CodeEditApp/CodeEdit#2180 ·
查看 CodeEditApp/CodeEdit 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 66/100
FuzzyIdeas/Cling#33 ·
-
bug
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
osaurus-ai/osaurus#3026 ·
維護者通常 1 天內回覆
-
new-feature
難度 2/5 1-3 小時 新手友好度 72/100
open-policy-agent/swift-opa#203 ·
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
jamesmontemagno/tiny-clips#421 ·
維護者通常 1 天內回覆