AOSSIE-Org / AOSSIE-Org/PictoPy

UI BUG: Image appears zoomed after rotate (90° / 270°)

未关闭
#1,132 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
283
派生
679
平均合并
7 天 2 小时
30 天内合并 PR
3

描述

### Is there an existing issue for this?

- [x] I have searched the existing issues

### What happened?

### What happened?
When a landscape-oriented image is rotated (90°/270°), the displayed image scale changes. It appears zoomed after rotation instead of preserving the same visual scale.

### Steps to reproduce
1. Load PictoPy and open a landscape-oriented image.
2. Use the app's rotate control to rotate the image.
3. Observe the image during and after the rotation animation.

### Current Behavior
- After rotating a landscape-oriented image by 90°/270°, some parts of the image appears **zoomed or cropped**.
- The on-screen height/width of the image changes unexpectedly.
- The rotated image does not remain fully visible inside the image container.

### Expected Behavior
- Rotating the image should **appears with its actual height/width**.
- The rotated image should be **fully contained** within the visible image area (no unexpected zooming or cropping).
- Rotation should only change orientation, not the displayed scale or visible portion of the image.

### Screen Recording
https://github.com/user-attachments/assets/9dd124d5-11cc-447e-84d8-94c592d2c9bd

### Record

- [x] I agree to follow this project's Code of Conduct

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。