# Gtk4.jl open\_dialog warning

**URL:** https://discourse.julialang.org/t/gtk4-jl-open-dialog-warning/117553
**Category:** General Usage
**Tags:** question, package, gtk, gtk4
**Created:** [July 27, 2024, 10:09pm UTC](https://discourse.julialang.org/t/gtk4-jl-open-dialog-warning/117553 "2024-07-27T22:09:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![janonime](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/janonime/32/202344_2.png) [@janonime](https://discourse.julialang.org/u/janonime)
#### Post date: [July 27, 2024, 10:09pm UTC](https://discourse.julialang.org/t/gtk4-jl-open-dialog-warning/117553/1 "2024-07-27T22:09:26Z")

</div>

Minimal working example of the problem:

```julia
using Gtk4

win = GtkWindow("Plasmatrace")

open_dialog("Pick a file to open", win) do filename
   println(filename)
end

destroy(win)

```

Storing this script in a file called `test.jl`, running it at the REPL, and selecting a file called `test.txt`:

```julia
julia> include("test.jl")

julia> /home/janonime/test.txt

(process:380841): Gtk-WARNING **: 22:56:02.534: Attempting to add 'file:///home/janonime/text.txt' to the list of recently used resources, but no name of the application that is registering it was defined

julia> 

```

How can I avoid the warning?

NB: I am using Julia 1.10.4 under Ubuntu 22.04.4 with i3wm.
