termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
37.04k stars 3.89k forks source link

[Bug]: Invisible session number text in toast message #2942

Open sylirre opened 2 years ago

sylirre commented 2 years ago

Problem description

This was reported on Reddit by another person. But now I updated my device to Android 13 and got exactly same issue.

The text is white on white background of the toast message and is totally unreadable. Issue happens only when dark mode is turned on in system settings. When it is off, the text becomes black and readable.

Screenshot_20220817-234159

Steps to reproduce the behavior.

Upgrade to Android 13 and start Termux app.

What is the expected behavior?

The text color should be readable regardless of device color theme.

System information

agnostic-apollo commented 2 years ago

Fixed locally. Will push soon.

landfillbaby commented 2 years ago

just found out this is an upstream bug in aosp https://issuetracker.google.com/issues/245108402

agnostic-apollo commented 2 years ago

Ah, thanks. I figured it would be. Apparently, android's own non-custom text toasts are broken too. Have fixed them with as well with a patch for now. Commented on issue.