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 摘要。