[Bug]: autocorrection for "I'm" broken after update

未關閉
#861 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
56/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
android, kotlin
領域
mobile

研究方向

Start by checking the autocorrection and suggestion behavior for the inputs “im” and “um” in LeanType 4.3.4, then compare it with other contractions such as “don't” and “you're.” The issue does not name a source file or test, so first locate the code or tests that handle contraction suggestions. Done when “im” or “um” can suggest or autocorrect to “I'm” again, including in the extended suggestion list.

由索引模型根據 Issue 內容生成。

描述

bug
Preliminary Verification
  • I have searched existing open and closed issues and discussions to verify this bug is not already reported.
  • I have tested or verified this behavior on the latest release or beta version.
  • I have tried clearing app cache or testing with default settings.
  • If the issue is related to an external plugin (e.g. Voice Plugin, OCR, CJK, Handwriting, Offline AI), I have verified that I am using the latest release of that plugin.
Description of the Bug

after one of the latest updates, the word "I'm" no longer works with autocorrect. Previously, when I would type "im" or "in", they would get autocorrected into "I'm", but now this no longer happens - they get autocorrected into other words. "I'm" is missing even in extended suggestion list. I do not remember blocking it, maybe only by accident, since I use it very often. But I have disabled personalized suggestions in order to clear their history (I hope this counts as "cleaning app cache?), and this bug still persists. This started happening around a week ago, so it's one of the previous updates (not the very last one). Other words with an apostrophe like "don't", "haven't", "you're" etc. work correctly, but specifically "I'm" stopped working. I also had a weird autosuggested option "I,m" which I manually deleted.

Steps to Reproduce
  1. Update LeanType
  2. Disable personalized suggestions to clear their history, enable them again
  3. Type "um" or "im"
  4. They do not get autocorrected into "I'm"
Expected Behavior

words like "um" or "im" would get autocorrected into "I'm" like they used to in the past

Logs / Crash Report

No response

Build Flavor

Offline (zero network permissions, privacy focused)

App Version

4.3.4

Plugin Version (if applicable)

No response

Device & Android Version

Pixel 9a, GrapheneOS on Android 17 (latest stable release with security previews enabled)

Target App (if applicable)

No response

Screenshots or Screen Recordings

No response

主要語言
Kotlin
星號
1k
分支
59
平均合併
5 小時 44 分鐘
30 天內合併 PR
59

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

LeanBitLab/LeanType 的其他 Issue

查看 LeanBitLab/LeanType 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。