Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

@AndreSand is already working on this.

Since Jun 17, 2026.

  • #14 by @AndreSand — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
64/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
kotlin
Domain
mobile

Research direction

Start in the Agent Demo screen and locate the text input implementation and its state handling. Reproduce the issue by entering text and rotating the device, then trace what happens during the configuration change. Done means the entered text remains visible after rotating between portrait and landscape.

Written by the indexing model from the issue text.

Description

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
Dominant language
Kotlin
Stars
210
Forks
45
Avg merge
12h 24m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/appfunctions

All issues in android/appfunctions

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.