Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[BUG] マクロ編集画面の「通常テキスト」入力欄で1文字ごとに確定され、カーソルが先頭へ移動する

Open
#956 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
66/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, kotlin
Domain
mobile-dev

Research direction

Start by reproducing the issue in the macro add screen's initial 「組み立て」 tab and compare its 「通常テキスト」 field with the working 「マクロ構文」 field in the 「構文」 tab. Locate the implementations of both input fields, then verify that the normal-text field accepts consecutive input and preserves the intended cursor position on Android 10 and Android 16 or equivalent test environments.

Written by the indexing model from the issue text.

Description

バグの内容

マクロ追加画面の「組み立て」タブにある「通常テキスト」の入力欄で文字を入力すると、1文字入力するたびに文字が確定され、カーソル位置が先頭へ移動します。

そのため、例えば「あかさたな」と入力すると、文字列が意図した順序で入力できず、逆順のような状態になります。また、文字を削除する場合も操作のたびにカーソルが先頭へ移動するため、通常のテキスト入力として使用することが困難です。

一方、「構文」タブの「マクロ構文」入力欄では同じ問題は発生せず、通常どおり複数文字を連続して入力できます。

再現手順

  1. マクロ追加画面を開く。
  2. 初期状態の「組み立て」タブを表示する。
  3. 「通常テキスト」の入力欄をタップする。
  4. 2文字以上の文字列を入力する。
  5. 1文字入力するたびに確定され、カーソルが先頭へ移動することを確認する。
  6. 「構文」タブへ切り替え、「マクロ構文」の入力欄で同様に入力すると、こちらでは正常に入力できる。

期待する動作

「組み立て」タブの「通常テキスト」入力欄でも、一般的なテキスト入力欄と同様に、入力した文字が連続して入力され、カーソルが意図せず先頭へ移動しないこと。

スクリーンショット

無意味、結果しか見えない画面を見るより実際に確認してくれたほうが早い。

スマートフォン環境

  • Device: SHV42 / AQUOS sense10
  • OS: Android 10 / Android 16
  • App Version: 1.7.111 / 1.7.111-lite

追加のコンテキスト

本現象はAQUOS sense10およびAQUOS SHV42の双方で再現しました。また、通常版とLite版の双方で再現しています。

特定端末だけで発生する現象ではなく、複数端末・複数エディションで同じ問題を確認しています。

また、初期表示される「組み立て」タブの「通常テキスト」入力欄で発生するため、マクロ機能を通常どおり使用する際に最初に遭遇する可能性が高い問題です。

Dominant language
Kotlin
Stars
345
Forks
36
Avg merge
10h 10m
Merged PRs (30d)
99

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KazumaProject/JapaneseKeyboard

All issues in KazumaProject/JapaneseKeyboard

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.