sspanak / tt9

A T9 keyboard for Android devices with a hardware keypad.
Apache License 2.0
243 stars 43 forks source link

Telegram/Snapchat Emoji and Stickers buttons are not working #228

Open sspanak opened 1 year ago

sspanak commented 1 year ago

The slide-up menu does not show when using other T9 keyboards too (K9T9 or the built-in F21 Pro Chinese keyboard). However, switching to a touchscreen keyboard (GBoard, OpenBoard), then switching back to TT9 seems to fix the problem.

The problem seems to be caused by the keyboard dimensions. The default TT9 window is very small, but enabling the On-screen Numpad setting, which makes the window larger, allows the Emoji slide-up menu to work properly.

The reasons for all this are unknown. There don't seem to be any related errors or warnings in Logcat either from TT9 or Snapchat.

snapchat-emoji

qascot commented 1 year ago

Set @dimen/candidate_list_height to 0sp and hide screen buttons. You will be surprised. I do not know how it works, but when there is no main view, Telegram stickers are working. May be there is a way to hide main view when Telegram stickers/emoji selected. Or add a hotkey or a setting to hide/show main view manually.

sspanak commented 1 year ago

Telegram stickers are working, it's just the height of the slide up panel equals the keyboard height for some reason. And since the default TT9 interface is not as tall as in a touchscreen keyboard, the stickers simply don't fit. The up arrow button on the right allows expanding the panel, so this is not a huge problem, but it is annoying.

Anyway, this is not a problem with TT9, because it affects all other keyboards that I've tried, too. The question is whether this can be patched in the keyboard code or it has to be fixed in Telegram, Snapchat and any others.

Btw, you are using an old version of the code. @dimen/candidate_list_height does not exist anymore.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 100 days with no activity.