Skip to content

feat: use requestTextBoundsInfo for delete swipe (Android 14+) - #731

Merged
LeanBitLab merged 1 commit into
LeanBitLab:mainfrom
Zokii0:fix/read-receipts-textboundsinfo-final
Oct 27, 2026
Merged

LeanBitLab merged 1 commit into
LeanBitLab:mainfrom
Zokii0:fix/read-receipts-textboundsinfo-final

Conversation

@Zokii0

@Zokii0 Zokii0 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

It finally works :)

Note app:

Screen_Recording_20261026_071913_NotallyX.mp4

Chatting app:

Screen_Recording_20261026_081158_monocles.chat.mp4

In text editors that don't support this, it falls back to your method:

Screen_Recording_20261026_073255_Brave.mp4

In case you need report file with changes and what is done:

leantype-textboundsinfo-final-report.md

"Removed diagnostics and the setting. This now works automatically on Android 14+ and falls back to the existing estimate (40 chars) otherwise."

"Tested on device (Android 17): works correctly in NotallyX. In Brave/Chromium apps, the editor does not return the required TextBoundsInfo, so it falls back to the existing estimate."

@LeanBitLab

Copy link
Copy Markdown
Owner

ill check

@LeanBitLab
LeanBitLab merged commit 5ee026c into LeanBitLab:main Oct 27, 2026
1 check passed
@Zokii0

Zokii0 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Thank you so much!! Can't wait for next update, with this, your app will be finally completed and perfect in my eyes, i already got some people to get your app 😁

@LeanBitLab

Copy link
Copy Markdown
Owner

Thank you so much!! Can't wait for next update, with this, your app will be finally completed and perfect in my eyes, i already got some people to get your app 😁

https://github.com/LeanBitLab/LeanType/releases#release-beta-430-1

@Zokii0

Zokii0 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

It works really good! There's 1 little "bug" not related to these delete gestures, which i noticed from recently: randomly sometimes when open keyboard, big letters/upercase stays after 1st letter till delete that and start typing again. This happenes sometimes (not rarely tho, maybe when open some app i didn't use for longer), but can't reproduce that bug later on, even if i remove that used app from recent apps etc. I'll try look for solution tomorrow (as now Claude is on cooldown), but maybe you come with some solution in meantime without conflicting with those earlier fixes we did related to big and small letters with fast typing.

Screen_Recording_20261027_195245_Messages.mp4

I don't think opening new issue post is worth for this

Edit: also don't forget to upload gif plugin app on F-Droid and in Orion Store ;)

@LeanBitLab

Copy link
Copy Markdown
Owner

It works really good! There's 1 little "bug" not related to these delete gestures, which i noticed from recently: randomly sometimes when open keyboard, big letters/upercase stays after 1st letter till delete that and start typing again. This happenes sometimes (not rarely tho, maybe when open some app i didn't use for longer), but can't reproduce that bug later on, even if i remove that used app from recent apps etc. I'll try look for solution tomorrow (as now Claude is on cooldown), but maybe you come with some solution in meantime without conflicting with those earlier fixes we did related to big and small letters with fast typing.

Screen_Recording_20261027_195245_Messages.mp4
I don't think opening new issue post is worth for this

Edit: also don't forget to upload gif plugin app on F-Droid and in Orion Store ;)

please report that capital bug on the issues, else i might forget or miss on next release, and it will be easier to manage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants