Skip to content

fix(cua-driver): refuse unsafe GNOME 50+ helper startup - #5565

Merged
injaneity merged 1 commit into
mainfrom
onigiri/bl-5416-r2
Oct 20, 2026
Merged

injaneity merged 1 commit into
mainfrom
onigiri/bl-5416-r2

Conversation

@injaneity

Copy link
Copy Markdown
Collaborator

Problem: On cua 0.5.0, the bundled helper permits GNOME 50 startup despite reports of session-ending crashes with the helper active.

Fix: Refuse GNOME 50 and newer before allocating resources, stop advertising GNOME 50 support, and document disabling existing helpers. Preserve GNOME 45–49 and API 10. This contains the risk without claiming to fix the native crash.

Test: Hermetic pytest/Node lifecycle coverage runs the actual extension with mocked imports. The refusal assertion failed before the fix and passes afterward; coverage includes 50, 50.1, 50.beta, 50.rc, 51, supported 45–49 lifecycle, safe cleanup, and metadata.

Fixes #5416

@injaneity injaneity changed the title Refuse unsafe GNOME 50+ helper startup fix(cua-driver): refuse unsafe GNOME 50+ helper startup Oct 20, 2026
@injaneity
injaneity marked this pull request as ready for review October 20, 2026 05:13
@injaneity
injaneity requested a review from f-trycua as a code owner October 20, 2026 05:13
@injaneity
injaneity merged commit 53ffe13 into main Oct 20, 2026
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Xwayland segfaults on startup with winrects@cua v8 active → GNOME Shell 50.1 dies, session logged out (cua-driver 0.21.0, Ubuntu 26.04)

1 participant