Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Agent App Text input state lost on screen rotation

Aperta
#13 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
64/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
kotlin
Ambito
mobile

Direzione di ricerca

Inizia dalla schermata Agent Demo e individua l’implementazione dell’input di testo e la gestione del relativo stato. Riproduci il problema inserendo del testo e ruotando il dispositivo, quindi traccia ciò che accade durante la modifica della configurazione. Il lavoro è completato quando il testo inserito rimane visibile dopo la rotazione tra orientamento verticale e orizzontale.

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

Descrizione

bug
Is there an existing issue for this?
  • I have searched the existing issues
Is there a StackOverflow question about this issue?
  • I have searched StackOverflow
What happened?

🐛 Bug Report: [Agent app] User Input Cleared on Screen Rotation

Description:

When a user enters text into the text input field and rotates the device from portrait to landscape (or vice-versa), the typed text is completely cleared. The UI state is not persisting across configuration changes.

Steps to Reproduce:
  1. Open the Agent application on tab Agent Demo
    
  2. Type any random text into the input field.
    
  3. Rotate the device to trigger a configuration change.
    
  4. Observe that the input field is now empty.
    
Bug Video below

https://github.com/user-attachments/assets/70e1c632-f693-4330-817a-8e9a4eda2e28

Expected Behavior:

The entered text should survive the rotation and remain visible to the user

Relevant logcat output

Code of Conduct
  • I agree to follow this project's Code of Conduct
Lingua principale
Kotlin
Stelle
201
Fork
39
Merge medio
12h 5m
PR unite (30g)
1

Preparare l'ambiente

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 android/appfunctions

Tutte le issue di android/appfunctions

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.