termux-app icon indicating copy to clipboard operation
termux-app copied to clipboard

[Bug]: Bell/Vibrate no longer works, and blank toasts show when switching tabs.

Open Zorbatron opened this issue 2 years ago • 2 comments

Problem description

Actions producing the bell character no longer cause my device to vibrate. And when opening the app or switching tabs, the toasts at the top of the screen pop up, but they are blank.

Steps to reproduce the behavior.

bell-character = vibrate is uncommented and bell-character = ignore is commented out.

I am unsure how to reproduce this as I have re-installed Termux, which did not fix the issue. On my older phone, both the vibrate and toasts work so it may be a device-specific issue.

What is the expected behavior?

When pressing backspace with nothing on the terminal, the device should vibrate. When pressing TAB and there are multiple auto-completions, it should vibrate. When switching tabs, there should be a toast message showing the name of the tab. When opening the app, there should be a toast with "[1]" indicating you're in the 1st tab.

System information

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: false
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42

Termux:API App Info

APP_NAME: Termux:API
PACKAGE_NAME: com.termux.api
VERSION_NAME: 0.50.1
VERSION_CODE: 51
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: false
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42

Device Info

Software

OS_VERSION: 4.19.239-gf0caf26d8587-ab8714951
SDK_INT: 33
RELEASE: 13
ID: TP1A.220624.014
DISPLAY: TP1A.220624.014
INCREMENTAL: 8819323
SECURITY_PATCH: 2022-08-05
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: Google
BRAND: google
MODEL: Pixel 5a
PRODUCT: barbet
BOARD: barbet
HARDWARE: barbet
DEVICE: barbet
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi

Zorbatron avatar Sep 14 '22 13:09 Zorbatron

Bell characters are working without issues for me. Try restarting the app after configuration change.

And when opening the app or switching tabs, the toasts at the top of the screen pop up, but they are blank.

SDK_INT: 33 RELEASE: 13

Application theme issue, reported there: https://github.com/termux/termux-app/issues/2942. Specific to Android 13.

sylirre avatar Sep 14 '22 15:09 sylirre

Thank you for mentioning #2942.

My other issue with the vibration is not fixed by restarting the app, and switching the bell character to audio does nothing either.

Zorbatron avatar Sep 14 '22 18:09 Zorbatron

I've found the issue for the vibration: I had "touch feedback" turned to 0 in the Vibration and haptics settings.

Zorbatron avatar Sep 29 '22 03:09 Zorbatron

Help

https://wiki.termux.com/wiki/hacking

2096779623 avatar Sep 29 '22 04:09 2096779623