Skip to content

Fix Linux X11 mouse capture and export complete desktop diagnostics - #1484

Merged
Kief5555 merged 8 commits into
devfrom
codex/linux-game-mouse
Nov 30, 2026
Merged

Kief5555 merged 8 commits into
devfrom
codex/linux-game-mouse

Conversation

@Kief5555

Copy link
Copy Markdown
Member

Changes

  • Request XInput 2.1 so the separate Linux raw mouse listener keeps receiving movement and clicks during pointer grabs. Older X servers retain the existing window input fallback.
  • Include core, Qt, streamer, and process logs in a single diagnostics export, including retained rotated entries. Align Qt and Rust log directories for existing Linux installations.

Verification

  • The affected native platform suite passed on macOS with 177 tests passing and 5 ignored. The Linux release build and a live Just Cause 3 retest cover the remaining runtime gap.
  • The diagnostics patch passed the Rust core suite, Qt core-client tests, and a synthetic single-file export over 5 MB before assembly on this branch.

This change is intended for OpenNOW 1.0.7 RC 2.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4a91face-dc44-4357-ae38-a9bc28086b48

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T14:43:05.532866Z 1687d33 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Kief5555
Kief5555 enabled auto-merge November 30, 2026 14:41

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capy found 1 potential issue (1 medium).

Open in Capy

let mut sources: Vec<_> = SOURCES
.iter()
.map(|(name, area, archived)| Source::open(&directory.join(name), area, *archived))
.collect::<io::Result<_>>()?;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An unreadable ancillary log aborts the entire diagnostics export

Medium Severity

If an existing ancillary file such as qt-native.log.previous is unreadable—for example, a retained file owned by root with mode 0600—Source::open returns PermissionDenied and this collection aborts MasterLog::refresh. export_with_runtime propagates that error, so users cannot export otherwise readable logs or the runtime snapshot; bug_report.submit also rejects reports with diagnostics enabled. Previously, unreadable sources were skipped and export continued. Preserve best-effort collection, recording unavailable sources in the report rather than failing the entire export.

Open in Capy

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capy found 1 potential issue (1 medium).

View 2 other findings in Capy.

Open in Capy

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capy found no issues.

Open in Capy

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capy found no issues.

View 1 other finding in Capy.

Open in Capy

@Kief5555
Kief5555 merged commit 9748b9b into dev Nov 30, 2026
13 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.

1 participant