lgi-devs / lgi-devs/lgi

Gtk4: Gio.AsyncResult passed as argument does not work

Open
#345 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
491
Forks
81
PR merge metrics
No merged PRs in 30d

Description

If a Gtk4 function calls a callback with an AsyncResult, fhis fail, LGi will output sn error about new() function not available.

This happens e.g in the callback function of Gtk.AlertDialog.

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 reproducing the failure in the Gtk.AlertDialog callback where Gio.AsyncResult is passed to Lua. Trace how LGI handles that callback argument and the reported new() lookup error. Done means the callback receives and can use the AsyncResult without the error; no test or source file is named in the issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.