Skip to content

Crash when resizing a window running with XDG_SESSION_TYPE=x11 under KDE-Plasma/Wayland #7471

@geppi

Description

@geppi

Checklist

Describe the issue

Resizing the application window on a system running KDE-Plasma/Wayland with the setting XDG_SESSION_TYPE=x11 causes an application crash.

Steps to reproduce the bug

export XDG_SESSION_TYPE=x11

python -c "import open3d as o3d; \
           mesh = o3d.geometry.TriangleMesh.create_sphere(); \
           mesh.compute_vertex_normals(); \
           o3d.visualization.draw(mesh, raw_mode=True)"

# Resize the application window.

Error message

terminate called after throwing an instance of 'utils::PostconditionPanic'
Aborted                    (core dumped) python -c "import open3d as o3d;            mesh = o3d.geometry.TriangleMesh.create_sphere();            mesh.compute_vertex_normals();            o3d.visualization.draw(mesh, raw_mode=True)"

Expected behavior

Obviously, resizing the application window should not crash the application. ;-)

Open3D, Python and System information

- Operating system: ArchLinux with KDE-Plasma/Wayland
- Python version: Python 3.14.3
- Open3D version: 0.19.0
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: pip
- Compiler version (if built from source):

Additional information

Is it planned to natively support Wayland sometime in the near future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot a build issue, this is likely a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions