Menu โ–พ โ–ด

#274 fix(linux): select Wayland backend and add WebKit safe mode

closed
nobody
None
2026-10-05
2026-09-06
Anonymous
No

Originally created by: kristofferR

Carrier can select an unavailable GTK backend in pure Wayland sessions, and some WebKit compositing configurations leave its window blank.

Select the Wayland backend before GTK initialization when DISPLAY and GDK_BACKEND are unset or empty. Add an automatic Niri compositing fallback and a documented CARRIER_LINUX_WEBKIT_SAFE_MODE override. Preserve explicit GTK and WebKit settings and retain the existing Wayland DMABUF workaround.

Validation: formatting, Clippy, 252 Rust tests, 453 Bun tests, typechecking, inject rebuild, and full local CodeRabbit preflight passed. An isolated Hyprland session opened native Wayland windows with DISPLAY and GDK_BACKEND unset; forced safe mode rendered Facebook's login/consent page, while normal compositing remained blank after 28 seconds. CPU samples were not comparable because only one mode rendered content. Niri, GNOME, KDE, and the remaining platform/performance checks are pending in [#28].

Ref [#255].

Related

Tickets: #255
Tickets: #264
Tickets: #28

Discussion

  • Anonymous

    Anonymous - 2026-09-06

    Originally posted by: kristofferR

    @coderabbitai review

     
  • Anonymous

    Anonymous - 2026-09-06

    Originally posted by: kristofferR

    @codex review for consequential defects introduced by this PR; do not expand its original scope with unrelated refactors, features, or speculative hardening

     
  • Anonymous

    Anonymous - 2026-09-06

    Originally posted by: coderabbitai[bot]

    โš ๏ธ Action not completed Review rate limited. > Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
     
  • Anonymous

    Anonymous - 2026-09-06

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review Summary

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

    Review Status Commit Review trigger
    ๐Ÿ“ Code Review โœ… Completed <relative-time datetime="2026-09-06T17:55:45.734596Z">2026-09-06T17:55:45.734596Z</relative-time> 61070c7 Manual request
    โ„น๏ธ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). 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.
     
  • Anonymous

    Anonymous - 2026-09-06

    Originally posted by: coderabbitai[bot]

    [!WARNING]

    Review limit reached

    Next included review available in 42 minutes.

    Check out review usage here.


    View limit details

    Limit details: Youโ€™ve used the included review currently available.

    You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

    Learn how review limits work.

    Review configuration:


    โš™๏ธ Run configuration

    Configuration used: Path: .coderabbit.yaml

    Review profile: ASSERTIVE

    Plan: Team

    Run ID: c1acd414-6cd8-4ab9-9324-3ecfdbbd1ee6


    ๐Ÿ“ฅ Commits

    Reviewing files that changed from the base of the PR and between [703fd8] and 61070c794d7eff2040f9d113fe35c6a6ba25c5ae.


    ๐Ÿ“’ Files selected for processing (3)

    • README.md
    • src-tauri/src/lib.rs
    • src-tauri/src/linux_startup.rs

    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 - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

    Comment @coderabbitai help to get the list of available commands.

     

    Related

    Commit: [703fd8]

  • Anonymous

    Anonymous - 2026-09-06

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review: Didn't find any major issues. Delightful!

    Reviewed commit: 61070c794d

    โ„น๏ธ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with ๐Ÿ‘. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
     
  • Anonymous

    Anonymous - 2026-09-06

    Ticket changed by: kristofferR

    • status: open --> closed
     

Log in to post a comment.