AOSSIE-Org / AOSSIE-Org/PictoPy

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

Aberta
#1,132 2 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
283
Forks
679
Merge médio
7d 2h
PRs com merge (30d)
3

Descrição

### 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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.