🐞 Image Zoom Doesnt Increase Image Size in Editor
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the issue in the image editor on macOS with small 512x512 JPG and PNG files, then trace the editor's zoom and image-boundary handling. Done means zooming keeps the full image visible while its borders expand, matching the expected behavior described in the issue.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Swift
- Stars
- 23k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeEditApp/CodeEdit
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CodeEditApp/CodeEdit#2190 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
CodeEditApp/CodeEdit#2195 · 7 reactions ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CodeEditApp/CodeEdit#2185 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
CodeEditApp/CodeEdit#2181 ·
-
creashes on starting Openbug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CodeEditApp/CodeEdit#2180 ·
All issues in CodeEditApp/CodeEdit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/google-cloud-swift#1151 ·
-
`--app` focus through the daemon can pick an off-screen window and refuse with `axElementNotFound` Openclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P1
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
code health
Difficulty 1/5 Under an hour Newbie friendliness 72/100
apple/coreai-models#288 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100