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

CodeEditer input Chinese hint at the bottom of the screen #262

Closed
daiwhea opened this issue Aug 14, 2021 · 9 comments
Closed

CodeEditer input Chinese hint at the bottom of the screen #262

daiwhea opened this issue Aug 14, 2021 · 9 comments

Comments

@daiwhea
Copy link
Contributor

daiwhea commented Aug 14, 2021

Please have a look at the screenshot. When I want to input Chinese at position A, the input hints was displayed at position B, which is the bottom of the screen. It's hard to input. Can we display input hints B near A?

Thanks.

E23B1068-7712-48A9-9E5F-6BF0E6BFD88B

@AllenDang
Copy link
Owner

@daiwhea Create a app bundle by using gmdeploy could solve this. Launch GUI from terminal in macOS will have this issue.

@daiwhea
Copy link
Contributor Author

daiwhea commented Aug 14, 2021

@daiwhea Create a app bundle by using gmdeploy could solve this. Launch GUI from terminal in macOS will have this issue.

Ok, thanks @AllenDang .

@daiwhea
Copy link
Contributor Author

daiwhea commented Aug 14, 2021

@daiwhea Create a app bundle by using gmdeploy could solve this. Launch GUI from terminal in macOS will have this issue.

@AllenDang Sorry, would you please show me a demo cmd for this? I tried cmd below but the runnable app still act the same as go run xxx.go. Thanks.

go build -ldflags "-s -w" .

@AllenDang
Copy link
Owner

@daiwhea First of all, gmdeploy is located at giu/cmd/gmdeploy/, go to that dir, run go build ., copy executable to $GOPATH\bin.
Then in your project root, run gmdeploy -upx -icon ./res/app_icon.icns, of cause -icon and -upx is optional.
You could found the app bundle at ./build/darwin.

@daiwhea
Copy link
Contributor Author

daiwhea commented Aug 14, 2021

Thanks @AllenDang . with gmdeploy still not works as expected. Maybe because my os is too old for giu. My os is 10.13.6. If it works well in some modern macos, please let it be. Thanks.

172-11-2-103:ImStock daiwhea$ gmdeploy
ImStock.app is generated at /Users/daiwhea/myworks/daiwhea/ImStock/build/darwin/

B442409F-745C-44B0-9FED-C1F18D9353B6

@AllenDang
Copy link
Owner

@daiwhea I just checked this with a chinese IME and found out this issue remains even in app bundle. Looks like it's an issue related to upstream imgui. So this may not be fixed soon on my side. Because IME support cross various OS is a lot of works.

@daiwhea
Copy link
Contributor Author

daiwhea commented Aug 14, 2021

@daiwhea I just checked this with a chinese IME and found out this issue remains even in app bundle. Looks like it's an issue related to upstream imgui. So this may not be fixed soon on my side. Because IME support cross various OS is a lot of works.

@AllenDang I see. It's workable and acceptable ^_^... Thanks.

@kesuskim
Copy link

Maybe we could look into this link:

ocornut/imgui#1807 (comment)

@kesuskim
Copy link

Not sure what to do with macOS as the link seems to deal only with Windows.

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

No branches or pull requests

3 participants