Automattic / Automattic/pocket-casts-android

Crash upon selecting carat, when other carat is off-screen in Logs

Open
#3,659 7 comments 1 reaction 1 assignee Claimed by @MiSikora View on GitHub
[Area] Dependencies [Area] Help & Feedback [Priority] Low [Type] Bug
Dominant language
Kotlin
Stars
2.8k
Forks
308
Avg merge
1d 13h
Merged PRs (30d)
143

Description

### Description

On the Logs screen, when trying to select a carat to select more text, while the other carat is off-screen, the app crashes.

I believe this may be because the text does not get rendered off-screen. I noticed that when clicking on Select All, on the text currently on-screen gets selected.

### Step-by-step reproduction instructions

1. Go to Logs screen
2. Select some text
3. Scroll until one carat is off-screen
4. Try to select the other carat
5. Notice the app crashes

### Screenshots or screen recording

https://github.com/user-attachments/assets/73fb9f2b-9501-43cc-8e54-57c7bdf573cb

https://github.com/user-attachments/assets/18245230-3d7c-49dd-a965-3e4ecb3dd70a

### Did you search for existing bug reports?

- [x] I have searched for existing bug reports.

### Device, Operating system, and Pocket Casts app version

Galaxy S23 FE
Android 14, OneUI 6.1
Pocket Casts v7.83-rc-5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.