Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jixiuf
Copy link
Contributor

@jixiuf jixiuf commented Aug 27, 2024

this should close #154

@jixiuf jixiuf changed the title support Input method and C-v paste in support Input method and C-v paste when editing text Aug 27, 2024
@jtheoof
Copy link
Owner

jtheoof commented Oct 26, 2024

This looks interesting, but I would like to test it out before merging. Unfortunately I won't have access to my Linux machine before the end of the year. It it goes well I'll merge it before Christmas. Sorry for the wait.

@shilkazx
Copy link

@jtheoof Thanks for your great work on this, do you have any plan merge this patch to a new release?

@jixiuf jixiuf force-pushed the input_method branch 3 times, most recently from bdead6e to c822d6c Compare August 20, 2025 10:12
@jtheoof
Copy link
Owner

jtheoof commented Aug 20, 2025

this is harder to review, since you included changes from #183 can you dissociate both MRs and code ?

@jtheoof jtheoof self-assigned this Aug 20, 2025
@jixiuf
Copy link
Contributor Author

jixiuf commented Aug 21, 2025

this is harder to review, since you included changes from #183 can you dissociate both MRs and code ?

Fixed. It should have been accidentally pushed to this branch.

Copy link
Owner

@jtheoof jtheoof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good tried it out. works well, just a question around memory of the im_context object.


GtkWindow *window =
GTK_WINDOW(gtk_builder_get_object(builder, "paint-window"));
GtkIMContext *im_context = gtk_im_multicontext_new();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how this gtk object works, but aren't you supposed to g_free(im_context) to release the memory upon closing the app (in application_finish function)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Owner

@jtheoof jtheoof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jixiuf

@jtheoof jtheoof merged commit 4186571 into jtheoof:master Aug 24, 2025
2 checks passed
@jixiuf jixiuf deleted the input_method branch August 24, 2025 14:54
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.

can not input CJK

3 participants