Skip to content

[BUG] MDANSE doesn't run on a Wayland desktop #1294

Description

@jamescrake-merani

Background information
Your OS: Ubuntu 24.04
Python version: (e.g. 3.10, 3.11, ...)
MDANSE version: 2.0.1.post39+git.3cb88864.dirty
MDANSE_GUI version: 2.0.1.post39+git.3cb88864.dirty
CPU architecture: x86_64

What were you doing?
Trying to run MDANSE through uv run mdanse_gui

What went wrong?
I get the following error:

2026-09-02 17:13:30,644 - INFO - process[116224] - Resources 56 - Resources are in /home/dlp54594/python/MDANSE/MDANSE_GUI/Src/MDANSE_GUI/Icons
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  12 (X_ConfigureWindow)
  Resource id in failed request:  0x18941400
  Serial number of failed request:  7
  Current serial number in output stream:  8

Suggested fix (optional)
This problem is a bit odd, as it shouldn't be trying to configure an X11 window considering I'm on wayland. I don't get this problem when running mdanse_units_editor, so I suspect this may have something to do with how MDANSE is launched.

Additional details (optional)
Add any other information that seems relevant to this problem.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUISomething regarding the graphical user interfacebugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions