You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Tray click event cause CJK input issue on Mac OS #32307
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Electron Version
16.x.x 15.x.x 14.x.x
What operating system are you using?
macOS
Operating System Version
macOS
What arch are you using?
x64
Last Known Working Electron version
unknown
Expected Behavior
One can call window.show() in the Tray click event callback method.
And can use Chinese(Japanese,Korea) IME input on the window correctly.
Actual Behavior
on Mac OS,
When a BrowserWindow is not in the front of other windows,
call window.show() in the Tray click event callback method.
The BrowserWindow will go to the front.
But one can not use Chinese(Japanese,Korea) input IME on this window at this time.
The IME can not show up and can not change.
Testcase Gist URL
No response
Additional Information
I try to use mouse-down envent
It has the right behavior.
changed the title [-][Bug]: Tray click event cause input issue on Mac OS[/-][+][Bug]: Tray click event cause CJK input issue on Mac OS[/+]on Jan 1, 2022
Thanks for reporting this and helping to make Electron better!
Because of time constraints, triaging code with third-party dependencies is usually not feasible for a small team like Electron's.
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
I'm adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.
Activity
[-][Bug]: Tray click event cause input issue on Mac OS[/-][+][Bug]: Tray click event cause CJK input issue on Mac OS[/+]codebytere commentedon Jan 3, 2022
Thanks for reporting this and helping to make Electron better!
Because of time constraints, triaging code with third-party dependencies is usually not feasible for a small team like Electron's.
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
I'm adding the
blocked/need-reprolabel for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.xland commentedon Jan 3, 2022
@codebytere
~~ https://gist.github.com/xland/d8c5c5566bc51db9230b41bff518e145 ~~
codebytere commentedon Jan 10, 2022
@xland the problem is still not clear. Your sample does not work as is and there's no input tag in the html of the fiddle - what is the issue exactly?
xland commentedon Jan 22, 2022
@codebytere
Sorry.
I create a new gist and check it on MacOS.
https://gist.github.com/34ce2b084ae4cf93ec90efbfcafc0c75
OldDream commentedon Jan 27, 2022
Call hide() before calling show().
This solve my problem in macos 12.2
whuhewei commentedon Apr 8, 2022
But when your browser window is maximum, then this will cause it lost title bar
zhoushaokun commentedon Jul 21, 2022
Same problem, hope it wil be fixed.
Post my Testcase Gist URL if nessary:
https://gist.github.com/zhoushaokun/c8750830e323834ef42ee12b43c5c570
wanghanzhen commentedon Sep 8, 2022
github-actions commentedon Jan 10, 2023
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
github-actions commentedon Feb 10, 2023
This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.
stefanJi commentedon Jun 7, 2023
Same problem in electron 20.1.0, macos 12.1