-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fcitx 5 crashes Gimp 2.99 on NixOS #26
Comments
Thanks for the information. I'm able to produce it on my system. I'm still debugging gtk code to understand why this happens, but if you just want to use gimp right now, you may choose some alternative way as a workaround:
Those are just workarounds that you can try without any code fix. |
actually, can you help me to do one test? First make sure im-fcitx5.so not being loaded. you can do either an empty cache file, or set GTK_IM_MODULE to sth else, or even remove fcitx5-gtk, to exclude any fcitx’s impact. then, right click in the font selection combo box. The intended behavior is show a menu with “copy paste” just like any text box , but this will go with the same code path that fcitx5-gtk exercises. I can crash gimp the same way here by doing that. So I wonder if you can also reproduce this? If so I’m more confident that it’s a gtk or gimp bug. |
Yes, I can confirm it crashes for me on right clicking the textbox with |
NixOS/nixpkgs#260076 has specific details about how I encountered the issue, please refer to it
This is somehow related to
immodules.cache
files, so I propose the following reproduction steps for other distrosto any file (hopefully
/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx5.so
is the correct path)export
GTK_IM_MODULE_FILE=<path to file>
Launch Gimp 2.99 and try using Fcitx5 in the text tool's font selection textbox or font size selection textbox (specifically, in the floating window that opens above the image when writing text). It's usually packaged as
gimp-devel
.Steps 1 and 2 aren't necessary if your OS manages immodules.cache correctly, but can be useful for testing.
The text was updated successfully, but these errors were encountered: