"Choose Image" requires multiple clicks and opens the file dialog twice

Aperta
#1,249 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kotlin
Ambito
desktop, frontend

Direzione di ricerca

Start by tracing the IntelliJ plugin’s chat input “Image” action and the file chooser handler, then check how listeners are registered and whether they can be attached more than once. Reproduce on IntelliJ IDEA 2025.3 on macOS using the steps in the issue. Done means the picker opens on the first click and only once per click, with the selected image still attached.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
What happened?

Description:

The image attachment flow is unstable on the latest version (I installed the plugin yesterday, so this is NOT an outdated-version issue).

Reproduction:

  1. In the chat input, click "Image".
  2. Nothing happens for the first few clicks.
  3. Eventually the file picker opens; select an image.
  4. The image is attached successfully.
  5. A SECOND file dialog pops up immediately. Cancelling it does not remove the image, confirming the second dialog is unnecessary.

Expected:

  • The picker should open on the first click.
  • Only one file dialog should appear per "Image" click.

Analysis:
This strongly suggests the file chooser is triggered twice (duplicate event listener / handler), rather than a "first attempt fails" behavior.

Environment:

  • IDE: IntelliJ IDEA 2025.3
  • OS: macOS
  • Plugin version: latest (installed yesterday)
  • Other installed plugins: SonarQube for IDE, Grazie, AI Assistant (possible UI event conflicts)
Relevant log output or stack trace

Steps to reproduce

No response

CodeGPT version

3.0.8-241.1

Operating System

macOS

Lingua principale
Kotlin
Stelle
1.9k
Fork
401
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di carlrobertoh/ProxyAI

Tutte le issue di carlrobertoh/ProxyAI

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.