AOSSIE-Org / AOSSIE-Org/PictoPy
Bug: “Open Original File” button does nothing
- Linguagem predominante
- Python
- Estrelas
- 284
- Forks
- 680
- Merge médio
- 7d 5h
- PRs com merge (30d)
- 4
Descrição
### Is there an existing issue for this?
- [x] I have searched the existing issues
### What happened?
## Description
The **Open Original File** button in `MediaInfoPanel.tsx` does not perform any action when clicked.
The current button handler only calls `preventDefault()` and includes a comment stating that the button is disabled. This means users can see the action in the Image Details panel, but cannot use it to find the selected image on their computer.
## Steps to reproduce
1. Open an image in the media viewer.
2. Open the **Image Details** panel.
3. Click **Open Original File**.
4. No folder or file opens.
## Current behavior
The button does nothing.
## Expected behavior
Clicking the button should reveal the currently selected image in its containing folder, matching the behavior of the existing folder icon in the media viewer controls.
## Evidence
I have attached a screen recording showing the issue.
https://github.com/user-attachments/assets/507ab351-9ae7-4cd8-bc56-4ff000270d8e
## Contribution
I would like to work on this issue. If approved, I can submit a pull request to implement the expected behavior.
Could this issue be assigned to me?
### Record
- [x] I agree to follow this project's Code of Conduct
Guia de contribuição
Direção de pesquisa
Start in MediaInfoPanel.tsx and compare the existing folder icon in the media viewer controls. Trace how that control reveals the selected image's containing folder, then verify that Open Original File produces the same behavior from the Image Details panel.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript
- Domínio
- desktop, frontend
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Ativa
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 84/100