PolyMeilex / PolyMeilex/rfd

Replace `zenity` dependency with `alerta`

Open
#288 2 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

(hope you don't mind the self-advertisement)

On Unix, rfd currently relies on zenity being installed in order to create message boxes. This isn't great, since it's a runtime dependency that can't be compiled into the program, and it might not always be installed.

Alerta is my attempt at displaying simple message boxes on X11 without any C dependencies. It may be worth switching to it to avoid the problems caused by zenity.

This would cause a few regressions, so it might not be acceptable:

Apart from the accessibility issue, these should be resolvable with relative ease if desired.

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 locating rfd's Unix message-box path and its zenity integration, then review Alerta's X11 behavior and the listed regression concerns. Determine whether the dependency replacement is acceptable, and verify that message boxes still work on Unix without zenity while documenting or testing the affected text-selection, accessibility, and keyboard-button behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.