Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add API to indicate whether InputPanel is transient #1085

Closed
wants to merge 1 commit into from

Conversation

eagleoflqj
Copy link
Member

On macOS Terminal, a dummy client preedit is needed to close an empty clipboard by ESC or input ascii semicolon by Return with 双拼.
However, the dummy preedit shouldn't be set when using Shift to switch IM, as it clears current cell in LibreOffice.
The setTransient API could be used to distinguish these scenarios.

@wengxt
Copy link
Member

wengxt commented Jul 12, 2024

I don't like this design. So to me, there's some totally unrelated issue:

  1. mac(or not just mac, I know firefox/ browser on all system having similar issues) need a dummy preedit to be able to workaround certain application issue. I believe the thing you want, is to make client be able to detect, whether input method is in Composing mode, even if client preedit is empty.

  2. The usage of a OSD-like information popup with input panel which may be randomly modified.

The new API here solves none of them.

@wengxt wengxt closed this Jul 12, 2024
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