PolyMeilex / PolyMeilex/rfd

Bad interaction between this crate and `mlua`

Open
#79 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
830
Forks
108
Avg merge
6d 33m
Merged PRs (30d)
2

Description

More details here: https://github.com/khvzak/mlua/issues/184

I'm trying to figure out a very strange interaction between rfd and mlua that breaks the latter in very subtle ways. This issue can only be reproduced when using the gtk-3 backend on Linux. I tried switching to xdg-portal and that one seems unaffected.

I'm reporting this here in case you have an idea of something in the gtk-3 backend that might be introducing some subtle UB? I honestly don't know where the issue lies in, so I'm reporting in both places 😄

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked mlua issue #184, then compare rfd's gtk-3 and xdg-portal backends on Linux. Done means reproducing the interaction, identifying whether the gtk-3 backend causes the failure, and documenting or fixing the confirmed cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.