Maniphest T98758

Crash setting the clipboard in Wayland
Closed, Resolved

Assigned To
Campbell Barton (campbellbarton)
Authored By
Campbell Barton (campbellbarton)
Jun 10 2022, 8:41 AM
Tags
  • BF Blender
  • Platform: Linux
Subscribers
Campbell Barton (campbellbarton)

Description

This script crashes when running Blender in wayland (GHOST/Wayland, not Xwayland).

from bpy import context
wm = context.window_manager
text = 'X' * 100_000
for i in range(2):
    print(i)
    wm.clipboard = text

Reporting for reference.

Revisions and Commits

rB Blender

Event Timeline

Campbell Barton (campbellbarton) created this task.Jun 10 2022, 8:41 AM
Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Confirmed.Jun 10 2022, 9:27 AM
Campbell Barton (campbellbarton) closed this task as Resolved by committing rB28f852ccc396: Fix T98758: Crash setting the clipboard in Wayland.Jun 10 2022, 10:44 AM
Campbell Barton (campbellbarton) added a commit: rB28f852ccc396: Fix T98758: Crash setting the clipboard in Wayland.