← Back to Pull requests

keybindings: fix crashes on Wayland #839

Merged
KeremSoke merged 4 files (160 lines) on Nov 15, 2026 03:52 UTC
View on GitHub
KeremSoke KeremSoke commented on Nov 14, 2026 01:20 UTC
Author

Now mate-keybinding-properties on wayland doesn't segfault and functional. It uses the usual XKB modifier layout (Mod2 = NumLock, Mod4 = Super) on Wayland.

Also if an eligible wayland compositor that inherits marco's schemes running, show marco keybindings.

Diff: 160 lines (+152 / -8) across 4 files Reviewer: lukefromdc Review duration: 1591m
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.38) × (1 − Review Confidence (0.87)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.38 · 160 lines diff across 4 files
0.38
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.94 · 5 substantive comment(s)
0.94
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
87%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.304
Real PR Conversation Timeline
9 items
lukefromdc lukefromdc commented on Nov 14, 2026 19:58 UTC
Reviewer

In wayland you can change keybindings freely with this as in x11 and if the compositor is actually listening for them (which is not always the case in both Wayfire and Polo) they work.

Looks like the only change in x11 is seeing if Polo is running, which it will not be so that returns NULL and the function returns FALSE

EDIT: Thus appears to make a change in the pointless_eventbox functions in both x11 and wayland. What made that necessary?

lukefromdc lukefromdc commented on Nov 15, 2026 01:32 UTC
Contributor

CI build failure on Arch is the same
2026-11-14T20:04:40.4123004Z ERROR: files left after uninstall:
As the others, again we don't add new files or touch the build system so this has to be unrelated to this or any of these PRs.

KeremSoke KeremSoke commented on Nov 15, 2026 01:58 UTC
Author

Although it's not a wayland related thing, I edited pointless_eventbox because of:

GLib-GObject-CRITICAL: Object class EggCellEditableEventBox doesn't implement property 'editing-canceled' from interface 'GtkCellEditable'

so I added a class init that provides it (always FALSE, so behaviour is unchanged)

I can maybe create a separate commit for that.

lukefromdc lukefromdc commented on Nov 15, 2026 03:52 UTC
Contributor

No behavioral difference on X, this should be good to go. Please split out unrelated fixes in the future, but merging this one as-is

lukefromdc lukefromdc commented on Nov 17, 2026 03:35 UTC
Contributor

Turns out we have one problem left here, thankfully only on wayland and not on x11. Some of the time, hitting the return key while editing a shortcut will freeze the dialog, though the window can still be closed and any change just made has already been saved.

KeremSoke KeremSoke commented on Nov 17, 2026 05:39 UTC
Author

I'll be troubleshooting it right now.

KeremSoke KeremSoke commented on Nov 17, 2026 06:11 UTC
Author

Can you give me how to reproduce, because I couldn't

lukefromdc lukefromdc commented on Nov 27, 2026 02:15 UTC
Contributor

Seems to be working fine now, maybe one of the other changes fixed the problem?

Reviewers
Assignees
KeremSoke KeremSoke
Labels
risk: low confidence: 87.2% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 37.8% (MEDIUM) · Higher = larger blast radius
37.8%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 87.2% · Lower = rushed or shallow review
87.2%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 4.8% · Safe to merge
4.8%