Skip to content

Conversation

@acrylic-style
Copy link

@acrylic-style acrylic-style commented Jun 26, 2025

I was investigating getting SIGSEGV when loading the Minecraft with Prism Launcher and X11, and I found that XMODIFIERS environment variable is missing, causing the XIM to support only basic input styles.
This PR fixes that and adds debug logs to help users/developers investigate the issue in case of a crash (related or not related to this).
Also, this PR fixes the issue where IME dialog is at wrong position. (I'm unsure if it works well on other users)
I will remove debug logs if those are not needed.

EDIT: I tested this code with caramelChat mod with compiled binary. I'm using Debian (Trixie) and GNOME with X11.

Also, added debug logs to help users investigate the issue in case of a crash
@LemonCaramel
Copy link
Member

Hello, apologies for the delayed review.
Since my main operating system isn’t Linux, I’m unable to test the X11 or Wayland PR myself. Before merging, I’d like to confirm whether this has been tested across various Linux distributions.

P.S. To all X11 users reading this, I’d really appreciate it if you could share which distributions you’ve tested this on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crashing in Ubuntu 24.04.1 with GNOME+X11

2 participants