533 questions
1
vote
0
answers
54
views
How can a background/daemon process receive IME (input method) change events for a console application without polling? (TSF / Windows IME)
I’m trying to build a system where a console application (e.g. Neovim running inside Windows Terminal) can call a background program (a daemon).
This daemon should detect IME (input method) changes in ...
0
votes
1
answer
98
views
Win32: How to check if a HKL refers to a specific family of IMEs
The keyboard APIs of Win32 (Windows API family) are known to be confusing, and there are lots of SO answers about how to display approximate information to a human with enough polyglot skills to ...
0
votes
0
answers
41
views
How to implement InputConnection for a custom document editor on Android?
I want to implement a custom text editor widget on Android, and my documents are tree structures like HTML, not plain strings like a text field. From what I can tell so far, I need to implement the ...
3
votes
0
answers
219
views
How to use/make adjustPan behavior with my activities when compile SDK is 36 and edge-to-edge enabled by default
I struggle with a edge-to-edge issue and it seems impossible to me.
I have the feelings Google devs have forgotten something for this update… Maybe this is just a skill issue from my side.
Since ...
3
votes
1
answer
175
views
How to configure the font used to render IME preview text in tkinter text input fields on Windows?
Problem Description
I'm experiencing a problem concerning font configuration in Tkinter. The constructor of all Tkinter widgets have a font keyword argument which allows you to configure the font used ...
0
votes
1
answer
65
views
Scroll the list to the bottom when the keyboard is fully shown in Compose
How to scroll the list to the bottom when keyboard is shown in Compose? Now I have the following solution:
val isImeVisible = WindowInsets.isImeVisible
LaunchedEffect(isImeVisible) {
if (...
0
votes
0
answers
89
views
How to customize the CompositionEvent UI in JavaScript for IME keyboard logic on various browsers?
I just encountered What is JavaScript's CompositionEvent? Please give examples From the little images/videos available on the topic, and given that I only ever really use a English/Latin keyboard ...
0
votes
0
answers
31
views
Android IME With Freely Placed Buttons Not Consuming Interactions
Currently, I'm developing a custom IME for Android. A core concept would be that the buttons of the keyboard "float to the edges" and "allow interaction with the underlying app" ...
1
vote
2
answers
90
views
Language Input Method Editor Software is interfering with my input validation
I have this javascript function for allowing numeric input only
window.addNumericInputValidation = function (elementId) {
var $element = $("#" + elementId);
// First remove any ...
-1
votes
1
answer
67
views
TSF prevent keyboard event when use Microsoft Pinyin
Description
I'm encountering a peculiar issue with my TSF implementation on Windows 11. My custom IME generally works well with multiple input methods when implemented in a separate thread isolated ...
1
vote
0
answers
131
views
Memory leak WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper in InputMethodService onDestroy() Android 14 (34 Api)
I implemented a custom software keyboard using Compose to build the UI part and InputMethodService() for IME function interaction.
It works as expected. However, memory leak ...
0
votes
0
answers
52
views
Android WebView conflicting with imePadding
I've got an Android project using a WebView to display a WebApp. In this app, there are some text input fields. In order to avoid hiding the field while opening the keyboard, the .imePadding() has ...
1
vote
0
answers
100
views
How to enable "Input methods" in text view gtk 4.0
I have a special input method installed on my Linux laptop, Chewing from Fcitx 5 for Chinese traditional. But when I type something inside the GtkTextView, only English alphabets appears.
I found ...
1
vote
0
answers
340
views
Switching to Japanese keyboard from another language results to an annoying pop up in Windows 11
Every time I switch to Japanese keyboard, pop up appears saying:
'Some of the functions of Mircosoft IME are currently restricted. The
current active application is running in protection mode. Some
...
4
votes
0
answers
76
views
Getting committed text from Windows IME requires Enter press in JavaFX
I want to provide possibility to enter Chinese characters in JavaFX in Windows. This is my test code for TextArea:
public class Foo extends Application {
public static void main(String[] args) {
...
5
votes
1
answer
694
views
Jetpack Compose layout jumps when IME opens
So I have this BottomSheetScaffold layout with a CenterAlignedTopAppBar and a bottom sheet with some text fields.
Below are modifier that I presume might be useful:
// root composable, NavHost ...
2
votes
2
answers
269
views
How to prevent soft keyboard from pushing custom BottomAppBar up?
I've tried all kinds of insets padding, window insets, consume insets (because I don't even really understand window insets)... nothing is working. I tried to look it up, but everyone has the exact ...
0
votes
1
answer
171
views
IME Text box failing in Windows 11 (MSVC on Win32)
In an older Win32 non-unicode app, I've got a text editor that handles IME in the following messages -
WM_IME_COMPOSITION:
...
if (lParam & GCS_RESULTSTR) // flag to say the IME character has ...
0
votes
0
answers
57
views
How to Keep IME Open When Using Buttons for Input in a Custom Japanese Virtual Keyboard in WPF?
I'm developing a .NET WPF application, and my client requires a custom Japanese input keyboard.
The input method is not through a physical keyboard but via UI buttons that input each character.
Here ...
1
vote
1
answer
210
views
Imgui text box rendered inside QtVulkanWindowRenderer cannot use Windows IME
I made a Qt desktop app that has a QVulkanWindowRenderer and made a text box appear inside the Vulkan renderer window using Imgui. I can type into it as expected in English but when I try to switch ...
1
vote
0
answers
44
views
How does the input method(IME) adjust the output encoding according to the current character encoding used by editors?
I created 2 empty files in VS Code, one with UTF-8 encoding(file.utf8.txt) and the other with GB 2312 encoding(file.gb2312.txt).
If we use the od command to view the contents of these 2 empty files, ...
2
votes
0
answers
213
views
Bringing TextFields into View in Jetpack Compose
I'm having trouble understanding how imePadding() and BringIntoViewRequester() work.
I have made a signup view and I believe I have applied imePadding correctly to the text field modifiers.
But for ...
-1
votes
2
answers
217
views
How can I prevent user typing certain letters?
function NumberKey(event) {
let charCode = event.which || event.keyCode;
console.log(event.keyCode)
if ((charCode >= 48 && charCode <= 57) || // Number (0-9)
(...
0
votes
1
answer
263
views
Overriding AOSP keyboard
Error:
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.inputmethod.latin.CarIME" on path: DexPathList[[zip file "/data/app/~~6CnZ_EwlgHaoEjQXjHx4lA==/com....
4
votes
1
answer
848
views
Ime callback not found. Ignoring unregisterReceivedCallback
I am a noob in mobile app development.
Scenario
Within Dialog, within Column, I have a text field and a Button.
(Button belongs to material3. For the text field, I have tried various ones available ...
1
vote
2
answers
729
views
How to get current IME input mode
The korean layout has alphabet mode and hangul mode.
I only need hangul mode in the korean layout. To suppress alphabet mode I wrote this code but I could not find the way to get current IME mode. ...
1
vote
0
answers
24
views
Can I automatically switch user input method from fullwidth katakana to halfwidth hiragana when I focus in an input using javascript or PHP?
(1) I have a form of html inputs, some of which are allowed to type in halfwidth hiragana, the others are allowed to type in fullwidth katakana.
(2) Now, I need a way to automatically switch user ...
1
vote
1
answer
1k
views
How to listen to newLine ime action in TextField in Android? (Using Jetpack Compose)
I have a textField in which I want to listen to the newLine(Enter) and perform action accordingly.
I didn't find any dedicated action button for this specific purpose.
I tried using onKeyEvent but ...
5
votes
0
answers
811
views
Ime action not being updated on TextField switch inside Jetpack Compose
I have multiple TextFields and with the ime action Next the user can jump until the last one which has the ime action Done. What I have noticed is that, even the cursor is inside the last TextField, ...
1
vote
2
answers
415
views
Why the fuzzy pinyin can't take effect in fcitx5-rime input method engine?
Rime is an input method engine for entering Chinese characters, supporting a wide range of input methods.fcitx5-rime is the rime running on fcitx5 input method framework.
I have installed fcitx5-rime ...
1
vote
1
answer
263
views
How to control value type of wParam in WM_IME_CHAR
I'm working on a C++ program that receives user's keyboard input on Windows 10. Users can input English and East Asian languages like Chinese using Input Methods and US keyboard.
The program gets ...
5
votes
1
answer
3k
views
Android Ime callback not found issue on AlertDialog dismiss
If we have a customized AlertDialog containing some input field, selection of that component would prompt the IME virtual keyboard of the device to pop up. Now, if we dismiss the entire AlertDialog by ...
0
votes
1
answer
536
views
Android - Main windows seem to never have focus
I've gotten two issues recently which I suspect are related to the same fact.
The first problem: I noticed none of my EditTexts were pulling up the soft input keyboard (they always did previously), ...
1
vote
0
answers
57
views
Support modern emojis in a custom android keyboard
I'm building android keyboard application and I want to support modern emojis on the app.
Is there is a library or a simple way to implement emojis with android KeyboardView
I've tried some ways to ...
0
votes
1
answer
726
views
Is it possible to get IMEI number for above android 11? I want to use it within organization. App won't be uploaded on play store
hope you are doing well,
basically I want save the value unique id for device which is non-resettable
Is it possible to get IMEI, Serial number for above android 11? I want to use it within ...
0
votes
1
answer
54
views
Is WM_IME_REPORT obsolete?
I can't find the Microsoft documentation for the WM_IME_REPORT window procedure message anymore. Has it been obsoleted? We handle the WM_IME_REPORT message in our window procedure, but during testing, ...
0
votes
1
answer
364
views
Running an IME with Qt Widget
I can't get an IME to work with a Qt Widget (the goal is to write Japanese characters with a western keyboard). I can't activate the IME in the taskbar when I launch a simple test software (a ...
0
votes
1
answer
623
views
How do I use the Android soft keyboard to receive key press events while supporting text suggestion and other features?
I have a custom text entry rendered via SkiaSharp in my Xamarin project, and I need to access the Android keyboard so that I can enter text.
I can bring up the keyboard using:
Window.DecorView....
4
votes
1
answer
602
views
JS IME composition and Mac accent menu handling in custom input field
Working on a project where handling various languages (Japanese, Chinese etc.) as well as handling different language directions (right-to-left, left-to-right and the combinations of the two) is ...
0
votes
1
answer
103
views
Doesn't work key "delete" in ime android keyboard
I have finished my ime custom keyboard. But I have some problems. When I type something into first textField and than try to type into second textField I can't delete anything into secon textfield.
...
0
votes
1
answer
311
views
ImmNotifyIME failed while some IMM functions like ImmGetContext works well
I'm writing a program using IME composition on Windows 10.
The program uses DefWindowProc to handle all WM_IME_ message in a specific thread and check IMM context in another thread.
When I want to ...
0
votes
1
answer
320
views
How to capitalize letters in custom keyboard in Jatpack Compose?
I've been trying to figure out how to capitalize letters in my custom IME keyboard. I created capitalize key but I don't know what I have to put into
clickable(interactionSource = interactionSource, ...
0
votes
1
answer
37
views
Keep Android 11 IME active in background
I developed a IME for Android that connects on bluetooth device and receive reading from it but still expose a conventional software keyboard. The problem is that if I hide the keyboard, the bluetooth ...
2
votes
0
answers
60
views
android custom IME getSelectedText blocks main thread
I have a soft keyboard app. I am trying to getSelectedText() of the EditText in order to handle occasions when user has selected some text. I need to do this because my app does not access the app ...
22
votes
4
answers
13k
views
Enormous ime padding in Jetpack Compose
I have a pinned bottom container with a textfield. And i use imePadding modifier. When keyboard appears seems like imePadding works twice. It happens only on some devices. Particular my is Samsung ...
1
vote
1
answer
1k
views
What is the PROCESS KEY in Windows?
We are having trouble with the usage of Windows Chinese Bopomofo keyboard in our App in an RTF control. (that is a different story now)
I am debugging, and noticed while the Bopomofo keyboard is in &...
1
vote
0
answers
163
views
Microsoft Indic Input 3 is not working with Win UI 3 (Windows App SDK) application Textbox
I am developing a Winui 3 (Windows App SDK) application in which I need a Hindi input functionality in textbox with Remington GAIL keyboard Layout, from my research I found that the Hindi Indic Input ...
0
votes
0
answers
374
views
Android IME, use custom layout instead of Keyboard and support KeyboardView's setKeyboard and setOnKeyboardActionListener listeners
I'm creating a custom keyboard in android but in android to create a custom keyboard we need to pass the keyboard XML to generate the keyboard view(XML code below). I want to design my own keyboard ...
2
votes
1
answer
1k
views
Turn on Ime-mode japanese in chrome
Is there a way to turn on IME-mode japanese when input in chrome .
I know style
style="ime-mode:active"
is not supported for chrome browser.
Anyone have any other way for chrome ?
when the ...
1
vote
1
answer
837
views
Is there a way to get State Management working for Abstract Compose View in Jetpack Compose?
I'm currently creating a keyboard that needs to be able to get Data from a View Model that I've created.
The problem arises to the fact that the Keyboard is not able to be recomposed when any type of ...