Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

🐞 Image Zoom Doesnt Increase Image Size in Editor

未關閉
#2,066 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

@thecoolwinter 已經在處理了。

開始於 2025年7月7日。

  • #2079 來自 @thecoolwinter —— 未關閉

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
macos, swift
領域
desktop

研究方向

首先,在 macOS 上的影像編輯器中使用較小的 512x512 JPG 和 PNG 檔案重現問題,然後追蹤編輯器對縮放和影像邊界的處理。完成的標準是:縮放時完整影像保持可見,同時其邊界擴展,符合 issue 中所描述的預期行為。

由索引模型根據 Issue 內容生成。

描述

bug workspace
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
  1. Open a folder with an image in the workspace
  2. Open an image in the editor section
  3. 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
Image Image

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

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CodeEditApp/CodeEdit 的其他 Issue

查看 CodeEditApp/CodeEdit 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。