Code Monkey home page Code Monkey logo

mousetrap.jl's People

Contributors

archermarx avatar clemapfel avatar lilithhafner avatar simonp0420 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mousetrap.jl's Issues

let people know how to install it

as currently organized, one must do the following, in order (at least add the _jlls first).

 Pkg.add(url="https://github.com/Clemapfel/mousetrap_windows_jll")
 Pkg.add(url="https://github.com/Clemapfel/mousetrap_apple_jll")
 Pkg.add(url="https://github.com/Clemapfel/mousetrap_linux_jll")
 Pkg.add(url= Pkg.add(url="https://github.com/Clemapfel/mousetrap.jl")

Let people know :)
also Julia has
Sys.iswindows, Sys.isapple, Sys.islinux (and others see names(Sys)).
so you could check the host OS and bring in what is appropriate ..

Windows dont move correctly with "non standard" screen scales.

Windows 10 (and other OS as well) allows the user to set a scale parameter, that changes the size of text, apps and some other things. This is useful when using a device with high resolution but small display (in this case a microsoft surface). However when i create a window using Mousetrap, and try to drag it somewhere, this scale parameter does not seem to be taken into account. Suppose i use a scale of 200% and want to drag the window to a position (x, y) then it ends up at (2x, 2y) instead.

I was not able to reproduce this on any other Windows machine.

Device specifications:
Device name: Microsoft-Surface
Processor: Intel(R) Core(TM) i5-1035G4 CPU @ 1.10GHz 1.50 GHz
Installed RAM: 8,00 GB (7,60 GB usable)
System type: 64-bit operating system, x64-based processor
Pen and touch: Pen and touch support with 10 touch points

Windows specifications:
Edition: Windows 10 Home
Version: 22H2
Installed on: ‎ 20/‎01/‎2023
OS build: 19045.3930
Experience: Windows Feature Experience Pack 1000.19053.1000.0

Incorrect dependency on `libjulia_jll`

Your custom JLLs have a runtime dependency on libjulia_jll, which basically always is wrong ; libjulia_jll solely exists to facilitate building of other JLLs.

(If your JLLs were handled via Yggdrasil, this would have been pointed out in code review 😄)

Installation precompilation issue

Julia 1.10
MacOS 14
ARM64

during installation, I get this error out the end.

Precompiling project...
  64 dependencies successfully precompiled in 26 seconds. 171 already precompiled.
  1 dependency had output during precompilation:
┌ Mousetrap
│  (process:37545): Core OpenGL-CRITICAL **: 17:09:54.252: ../gdk/macos/gdkmacosglcontext.c:408: invalid share context
│  
│  (process:37545): mousetrap-WARNING **: 17:09:54.252: In gdk_gl_context_realize:invalid share context
│  
│  (process:37545): mousetrap-CRITICAL **: 17:09:54.252: In initialize_opengl: Unable to create global OpenGL context, disabling the `RenderArea` widget
└  

I tried to install Mousetrap using this workflow:

import Pkg;
begin
  Pkg.add(url="https://github.com/clemapfel/mousetrap_jll")
  Pkg.add(url="https://github.com/clemapfel/mousetrap.jl")
end

Register the package

When at least the main examples work on at least one OS, please register the package to make it easier to install. You can also create a meta-package that installs all dependencies.

Critical Error - Open GL component is disabled.

In trying to run some of the examples in the manual, I came across an error that states my open GL component is disabled.

`julia> render_area = RenderArea()

(julia.exe:47448): mousetrap-CRITICAL **: 15:16:34.050: In RenderArea(): trying to instantiate RenderArea, but the OpenGL component is disabled.
RenderArea()`

Buttons not appearing

MacOS 14
Arm64
Julia 1.10

I tried out the tutorial for pop-up messages from here, but the demo doesn't seem to work. I get a window that pops up, but no buttons.

using Mousetrap

main() do app::Application

    window = Window(app)

    child = Separator()
    message_overlay = PopupMessageOverlay()
    set_child!(message_overlay, child)

    show_message_action = Action("example.show_message", app)
    set_function!(show_message_action, message_overlay) do self::Action, message_overlay::PopupMessageOverlay
        message = PopupMessage("This is a message")
        set_button_label!(message, "OK")
        set_button_action!(message, self)
        show_message!(message_overlay, message)
    end

    button = Button()
    set_opacity!(button, 0)
    set_action!(button, show_message_action)
    push_front!(get_header_bar(window), button)

    set_child!(window, message_overlay)
    present!(window)
end
Screenshot 2024-01-01 at 6 46 48 PM

`ColorChooser` window freezes when shown

The following does not end runtime, but also does not show the ColorChooser window as expected:

chooser = ColorChooser()
present!(chooser)

It is unknown if this is a cross-platform issue

need example of using an external file

(process:54764): mousetrap.jl-WARNING **: 06:38:38.015: In mousetrap.main: You are running mousetrap from within the REPL. Interactive use of mousetrap is an experimental feature, side-effects may occurr.
Task (runnable) @0x00000238189bb080

AssertionError: Object of type AspectFrame does not fullfill the widget interface

When I try to use an AspectFrame (or any other widget I've tried) for the signal_connect_motion! signal handler, I get an AssertionError: Object of type AspectFrame does not fullfill the widget interface error. I'm assuming that Mousetrap.AspectFrame is supposed to fulfill the widget interface.

julia> using Mousetrap

julia> main() do app::Application
           window = Window(app)

           aspect_frame = AspectFrame(1.0)

           set_child!(window, aspect_frame)

           connect_signal_motion!(aspect_frame) do _, x, y
               println((x,y))
           end

           present!(window)
       end

(<unknown>:128894): GLib-GObject-CRITICAL **: 14:55:44.274: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[ERROR] In Mousetrap.main: AssertionError: Object of type AspectFrame does not fullfill the widget interface. In order for it to be able to be treated as a widget, you need to subtype `Mousetrap.Widget` **and** add a method with signature `(::AspectFrame) -> Widget` to `Mousetrap.get_top_level_widget`, which should map an instance of AspectFrame to its top-level widget component.
Stacktrace:
 [1] macro expansion
   @ ~/.julia/packages/Mousetrap/WZu6w/src/Mousetrap.jl:0 [inlined]
 [2] get_top_level_widget(x::AspectFrame)
   @ Mousetrap ~/.julia/packages/Mousetrap/WZu6w/src/Mousetrap.jl:362
 [3] connect_signal_motion!(f::Function, x::AspectFrame)
   @ Mousetrap ~/.julia/packages/Mousetrap/WZu6w/src/Mousetrap.jl:5530
 [4] (::var"#16#18")(app::Application)
   @ Main ./REPL[2]:8
 [5] (::TypedFunction)(args::Application)
   @ Mousetrap ~/.julia/packages/Mousetrap/WZu6w/src/Mousetrap.jl:91
 [6] (::Mousetrap.var"#14#15"{TypedFunction})(app::Application)
   @ Mousetrap ~/.julia/packages/Mousetrap/WZu6w/src/Mousetrap.jl:1542
 [7] (::TypedFunction)(args::Application)
   @ Mousetrap ~/.julia/packages/Mousetrap/WZu6w/src/Mousetrap.jl:91
 [8] (::Mousetrap.var"#6#8"{TypedFunction})(x::Tuple{CxxWrap.CxxWrapCore.CxxRef{Mousetrap.detail._Application}})
   @ Mousetrap ~/.julia/packages/Mousetrap/WZu6w/src/Mousetrap.jl:657
 [9] safe_call(scope::String, f::Function, args::Tuple{CxxWrap.CxxWrapCore.CxxRef{Mousetrap.detail._Application}})
   @ Mousetrap ~/.julia/packages/Mousetrap/WZu6w/src/Mousetrap.jl:190
0

Setting a .jpg as texture segfaults

This code produces a segfault:

using Mousetrap
main() do app::Application

    window = Window(app)
    set_title!(window, "Issue 67")
    render_area = RenderArea()
    shape = Rectangle(Vector2f(-1, 1), Vector2f(2, 2))

    image = Image("path/to/example.jpg")
    # image = Image("path/to/example.png")

    texture = Texture()
    create_from_image!(texture, image)

    set_texture!(shape, texture)

    add_render_task!(render_area, RenderTask(shape))

    set_size_request!(render_area, Vector2f(500, 500))
    set_child!(window, render_area)
    present!(window)
end

Result:

[216028] signal (11.2): Segmentation fault
in expression starting at /home/x/.julia/dev/battlecode/render_cube.jl:8
__GI_memcpy at /lib64/libc.so.6 (unknown line)
unknown function (ip: 0xffff71482167)
Allocations: 2035102 (Pool: 2033442; Big: 1660); GC: 3
Segmentation fault (core dumped)

Using a .png works around the issue.

Menu not rendering text on Windows

Hello, great work on this project. This may just be something I'm doing, but I cannot get a menubar to correctly render the labels on Windows.
Screenshot below shows the code, and then two instances of the GUI. The slightly smaller one is the one running on Windows where the labels "File" and "Help" are not rendered as such. The second is an instance running on WSLG - Ubuntu where it renders correctly, at the same time.
I did try adding a custom CSS after to see if it was just an issue with the default font, but it did not change.
image

PS. Is there a way to detect the user's default OS theme? I.e. is light/dark/high contrast by default?

`gdk_x11_surface_get_xid` Segmentation Fault when initializing Mousetrap

julia> using Mousetrap
[ Info: Precompiling Mousetrap [5deeb4b9-6e04-4da7-8b7f-c77fb1eae65e]

[25147] signal (11.1): Segmentation fault
in expression starting at /home/ufechner/.julia/packages/Mousetrap/k0X9u/src/Mousetrap.jl:39
gdk_x11_surface_get_xid at /home/ufechner/.julia/artifacts/5498f875c31a1b3422ce1b64ef770407109eff30/lib/libgtk-4.so (unknown line)
Allocations: 815336 (Pool: 814877; Big: 459); GC: 1
ERROR: Failed to precompile Mousetrap [5deeb4b9-6e04-4da7-8b7f-c77fb1eae65e] to "/home/ufechner/.julia/compiled/v1.9/Mousetrap/jl_9p08JE".
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base ./loading.jl:2300
 [3] compilecache
   @ ./loading.jl:2167 [inlined]
 [4] _require(pkg::Base.PkgId, env::String)
   @ Base ./loading.jl:1805
 [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
   @ Base ./loading.jl:1660
 [6] macro expansion
   @ ./loading.jl:1648 [inlined]
 [7] macro expansion
   @ ./lock.jl:267 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1611

What I did:
a. rename .julia to .julia.bak
b. create a new project and install Mousetrap as described in the README.md

(Mouse) pkg> st
Status `~/repos/Mouse/Project.toml`
  [5deeb4b9] Mousetrap v0.2.0 `https://github.com/Clemapfel/mousetrap.jl#main`
  [7f2654e2] mousetrap_apple_jll v0.2.0+0 `https://github.com/Clemapfel/mousetrap_apple_jll#main`
  [b6bb2801] mousetrap_linux_jll v0.2.0+0 `https://github.com/Clemapfel/mousetrap_linux_jll#main`
  [1923bf96] mousetrap_windows_jll v0.2.0+0 `https://github.com/Clemapfel/mousetrap_windows_jll#main`
julia> versioninfo()
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 32 × AMD Ryzen 9 7950X 16-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, znver3)
  Threads: 1 on 32 virtual cores
Environment:
  LD_LIBRARY_PATH = /lib:/usr/lib:/usr/local/lib
ufechner@ufryzen:~$ uname -a
Linux ufryzen 6.2.0-32-generic #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

I tried mousetrap on a freshly installed virtual machine, and that worked. I could also install it successfully on Ubuntu 20.04.

Any idea how to debug this issue?

Problem installing on Windows 32-bit

When trying to add the package on a Windows 32-bit machine, I get the following error

ERROR: LoadError: UndefVarError: `mousetrap_julia_binding` not defined

Are there any workarounds? Thank you!

segfault running tests on m1 macos (Julia 1.9.4)

julia> import Pkg;

julia> begin
           Pkg.add(url="https://github.com/clemapfel/mousetrap.jl")
           Pkg.test("Mousetrap")
       end
     Cloning git-repo `ssh://[email protected]/clemapfel/mousetrap.jl.git`
    Updating git-repo `ssh://[email protected]/clemapfel/mousetrap.jl.git`
   Resolving package versions...
   Installed EpollShim_jll ──────── v0.0.20230411+0
   Installed xkbcommon_jll ──────── v1.4.1+1
   Installed Tar_jll ────────────── v1.35.0+0
   Installed Gzip_jll ───────────── v1.13.0+0
   Installed mousetrap_jll ──────── v0.3.0+0
   Installed XZ_jll ─────────────── v5.4.5+0
   Installed libcxxwrap_julia_jll ─ v0.11.1+0
   Installed Wayland_jll ────────── v1.21.0+1
   Installed CxxWrap ────────────── v0.14.2
   Installed BinaryBuilderBase ──── v1.26.0
  Downloaded artifact: Tar
  Downloaded artifact: XZ
  Downloaded artifact: Gzip
  Downloaded artifact: mousetrap
  Downloaded artifact: libcxxwrap_julia
    Updating `/private/var/folders/jb/plyyfc_d2bz195_0rc0n_zcw0000gp/T/jl_RU8C0p/Project.toml`
  [5deeb4b9] + Mousetrap v0.3.1 `https://github.com/clemapfel/mousetrap.jl#main`
    Updating `/private/var/folders/jb/plyyfc_d2bz195_0rc0n_zcw0000gp/T/jl_RU8C0p/Manifest.toml`
  [a4c015fc] + ANSIColoredPrinters v0.0.1
  [1520ce14] + AbstractTrees v0.4.4
  [c7e460c6] + ArgParse v1.1.4
  [bf4720bc] + AssetRegistry v0.1.0
⌅ [15f4f7f2] + AutoHashEquals v0.2.0
  [12aac903] + BinaryBuilder v0.5.6
  [7f725544] + BinaryBuilderBase v1.26.0
  [d1d4a3ce] + BitFlags v0.1.8
  [944b1d66] + CodecZlib v0.7.3
  [34da2185] + Compat v4.10.0
  [f0e56b4a] + ConcurrentUtilities v2.3.0
  [1f15a43c] + CxxWrap v0.14.2
  [9a962f9c] + DataAPI v1.15.0
  [e2d170a0] + DataValueInterfaces v1.0.0
  [ffbed154] + DocStringExtensions v0.9.3
  [e30172f5] + Documenter v1.1.2
  [460bff9d] + ExceptionUnwrapping v0.1.9
  [e2ba6199] + ExprTools v0.1.10
  [5789e2e9] + FileIO v1.16.1
  [59287772] + Formatting v0.4.2
  [8f6bce27] + GitForge v0.4.2
  [bc5e4493] + GitHub v5.9.0
  [cd3eb016] + HTTP v1.10.0
  [9fb69e20] + Hiccup v0.2.2
  [6df8b67a] + HistoricalStdlibVersions v1.2.1
  [b5f81e59] + IOCapture v0.2.3
  [842dd82b] + InlineStrings v1.4.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [033835bb] + JLD2 v0.4.38
  [692b3bcd] + JLLWrappers v1.5.0
  [682c06a0] + JSON v0.21.4
  [0f8b85d8] + JSON3 v1.13.2
  [b964fa9f] + LaTeXStrings v1.3.1
  [23fbe1c1] + Latexify v0.16.1
  [0e77f7df] + LazilyInitializedFields v1.2.2
⌅ [e6f89c97] + LoggingExtras v0.4.9
  [1914dd2f] + MacroTools v0.5.11
  [d0879d2d] + MarkdownAST v0.1.2
  [739be429] + MbedTLS v1.1.8
  [78c3b35d] + Mocking v0.7.7
  [5deeb4b9] + Mousetrap v0.3.1 `https://github.com/clemapfel/mousetrap.jl#main`
  [ffc61752] + Mustache v1.0.19
  [a975b10e] + Mux v1.0.1
⌅ [d8793406] + ObjectFile v0.3.7
  [4d8831e6] + OpenSSL v1.4.1
  [bac558e1] + OrderedCollections v1.6.2
  [6c11c7d4] + OutputCollectors v0.1.1
  [69de0a69] + Parsers v2.8.0
  [fa939f87] + Pidfile v1.3.0
  [fc669557] + PkgLicenses v0.2.0
  [aea7be01] + PrecompileTools v1.2.0
  [21216c6a] + Preferences v1.4.1
  [92933f4c] + ProgressMeter v1.9.0
  [189a3867] + Reexport v1.2.2
⌃ [4418983a] + Registrator v1.6.0
  [2792f1a3] + RegistryInstances v0.1.0
⌅ [d1eb7eb1] + RegistryTools v1.9.1
  [ae029012] + Requires v1.3.0
  [6c6a2e73] + Scratch v1.2.1
  [777ac1f9] + SimpleBufferStream v1.1.0
  [2133526b] + SodiumSeal v0.1.1
  [53d494c1] + StructIO v0.3.0
  [856f2bd8] + StructTypes v1.10.0
  [dc5dba14] + TZJData v1.0.0+2023c
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.11.1
  [b718987f] + TextWrap v1.0.1
  [37f0c46e] + TimeToLive v0.3.0
  [f269a46b] + TimeZones v1.13.0
  [3bb67fe8] + TranscodingStreams v0.10.2
  [5c2747f8] + URIs v1.5.1
  [c2297ded] + ZMQ v1.2.2
  [1fd713ca] + Attr_jll v2.5.1+0
  [6e34b625] + Bzip2_jll v1.0.8+0
  [83423d85] + Cairo_jll v1.16.1+1
  [2702e6a9] + EpollShim_jll v0.0.20230411+0
  [2e619515] + Expat_jll v2.5.0+0
  [a3f928ae] + Fontconfig_jll v2.13.93+0
  [d7e528f0] + FreeType2_jll v2.13.1+0
  [559328eb] + FriBidi_jll v1.0.10+0
  [bde7f898] + GLEW_jll v2.2.0+0
  [bd17208b] + GLU_jll v9.0.1+0
  [6ebb71f1] + GTK4_jll v4.10.5+0
  [78b55507] + Gettext_jll v0.21.0+0
  [7746bdde] + Glib_jll v2.76.5+0
  [75302f13] + Graphene_jll v1.10.6+0
  [3b182d85] + Graphite2_jll v1.3.14+0
  [be1be57a] + Gzip_jll v1.13.0+0
  [2e76f6c2] + HarfBuzz_jll v2.8.1+1
  [aacddb02] + JpegTurbo_jll v2.1.91+0
  [88015f11] + LERC_jll v3.0.0+1
  [1d63c593] + LLVMOpenMP_jll v15.0.4+0
  [dd4b983a] + LZO_jll v2.10.1+0
  [42c93a91] + Libepoxy_jll v1.5.10+0
⌅ [e9f186c6] + Libffi_jll v3.2.2+1
  [d4300ac3] + Libgcrypt_jll v1.8.7+0
  [7e76a0d4] + Libglvnd_jll v1.6.0+0
  [7add5ba3] + Libgpg_error_jll v1.42.0+0
  [94ce4f54] + Libiconv_jll v1.17.0+0
  [4b2f31a3] + Libmount_jll v2.35.0+0
⌅ [89763e89] + Libtiff_jll v4.4.0+0
  [38a345b3] + Libuuid_jll v2.36.0+0
  [cc7be9be] + OpenGLMathematics_jll v0.9.9+0
  [458c3c95] + OpenSSL_jll v3.0.12+0
  [36c8627f] + Pango_jll v1.50.14+0
  [30392449] + Pixman_jll v0.42.2+0
  [9b64493d] + Tar_jll v1.35.0+0
  [a2964d1f] + Wayland_jll v1.21.0+1
  [2381bf8a] + Wayland_protocols_jll v1.25.0+0
  [02c8fc9c] + XML2_jll v2.11.5+0
  [aed1982a] + XSLT_jll v1.1.34+0
  [ffd25f8a] + XZ_jll v5.4.5+0
  [4f6342f7] + Xorg_libX11_jll v1.8.6+0
  [0c0b7dd1] + Xorg_libXau_jll v1.0.11+0
  [935fb764] + Xorg_libXcursor_jll v1.2.0+4
  [0aeada51] + Xorg_libXdamage_jll v1.1.5+4
  [a3789734] + Xorg_libXdmcp_jll v1.1.4+0
  [1082639a] + Xorg_libXext_jll v1.3.4+4
  [d091e8ba] + Xorg_libXfixes_jll v5.0.3+4
  [a51aa0fd] + Xorg_libXi_jll v1.7.10+4
  [d1454406] + Xorg_libXinerama_jll v1.1.4+4
  [ec84b674] + Xorg_libXrandr_jll v1.5.2+4
  [ea2f1a96] + Xorg_libXrender_jll v0.9.10+4
  [14d82f49] + Xorg_libpthread_stubs_jll v0.1.1+0
  [c7cfdc94] + Xorg_libxcb_jll v1.15.0+0
  [cc61e674] + Xorg_libxkbfile_jll v1.1.2+0
  [35661453] + Xorg_xkbcomp_jll v1.4.6+0
  [33bec58e] + Xorg_xkeyboard_config_jll v2.39.0+0
  [c5fb5394] + Xorg_xtrans_jll v1.5.0+0
  [8f1865be] + ZeroMQ_jll v4.3.4+0
  [3161d3a3] + Zstd_jll v1.5.5+0
  [da03df04] + gdk_pixbuf_jll v2.42.8+0
  [07c12ed4] + ghr_jll v0.14.0+0
  [bf975903] + iso_codes_jll v4.11.0+0
  [583852a3] + libadwaita_jll v1.2.0+0
  [3eaa8342] + libcxxwrap_julia_jll v0.11.1+0
  [b53b4c65] + libpng_jll v1.6.38+0
  [a9144af2] + libsodium_jll v1.0.20+0
  [0e90efc8] + mousetrap_jll v0.3.0+0
  [1bc43ea1] + pigz_jll v2.7.0+0
  [d8fb68d0] + xkbcommon_jll v1.4.1+1
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8ba89e20] + Distributed
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [4af54fe1] + LazyArtifacts
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.9.2
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.0.5+0
  [deac9b47] + LibCURL_jll v8.4.0+0
  [e37daf67] + LibGit2_jll v1.5.0+1
  [29816b5a] + LibSSH2_jll v1.11.0+1
  [c8ffd9c3] + MbedTLS_jll v2.28.2+0
  [14a3606d] + MozillaCACerts_jll v2022.10.11
  [4536629a] + OpenBLAS_jll v0.3.21+4
  [efcefdf7] + PCRE2_jll v10.42.0+0
  [83775a58] + Zlib_jll v1.2.13+0
  [8e850b90] + libblastrampoline_jll v5.8.0+0
  [8e850ede] + nghttp2_jll v1.52.0+1
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
Precompiling project...
  83 dependencies successfully precompiled in 42 seconds. 66 already precompiled.
  1 dependency had output during precompilation:
┌ Mousetrap [5deeb4b9-6e04-4da7-8b7f-c77fb1eae65e]
│  (process:86146): Core OpenGL-CRITICAL **: 01:19:01.107: ../gdk/macos/gdkmacosglcontext.c:408: invalid share context
│
│  (process:86146): mousetrap-WARNING **: 01:19:01.107: In gdk_gl_context_realize:invalid share context
│
│  (process:86146): mousetrap-CRITICAL **: 01:19:01.107: In initialize_opengl: Unable to create global OpenGL context, disabling the `RenderArea` widget
└
     Testing Mousetrap
      Status `/private/var/folders/jb/plyyfc_d2bz195_0rc0n_zcw0000gp/T/jl_N1tCsu/Project.toml`
  [12aac903] BinaryBuilder v0.5.6
  [1f15a43c] CxxWrap v0.14.2
  [e30172f5] Documenter v1.1.2
  [23fbe1c1] Latexify v0.16.1
  [5deeb4b9] Mousetrap v0.3.1 `https://github.com/clemapfel/mousetrap.jl#main`
  [6ebb71f1] GTK4_jll v4.10.5+0
  [7746bdde] Glib_jll v2.76.5+0
  [583852a3] libadwaita_jll v1.2.0+0
  [3eaa8342] libcxxwrap_julia_jll v0.11.1+0
  [0e90efc8] mousetrap_jll v0.3.0+0
  [b77e0a4c] InteractiveUtils
  [44cfe95a] Pkg v1.9.2
  [8dfed614] Test
      Status `/private/var/folders/jb/plyyfc_d2bz195_0rc0n_zcw0000gp/T/jl_N1tCsu/Manifest.toml`
  [a4c015fc] ANSIColoredPrinters v0.0.1
  [1520ce14] AbstractTrees v0.4.4
  [c7e460c6] ArgParse v1.1.4
  [bf4720bc] AssetRegistry v0.1.0
⌅ [15f4f7f2] AutoHashEquals v0.2.0
  [12aac903] BinaryBuilder v0.5.6
  [7f725544] BinaryBuilderBase v1.26.0
  [d1d4a3ce] BitFlags v0.1.8
  [944b1d66] CodecZlib v0.7.3
  [34da2185] Compat v4.10.0
  [f0e56b4a] ConcurrentUtilities v2.3.0
  [1f15a43c] CxxWrap v0.14.2
  [9a962f9c] DataAPI v1.15.0
  [e2d170a0] DataValueInterfaces v1.0.0
  [ffbed154] DocStringExtensions v0.9.3
  [e30172f5] Documenter v1.1.2
  [460bff9d] ExceptionUnwrapping v0.1.9
  [e2ba6199] ExprTools v0.1.10
  [5789e2e9] FileIO v1.16.1
  [59287772] Formatting v0.4.2
  [8f6bce27] GitForge v0.4.2
  [bc5e4493] GitHub v5.9.0
  [cd3eb016] HTTP v1.10.0
  [9fb69e20] Hiccup v0.2.2
  [6df8b67a] HistoricalStdlibVersions v1.2.1
  [b5f81e59] IOCapture v0.2.3
  [842dd82b] InlineStrings v1.4.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [033835bb] JLD2 v0.4.38
  [692b3bcd] JLLWrappers v1.5.0
  [682c06a0] JSON v0.21.4
  [0f8b85d8] JSON3 v1.13.2
  [b964fa9f] LaTeXStrings v1.3.1
  [23fbe1c1] Latexify v0.16.1
  [0e77f7df] LazilyInitializedFields v1.2.2
⌅ [e6f89c97] LoggingExtras v0.4.9
  [1914dd2f] MacroTools v0.5.11
  [d0879d2d] MarkdownAST v0.1.2
  [739be429] MbedTLS v1.1.8
  [78c3b35d] Mocking v0.7.7
  [5deeb4b9] Mousetrap v0.3.1 `https://github.com/clemapfel/mousetrap.jl#main`
  [ffc61752] Mustache v1.0.19
  [a975b10e] Mux v1.0.1
⌅ [d8793406] ObjectFile v0.3.7
  [4d8831e6] OpenSSL v1.4.1
  [bac558e1] OrderedCollections v1.6.2
  [6c11c7d4] OutputCollectors v0.1.1
  [69de0a69] Parsers v2.8.0
  [fa939f87] Pidfile v1.3.0
  [fc669557] PkgLicenses v0.2.0
  [aea7be01] PrecompileTools v1.2.0
  [21216c6a] Preferences v1.4.1
  [92933f4c] ProgressMeter v1.9.0
  [189a3867] Reexport v1.2.2
⌃ [4418983a] Registrator v1.6.0
  [2792f1a3] RegistryInstances v0.1.0
⌅ [d1eb7eb1] RegistryTools v1.9.1
  [ae029012] Requires v1.3.0
  [6c6a2e73] Scratch v1.2.1
  [777ac1f9] SimpleBufferStream v1.1.0
  [2133526b] SodiumSeal v0.1.1
  [53d494c1] StructIO v0.3.0
  [856f2bd8] StructTypes v1.10.0
  [dc5dba14] TZJData v1.0.0+2023c
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.11.1
  [b718987f] TextWrap v1.0.1
  [37f0c46e] TimeToLive v0.3.0
  [f269a46b] TimeZones v1.13.0
  [3bb67fe8] TranscodingStreams v0.10.2
  [5c2747f8] URIs v1.5.1
  [c2297ded] ZMQ v1.2.2
  [1fd713ca] Attr_jll v2.5.1+0
  [6e34b625] Bzip2_jll v1.0.8+0
  [83423d85] Cairo_jll v1.16.1+1
  [2702e6a9] EpollShim_jll v0.0.20230411+0
  [2e619515] Expat_jll v2.5.0+0
  [a3f928ae] Fontconfig_jll v2.13.93+0
  [d7e528f0] FreeType2_jll v2.13.1+0
  [559328eb] FriBidi_jll v1.0.10+0
  [bde7f898] GLEW_jll v2.2.0+0
  [bd17208b] GLU_jll v9.0.1+0
  [6ebb71f1] GTK4_jll v4.10.5+0
  [78b55507] Gettext_jll v0.21.0+0
  [7746bdde] Glib_jll v2.76.5+0
  [75302f13] Graphene_jll v1.10.6+0
  [3b182d85] Graphite2_jll v1.3.14+0
  [be1be57a] Gzip_jll v1.13.0+0
  [2e76f6c2] HarfBuzz_jll v2.8.1+1
  [aacddb02] JpegTurbo_jll v2.1.91+0
  [88015f11] LERC_jll v3.0.0+1
  [1d63c593] LLVMOpenMP_jll v15.0.4+0
  [dd4b983a] LZO_jll v2.10.1+0
  [42c93a91] Libepoxy_jll v1.5.10+0
⌅ [e9f186c6] Libffi_jll v3.2.2+1
  [d4300ac3] Libgcrypt_jll v1.8.7+0
  [7e76a0d4] Libglvnd_jll v1.6.0+0
  [7add5ba3] Libgpg_error_jll v1.42.0+0
  [94ce4f54] Libiconv_jll v1.17.0+0
  [4b2f31a3] Libmount_jll v2.35.0+0
⌅ [89763e89] Libtiff_jll v4.4.0+0
  [38a345b3] Libuuid_jll v2.36.0+0
  [cc7be9be] OpenGLMathematics_jll v0.9.9+0
  [458c3c95] OpenSSL_jll v3.0.12+0
  [36c8627f] Pango_jll v1.50.14+0
  [30392449] Pixman_jll v0.42.2+0
  [9b64493d] Tar_jll v1.35.0+0
  [a2964d1f] Wayland_jll v1.21.0+1
  [2381bf8a] Wayland_protocols_jll v1.25.0+0
  [02c8fc9c] XML2_jll v2.11.5+0
  [aed1982a] XSLT_jll v1.1.34+0
  [ffd25f8a] XZ_jll v5.4.5+0
  [4f6342f7] Xorg_libX11_jll v1.8.6+0
  [0c0b7dd1] Xorg_libXau_jll v1.0.11+0
  [935fb764] Xorg_libXcursor_jll v1.2.0+4
  [0aeada51] Xorg_libXdamage_jll v1.1.5+4
  [a3789734] Xorg_libXdmcp_jll v1.1.4+0
  [1082639a] Xorg_libXext_jll v1.3.4+4
  [d091e8ba] Xorg_libXfixes_jll v5.0.3+4
  [a51aa0fd] Xorg_libXi_jll v1.7.10+4
  [d1454406] Xorg_libXinerama_jll v1.1.4+4
  [ec84b674] Xorg_libXrandr_jll v1.5.2+4
  [ea2f1a96] Xorg_libXrender_jll v0.9.10+4
  [14d82f49] Xorg_libpthread_stubs_jll v0.1.1+0
  [c7cfdc94] Xorg_libxcb_jll v1.15.0+0
  [cc61e674] Xorg_libxkbfile_jll v1.1.2+0
  [35661453] Xorg_xkbcomp_jll v1.4.6+0
  [33bec58e] Xorg_xkeyboard_config_jll v2.39.0+0
  [c5fb5394] Xorg_xtrans_jll v1.5.0+0
  [8f1865be] ZeroMQ_jll v4.3.4+0
  [3161d3a3] Zstd_jll v1.5.5+0
  [da03df04] gdk_pixbuf_jll v2.42.8+0
  [07c12ed4] ghr_jll v0.14.0+0
  [bf975903] iso_codes_jll v4.11.0+0
  [583852a3] libadwaita_jll v1.2.0+0
  [3eaa8342] libcxxwrap_julia_jll v0.11.1+0
  [b53b4c65] libpng_jll v1.6.38+0
  [a9144af2] libsodium_jll v1.0.20+0
  [0e90efc8] mousetrap_jll v0.3.0+0
  [1bc43ea1] pigz_jll v2.7.0+0
  [d8fb68d0] xkbcommon_jll v1.4.1+1
  [0dad84c5] ArgTools v1.1.1
  [56f22d72] Artifacts
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8ba89e20] Distributed
  [f43a241f] Downloads v1.6.0
  [7b1f6079] FileWatching
  [b77e0a4c] InteractiveUtils
  [4af54fe1] LazyArtifacts
  [b27032c2] LibCURL v0.6.4
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [ca575930] NetworkOptions v1.2.0
  [44cfe95a] Pkg v1.9.2
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA v0.7.0
  [9e88b42a] Serialization
  [6462fe0b] Sockets
  [fa267f1f] TOML v1.0.3
  [a4e569a6] Tar v1.10.0
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
  [e66e0078] CompilerSupportLibraries_jll v1.0.5+0
  [deac9b47] LibCURL_jll v8.4.0+0
  [e37daf67] LibGit2_jll v1.5.0+1
  [29816b5a] LibSSH2_jll v1.11.0+1
  [c8ffd9c3] MbedTLS_jll v2.28.2+0
  [14a3606d] MozillaCACerts_jll v2022.10.11
  [4536629a] OpenBLAS_jll v0.3.21+4
  [efcefdf7] PCRE2_jll v10.42.0+0
  [83775a58] Zlib_jll v1.2.13+0
  [8e850b90] libblastrampoline_jll v5.8.0+0
  [8e850ede] nghttp2_jll v1.52.0+1
  [3f19e933] p7zip_jll v17.4.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading.
Precompiling project...
  144 dependencies successfully precompiled in 56 seconds. 5 already precompiled.
  1 dependency had output during precompilation:
┌ Mousetrap [5deeb4b9-6e04-4da7-8b7f-c77fb1eae65e]
│  (process:86914): Core OpenGL-CRITICAL **: 01:19:59.223: ../gdk/macos/gdkmacosglcontext.c:408: invalid share context
│
│  (process:86914): mousetrap-WARNING **: 01:19:59.223: In gdk_gl_context_realize:invalid share context
│
│  (process:86914): mousetrap-CRITICAL **: 01:19:59.223: In initialize_opengl: Unable to create global OpenGL context, disabling the `RenderArea` widget
└
     Testing Running tests...

(process:86995): Core OpenGL-CRITICAL **: 01:20:13.138: ../gdk/macos/gdkmacosglcontext.c:408: invalid share context

(process:86995): mousetrap-WARNING **: 01:20:13.138: In gdk_gl_context_realize:invalid share context

(process:86995): mousetrap-CRITICAL **: 01:20:13.138: In initialize_opengl: Unable to create global OpenGL context, disabling the `RenderArea` widget
Test Summary: | Pass  Total  Time
Action        |    7      7  0.1s
Test Summary: | Pass  Total  Time
Adjustment    |   10     10  0.1s
Test Summary: | Pass  Total  Time
AlertDialog   |    8      8  0.1s
Test Summary: | Pass  Total  Time
Angle         |    1      1  0.0s

(<unknown>:86995): GLib-GIO-CRITICAL **: 01:20:21.455: g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(<unknown>:86995): GLib-GIO-CRITICAL **: 01:20:21.458: g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Test Summary: | Pass  Total  Time
Application   |   12     12  0.0s
Test Summary: | Pass  Total  Time
AspectFrame   |    7      7  0.0s
Test Summary: | Pass  Total  Time
Box           |    8      8  0.0s
Test Summary: | Pass  Total  Time
Button        |    6      6  0.1s
Test Summary: | Pass  Total  Time
CenterBox     |    3      3  0.0s
Test Summary: | Pass  Total  Time
CheckButton   |    8      8  0.1s
Test Summary: | Pass  Total  Time
ClampFrame    |    4      4  0.0s
Test Summary: | Pass  Total  Time
Clipboard     |    6      6  0.1s
Test Summary: | Pass  Total  Time
ColorChooser  |    5      5  0.0s
Test Summary: | Pass  Total  Time
Colors        |    2      2  0.0s
Test Summary:  | Pass  Total  Time
ColumnViewTest |   10     10  0.1s
Test Summary: | Pass  Total  Time
DropDown      |    5      5  0.0s
Test Summary: | Pass  Total  Time
Entry         |   11     11  0.1s
Test Summary:        | Pass  Total  Time
ClickEventController |    9      9  0.0s
Test Summary:       | Pass  Total  Time
DragEventController |    9      9  0.0s
Test Summary:        | Pass  Total  Time
FocusEventController |    4      4  0.0s
Test Summary:      | Pass  Total  Time
KeyEventController |    5      5  0.0s
Test Summary:            | Pass  Total  Time
LongPressEventController |    8      8  0.0s
Test Summary:         | Pass  Total  Time
MotionEventController |    5      5  0.0s
Test Summary:      | Pass  Total  Time
PanEventController |    9      9  0.0s
Test Summary:       | Pass  Total  Time
PinchZoomController |    3      3  0.0s
Test Summary:         | Pass  Total  Time
RotateEventController |    3      3  0.0s
Test Summary:         | Pass  Total  Time
ScrollEventController |    8      8  0.0s
Test Summary:           | Pass  Total  Time
ShortcutEventController |    4      4  0.0s
Test Summary:         | Pass  Total  Time
StylusEventController |   13     13  0.0s
Test Summary:        | Pass  Total  Time
SwipeEventController |    7      7  0.0s
Test Summary: | Pass  Total  Time
Expander      |    3      3  0.1s
Test Summary: | Pass  Total  Time
FileFilter    |    1      1  0.5s
Test Summary: | Pass  Total  Time
FileChooser   |   25     25  0.0s
Test Summary:  | Pass  Total  Time
FileDescriptor |   13     13  0.1s
Test Summary: | Pass  Total  Time
Fixed         |    1      1  0.0s
Test Summary: | Pass  Total  Time
Frame         |    3      3  0.0s
Test Summary: | Pass  Total  Time
FlowBox       |   10     10  0.0s
Test Summary: | Pass  Total  Time
GLTransform   |    9      9  0.0s
Test Summary: | Pass  Total  Time
GLArea        |    2      2  0.0s
Test Summary: | Pass  Total  Time
Grid          |   15     15  0.1s
Test Summary: | Pass  Total  Time
GridView      |   13     13  0.1s
Test Summary: | Pass  Total  Time
HeaderBar     |    5      5  0.0s
Test Summary: | Pass  Total  Time
Icon          |    1      1  0.0s
Test Summary: |Time
IconTheme     | None  0.0s
Test Summary: | Pass  Total  Time
Image         |    7      7  0.0s
Test Summary: | Pass  Total  Time
ImageDisplay  |    4      4  0.0s
Test Summary: | Pass  Total  Time
KeyFile       |   25     25  0.1s
Test Summary: | Pass  Total  Time
Label         |   19     19  0.1s
Test Summary: | Pass  Total  Time
LevelBar      |   10     10  0.0s
Test Summary: | Pass  Total  Time
ListView      |   12     12  0.0s
Mousetrap.jl-INFO: 01:20:23.529: LOG TEST
(<unknown>:86995): Mousetrap.jl-DEBUG: 01:20:23.529: LOG TEST

(<unknown>:86995): Mousetrap.jl-WARNING **: 01:20:23.529: LOG TEST

(<unknown>:86995): Mousetrap.jl-CRITICAL **: 01:20:23.529: LOG TEST
Test Summary: | Pass  Total  Time
Log           |    6      6  0.0s
Test Summary: | Pass  Total  Time
MenuModel     |    1      1  0.0s
Test Summary: | Pass  Total  Time
MenuBar       |    1      1  0.0s
Test Summary: | Pass  Total  Time
PopoverMenu   |    1      1  0.0s
Test Summary: | Pass  Total  Time
Notebook      |   20     20  0.2s
Test Summary: | Pass  Total  Time
Overlay       |    2      2  0.0s
Test Summary: | Pass  Total  Time
Paned         |   14     14  0.0s
Test Summary: | Pass  Total  Time
Popover       |    6      6  0.0s
Test Summary: | Pass  Total  Time
PopoverButton |    9      9  0.1s
Test Summary: | Pass  Total  Time
ProgressBar   |   10     10  0.0s

[86995] signal (11.2): Segmentation fault: 11
in expression starting at /Users/eph/.julia/packages/Mousetrap/BoOKO/test/runtests.jl:2775
jl_object_id__cold at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
immut_id_ at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
type_hash at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
typekey_hash at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_precompute_memoized_dt at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
inst_datatype_inner at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_inst_arg_tuple_type at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_call at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
_ZL8jl_callnIJN5jlcxx10BoxedValueIRN9mousetrap8RevealerEEEP11_jl_value_tEES7_S7_DpT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZL7jl_wrapIJN5jlcxx10BoxedValueIRN9mousetrap8RevealerEEEP11_jl_value_tEES7_DpT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZZZ19add_signal_revealedIN9mousetrap8RevealerEN5jlcxx11TypeWrapperIS1_EEEvT0_RKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEENKUlRS1_P11_jl_value_tE_clESF_SH_ENKUlSF_PvSH_E_clESF_SJ_SH_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZZN9mousetrap19has_signal_revealedINS_8RevealerEE23connect_signal_revealedIZZ19add_signal_revealedIS1_N5jlcxx11TypeWrapperIS1_EEEvT0_RKNSt3__112basic_stringIcNS9_11char_traitsIcEENS9_9allocatorIcEEEEENKUlRS1_P11_jl_value_tE_clESI_SK_EUlSI_PvSK_E_SK_EEvT_S8_ENKUlSM_SM_E_clESM_SM_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__18__invokeIRZN9mousetrap19has_signal_revealedINS1_8RevealerEE23connect_signal_revealedIZZ19add_signal_revealedIS3_N5jlcxx11TypeWrapperIS3_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS3_P11_jl_value_tE_clESJ_SL_EUlSJ_PvSL_E_SL_EEvT_SA_EUlSN_SN_E_JSN_SN_EEEDTclclsr3std3__1E7forwardISP_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSP_DpOSS_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZN9mousetrap19has_signal_revealedINS3_8RevealerEE23connect_signal_revealedIZZ19add_signal_revealedIS5_N5jlcxx11TypeWrapperIS5_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS5_P11_jl_value_tE_clESL_SN_EUlSL_PvSN_E_SN_EEvT_SC_EUlSP_SP_E_SP_SP_EEEvDpOT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function12__alloc_funcIZN9mousetrap19has_signal_revealedINS2_8RevealerEE23connect_signal_revealedIZZ19add_signal_revealedIS4_N5jlcxx11TypeWrapperIS4_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS4_P11_jl_value_tE_clESK_SM_EUlSK_PvSM_E_SM_EEvT_SB_EUlSO_SO_E_NSF_ISR_EEFvSO_SO_EEclEOSO_SV_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function6__funcIZN9mousetrap19has_signal_revealedINS2_8RevealerEE23connect_signal_revealedIZZ19add_signal_revealedIS4_N5jlcxx11TypeWrapperIS4_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS4_P11_jl_value_tE_clESK_SM_EUlSK_PvSM_E_SM_EEvT_SB_EUlSO_SO_E_NSF_ISR_EEFvSO_SO_EEclEOSO_SV_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__110__function12__value_funcIFvPvS2_EEclEOS2_S5_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__18functionIFvPvS1_EEclES1_S1_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZN9mousetrap19has_signal_revealedINS_8RevealerEE7wrapperEPvS3_PNS_6detail26_HasSignalRevealedInternalE at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
g_closure_invoke at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
signal_emit_unlocked_R at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_object_dispatch_properties_changed at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_object_notify_by_spec_internal at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
gtk_revealer_start_animation at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
_ZN9mousetrap8Revealer15set_is_revealedEb at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap.0.dylib (unknown line)
_ZZN5jlcxx11TypeWrapperIN9mousetrap8RevealerEE6methodIvS2_JbEEERS3_RKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEMT0_FT_DpT1_EENKUlRS2_bE_clESL_b at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__18__invokeIRZN5jlcxx11TypeWrapperIN9mousetrap8RevealerEE6methodIvS4_JbEEERS5_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS4_bE_JSM_bEEEDTclclsr3std3__1E7forwardISH_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSH_DpOSP_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZN5jlcxx11TypeWrapperIN9mousetrap8RevealerEE6methodIvS6_JbEEERS7_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS6_bE_SO_bEEEvDpOT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function12__alloc_funcIZN5jlcxx11TypeWrapperIN9mousetrap8RevealerEE6methodIvS5_JbEEERS6_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS5_bE_NSC_ISO_EEFvSN_bEEclESN_Ob at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function6__funcIZN5jlcxx11TypeWrapperIN9mousetrap8RevealerEE6methodIvS5_JbEEERS6_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS5_bE_NSC_ISO_EEFvSN_bEEclESN_Ob at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__110__function12__value_funcIFvRN9mousetrap8RevealerEbEEclES4_Ob at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__18functionIFvRN9mousetrap8RevealerEbEEclES3_b at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZN5jlcxx6detail17ReturnTypeAdapterIvJRN9mousetrap8RevealerEbEEclEPKvNS_13WrappedCppPtrEb at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZN5jlcxx6detail11CallFunctorIvJRN9mousetrap8RevealerEbEE5applyEPKvNS_13WrappedCppPtrEb at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
set_is_revealed! at /Users/eph/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:624
unknown function (ip: 0x1664180c3)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
set_is_revealed! at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:225
macro expansion at /Users/eph/.julia/packages/Mousetrap/BoOKO/test/runtests.jl:1892 [inlined]
macro expansion at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XC9YQX9HH2.0/build/default-honeycrisp-XC9YQX9HH2-0/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Test/src/Test.jl:1498 [inlined]
test_revealer at /Users/eph/.julia/packages/Mousetrap/BoOKO/test/runtests.jl:1881
#179 at /Users/eph/.julia/packages/Mousetrap/BoOKO/test/runtests.jl:2837
unknown function (ip: 0x157d083f7)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
do_apply at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
TypedFunction at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:91
#1055 at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:666
unknown function (ip: 0x157d5c13b)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
safe_call at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:190
unknown function (ip: 0x157d54357)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_call at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
_ZL12jl_safe_callIJP11_jl_value_tEES1_PKcS1_DpT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZZZ18add_signal_realizeIN9mousetrap5StackEN5jlcxx11TypeWrapperIS1_EEEvT0_RKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEENKUlRS1_P11_jl_value_tE_clESF_SH_ENKUlSF_SH_E_clESF_SH_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZZN9mousetrap18has_signal_realizeINS_5StackEE22connect_signal_realizeIZZ18add_signal_realizeIS1_N5jlcxx11TypeWrapperIS1_EEEvT0_RKNSt3__112basic_stringIcNS9_11char_traitsIcEENS9_9allocatorIcEEEEENKUlRS1_P11_jl_value_tE_clESI_SK_EUlSI_SK_E_SK_EEvT_S8_ENKUlPvE_clESO_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__18__invokeIRZN9mousetrap18has_signal_realizeINS1_5StackEE22connect_signal_realizeIZZ18add_signal_realizeIS3_N5jlcxx11TypeWrapperIS3_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS3_P11_jl_value_tE_clESJ_SL_EUlSJ_SL_E_SL_EEvT_SA_EUlPvE_JSP_EEEDTclclsr3std3__1E7forwardISO_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSO_DpOSS_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZN9mousetrap18has_signal_realizeINS3_5StackEE22connect_signal_realizeIZZ18add_signal_realizeIS5_N5jlcxx11TypeWrapperIS5_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS5_P11_jl_value_tE_clESL_SN_EUlSL_SN_E_SN_EEvT_SC_EUlPvE_SR_EEEvDpOT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function12__alloc_funcIZN9mousetrap18has_signal_realizeINS2_5StackEE22connect_signal_realizeIZZ18add_signal_realizeIS4_N5jlcxx11TypeWrapperIS4_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS4_P11_jl_value_tE_clESK_SM_EUlSK_SM_E_SM_EEvT_SB_EUlPvE_NSF_ISR_EEFvSQ_EEclEOSQ_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function6__funcIZN9mousetrap18has_signal_realizeINS2_5StackEE22connect_signal_realizeIZZ18add_signal_realizeIS4_N5jlcxx11TypeWrapperIS4_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS4_P11_jl_value_tE_clESK_SM_EUlSK_SM_E_SM_EEvT_SB_EUlPvE_NSF_ISR_EEFvSQ_EEclEOSQ_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__110__function12__value_funcIFvPvEEclEOS2_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__18functionIFvPvEEclES1_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZN9mousetrap18has_signal_realizeINS_5StackEE7wrapperEPvPNS_6detail25_HasSignalRealizeInternalE at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
g_closure_invoke at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
signal_emit_unlocked_R at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
gtk_widget_realize at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_widget_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_widget_real_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
_g_closure_invoke_va at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
gtk_widget_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_widget_real_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_scrolled_window_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
_g_closure_invoke_va at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
gtk_widget_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_widget_real_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
_g_closure_invoke_va at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
gtk_widget_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_widget_real_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
_g_closure_invoke_va at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
gtk_widget_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_widget_real_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
_g_closure_invoke_va at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
gtk_widget_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_widget_real_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_window_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
_g_closure_invoke_va at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
gtk_widget_map at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_window_show at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
g_closure_invoke at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
signal_emit_unlocked_R at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
gtk_widget_show at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
gtk_window_present_with_time at /Users/eph/.julia/artifacts/d4d16400d946002b5c98456242e24ad2f7cdeb5b/lib/libgtk-4.1.dylib (unknown line)
_ZN9mousetrap6Window7presentEv at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap.0.dylib (unknown line)
_ZZN5jlcxx11TypeWrapperIN9mousetrap6WindowEE6methodIvS2_JEEERS3_RKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEMT0_FT_DpT1_EENKUlRS2_E_clESL_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__18__invokeIRZN5jlcxx11TypeWrapperIN9mousetrap6WindowEE6methodIvS4_JEEERS5_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS4_E_JSM_EEEDTclclsr3std3__1E7forwardISH_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSH_DpOSP_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZN5jlcxx11TypeWrapperIN9mousetrap6WindowEE6methodIvS6_JEEERS7_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS6_E_SO_EEEvDpOT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function12__alloc_funcIZN5jlcxx11TypeWrapperIN9mousetrap6WindowEE6methodIvS5_JEEERS6_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS5_E_NSC_ISO_EEFvSN_EEclESN_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function6__funcIZN5jlcxx11TypeWrapperIN9mousetrap6WindowEE6methodIvS5_JEEERS6_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS5_E_NSC_ISO_EEFvSN_EEclESN_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__110__function12__value_funcIFvRN9mousetrap6WindowEEEclES4_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__18functionIFvRN9mousetrap6WindowEEEclES3_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZN5jlcxx6detail17ReturnTypeAdapterIvJRN9mousetrap6WindowEEEclEPKvNS_13WrappedCppPtrE at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZN5jlcxx6detail11CallFunctorIvJRN9mousetrap6WindowEEE5applyEPKvNS_13WrappedCppPtrE at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
present! at /Users/eph/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:624
unknown function (ip: 0x157d200af)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
present! at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:205
#178 at /Users/eph/.julia/packages/Mousetrap/BoOKO/test/runtests.jl:2858
unknown function (ip: 0x1353f82cf)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
do_apply at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
TypedFunction at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:91
#14 at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:1542
unknown function (ip: 0x135430263)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
do_apply at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
TypedFunction at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:91
#6 at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:657
unknown function (ip: 0x135488123)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
safe_call at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:190
unknown function (ip: 0x135480357)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_call at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
_ZL12jl_safe_callIJP11_jl_value_tEES1_PKcS1_DpT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZZZ19add_signal_activateIN9mousetrap11ApplicationEN5jlcxx11TypeWrapperIS1_EEEvT0_RKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEENKUlRS1_P11_jl_value_tE_clESF_SH_ENKUlSF_SH_E_clESF_SH_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZZN9mousetrap19has_signal_activateINS_11ApplicationEE23connect_signal_activateIZZ19add_signal_activateIS1_N5jlcxx11TypeWrapperIS1_EEEvT0_RKNSt3__112basic_stringIcNS9_11char_traitsIcEENS9_9allocatorIcEEEEENKUlRS1_P11_jl_value_tE_clESI_SK_EUlSI_SK_E_SK_EEvT_S8_ENKUlPvE_clESO_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__18__invokeIRZN9mousetrap19has_signal_activateINS1_11ApplicationEE23connect_signal_activateIZZ19add_signal_activateIS3_N5jlcxx11TypeWrapperIS3_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS3_P11_jl_value_tE_clESJ_SL_EUlSJ_SL_E_SL_EEvT_SA_EUlPvE_JSP_EEEDTclclsr3std3__1E7forwardISO_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSO_DpOSS_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZN9mousetrap19has_signal_activateINS3_11ApplicationEE23connect_signal_activateIZZ19add_signal_activateIS5_N5jlcxx11TypeWrapperIS5_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS5_P11_jl_value_tE_clESL_SN_EUlSL_SN_E_SN_EEvT_SC_EUlPvE_SR_EEEvDpOT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function12__alloc_funcIZN9mousetrap19has_signal_activateINS2_11ApplicationEE23connect_signal_activateIZZ19add_signal_activateIS4_N5jlcxx11TypeWrapperIS4_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS4_P11_jl_value_tE_clESK_SM_EUlSK_SM_E_SM_EEvT_SB_EUlPvE_NSF_ISR_EEFvSQ_EEclEOSQ_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function6__funcIZN9mousetrap19has_signal_activateINS2_11ApplicationEE23connect_signal_activateIZZ19add_signal_activateIS4_N5jlcxx11TypeWrapperIS4_EEEvT0_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEENKUlRS4_P11_jl_value_tE_clESK_SM_EUlSK_SM_E_SM_EEvT_SB_EUlPvE_NSF_ISR_EEFvSQ_EEclEOSQ_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__110__function12__value_funcIFvPvEEclEOS2_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__18functionIFvPvEEclES1_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZN9mousetrap19has_signal_activateINS_11ApplicationEE7wrapperEPvPNS_6detail26_HasSignalActivateInternalE at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
g_closure_invoke at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
signal_emit_unlocked_R at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit_valist at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_signal_emit at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgobject-2.0.0.dylib (unknown line)
g_application_activate at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgio-2.0.0.dylib (unknown line)
g_application_real_local_command_line at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgio-2.0.0.dylib (unknown line)
g_application_run at /Users/eph/.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/libgio-2.0.0.dylib (unknown line)
_ZN9mousetrap11Application3runEv at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap.0.dylib (unknown line)
_ZZN5jlcxx11TypeWrapperIN9mousetrap11ApplicationEE6methodIiS2_JEEERS3_RKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEMT0_FT_DpT1_EENKUlRS2_E_clESL_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__18__invokeIRZN5jlcxx11TypeWrapperIN9mousetrap11ApplicationEE6methodIiS4_JEEERS5_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS4_E_JSM_EEEDTclclsr3std3__1E7forwardISH_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSH_DpOSP_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__128__invoke_void_return_wrapperIiE6__callIJRZN5jlcxx11TypeWrapperIN9mousetrap11ApplicationEE6methodIiS6_JEEERS7_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS6_E_SO_EEEiDpOT_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function12__alloc_funcIZN5jlcxx11TypeWrapperIN9mousetrap11ApplicationEE6methodIiS5_JEEERS6_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS5_E_NSC_ISO_EEFiSN_EEclESN_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNSt3__110__function6__funcIZN5jlcxx11TypeWrapperIN9mousetrap11ApplicationEE6methodIiS5_JEEERS6_RKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEMT0_FT_DpT1_EEUlRS5_E_NSC_ISO_EEFiSN_EEclESN_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__110__function12__value_funcIFiRN9mousetrap11ApplicationEEEclES4_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZNKSt3__18functionIFiRN9mousetrap11ApplicationEEEclES3_ at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZN5jlcxx6detail17ReturnTypeAdapterIiJRN9mousetrap11ApplicationEEEclEPKvNS_13WrappedCppPtrE at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZN5jlcxx6detail11CallFunctorIiJRN9mousetrap11ApplicationEEE5applyEPKvNS_13WrappedCppPtrE at /Users/eph/.julia/artifacts/882ab26004ff440978d4267434eddc201ac65185/lib/libmousetrap_julia_binding.0.dylib (unknown line)
run! at /Users/eph/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:624
unknown function (ip: 0x1354400af)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
run! at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:1511
main at /Users/eph/.julia/packages/Mousetrap/BoOKO/src/Mousetrap.jl:1552
unknown function (ip: 0x1327bc14b)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
do_call at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
eval_body at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_interpret_toplevel_thunk at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_toplevel_eval_flex at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_toplevel_eval_flex at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_toplevel_eval_in at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
eval at ./boot.jl:370 [inlined]
include_string at ./loading.jl:1903
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
_include at ./loading.jl:1963
include at ./client.jl:478
unknown function (ip: 0x104680067)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
do_call at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
eval_body at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_interpret_toplevel_thunk at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_toplevel_eval_flex at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_toplevel_eval_flex at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_toplevel_eval_in at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jlplt_ijl_toplevel_eval_in_16100 at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/sys.dylib (unknown line)
eval at ./boot.jl:370 [inlined]
exec_options at ./client.jl:280
_start at ./client.jl:522
jfptr__start_54016 at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/sys.dylib (unknown line)
ijl_apply_generic at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
true_main at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_repl_entrypoint at /Users/eph/.julia/juliaup/julia-1.9.4+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
Allocations: 23785576 (Pool: 23765732; Big: 19844); GC: 33
ERROR: Package Mousetrap errored during testing (received signal: 11)

julia> versioninfo()
Julia Version 1.9.4
Commit 8e5136fa297 (2023-11-14 08:46 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 4 on 4 virtual cores
Environment:
  JULIA_NUM_THREADS = 4
  JULIA_PKG_SERVER_REGISTRY_PREFERENCE = eager
  JULIA_IMAGE_THREADS = 1

(jl_RU8C0p) pkg> st
Status `/private/var/folders/jb/plyyfc_d2bz195_0rc0n_zcw0000gp/T/jl_RU8C0p/Project.toml`
  [5deeb4b9] Mousetrap v0.3.1 `https://github.com/clemapfel/mousetrap.jl#main`

Note the demo works fine though:

using Mousetrap
main() do app::Application
    window = Window(app)
    set_child!(window, Label("Hello World!"))
    present!(window)
end

Is there a way to influence where new windows are created?

When opening a new window, say via an action set to a button the new window opens up at a rather random place. Closing the window and opening it again, it appears in a entirely different place every time. Is there some way to influence this?

A small example:

main() do app::Application
    main_window = Window(app)
    other_window = Window(app)
    set_hide_on_close!(other_window, true)

    button = Button()

    set_child!(main_window, button)

    open_other_window = Action("open_other_window.action", app) do x    
        set_is_modal!(other_window, true)
        present!(other_window)

        return nothing
    end
    set_action!(button, open_other_window)

    connect_signal_close_request!(main_window) do self::Window
        destroy!(other_window)
        return WINDOW_CLOSE_REQUEST_RESULT_ALLOW_CLOSE
    end

    present!(main_window)
end

Device specifivations:
Device name: DESKTOP-Q9AJ3HU
Processor: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz 4.10 GHz
Installed RAM: 16,0 GB
System type: 64-bit operating system, x64-based processor
Pen and touch: No pen or touch input is available for this display

Windows specifications:
Edition: Windows 10 Pro
Version: 22H2
Installed on: ‎ 16/‎12/‎2020
OS build: 19045.3930
Experience: Windows Feature Experience Pack 1000.19053.1000.0

MacOS Handles menus differently than Windows and Linux

MacOS handles all of the menu functions for applications. Generally, the Cocoa application object is supplied with delegates implementing a command pattern. Gtk has traditionally had difficulties with this, requiring a separate library to fully support it. Now, that library is deprecated because, supposedly, gtk4 handles that. It may be as simple as providing true values for GtkSettings:gtk-shell-shows-app-menu and GtkSettings:gtk-shell-shows-menubar

Potential bug with FileChooser

I'm relatively new to GUI programming, and I'm encountering what might be an issue of my own code, or it could be a bug. I'm working on an application where I need to implement a FileChooser that enables users to select a folder. Currently, I'm using Julia 1.9.1 and Mousetrap.jl version 0.3.0. To create the FileChooser, I'm using the following code snippet:

image_selector = FileChooser(FILE_CHOOSER_ACTION_SELECT_FOLDER, "Select")
present!(image_selector)

When I try to execute this function either in the Julia REPL or from the command line, I get a really long error message (see below). When I use the FileChooser to select an individual, file I don't get any error messages and all works well:

image_selector = FileChooser(FILE_CHOOSER_ACTION_SELECT_FOLDER, "Select")
present!(image_selector)
(process:1684): GLib-GIO-CRITICAL **: 20:08:45.900: g_settings_schema_source_lookup: assertion 'source != NULL' failed

(process:1684): GLib-GIO-CRITICAL **: 20:08:45.900: g_settings_schema_source_lookup: assertion 'source != NULL' failed

(julia.exe:1684): GLib-GIO-WARNING **: 20:08:48.966: C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\gdbus.exe dbus binary failed to launch bus, maybe incompatible version

(julia.exe:1684): GLib-GIO-ERROR **: 20:08:49.162: No GSettings schemas are installed on the system

[1684] signal (22): SIGABRT
in expression starting at C:\Users\manue\Documents\GitHub\ProteinCoLoc\src\gui.jl:9
crt_sig_handler at C:/workdir/src\signals-win.c:95
raise at C:\WINDOWS\System32\msvcrt.dll (unknown line)
abort at C:\WINDOWS\System32\msvcrt.dll (unknown line)
g_abort at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libglib-2.0-0.dll (unknown line)
g_log_structured_array.part.4 at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libglib-2.0-0.dll (unknown line)
g_log_default_handler at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libglib-2.0-0.dll (unknown line)
g_logv at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libglib-2.0-0.dll (unknown line)
g_log at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libglib-2.0-0.dll (unknown line)
g_settings_set_property at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgio-2.0-0.dll (unknown line)
g_object_new_internal at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
g_object_new_valist at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
g_object_new at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
_gtk_file_chooser_get_settings_for_widget at C:\Users\manue\.julia\artifacts\748abfff8fcf7cdfa703fab4dfd56b52ec2e6451\bin\libgtk-4-1.dll (unknown line)   
settings_load at C:\Users\manue\.julia\artifacts\748abfff8fcf7cdfa703fab4dfd56b52ec2e6451\bin\libgtk-4-1.dll (unknown line)
g_object_set_property at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
g_object_set_property at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
g_object_new_internal at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
g_object_new_valist at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
g_object_new at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
gtk_file_chooser_native_new at C:\Users\manue\.julia\artifacts\748abfff8fcf7cdfa703fab4dfd56b52ec2e6451\bin\libgtk-4-1.dll (unknown line)
create_file_chooser at C:\Users\manue\.julia\artifacts\748abfff8fcf7cdfa703fab4dfd56b52ec2e6451\bin\libgtk-4-1.dll (unknown line)
gtk_file_dialog_select_folder at C:\Users\manue\.julia\artifacts\748abfff8fcf7cdfa703fab4dfd56b52ec2e6451\bin\libgtk-4-1.dll (unknown line)
present at /workspace/srcdir/mousetrap/build\../src\file_chooser.cpp:258     
operator() at /opt/x86_64-w64-mingw32/bin/../x86_64-w64-mingw32/sys-root/usr/local/include/jlcxx\module.hpp:1009
__invoke_impl<void, jlcxx::TypeWrapper<mousetrap::FileChooser>::method<void, mousetrap::FileChooser>(const std::string&, void (mousetrap::FileChooser::*)())::<lambda(mousetrap::FileChooser&)>&, mousetrap::FileChooser&> at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\invoke.h:61        
__invoke_r<void, jlcxx::TypeWrapper<mousetrap::FileChooser>::method<void, mousetrap::FileChooser>(const std::string&, void (mousetrap::FileChooser::*)())::<lambda(mousetrap::FileChooser&)>&, mousetrap::FileChooser&> at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\invoke.h:111
_M_invoke at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\std_function.h:290
operator() at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\std_function.h:591
operator() at /opt/x86_64-w64-mingw32/bin/../x86_64-w64-mingw32/sys-root/usr/local/include/jlcxx\module.hpp:58
apply at /opt/x86_64-w64-mingw32/bin/../x86_64-w64-mingw32/sys-root/usr/local/include/jlcxx\module.hpp:72
present! at C:\Users\manue\.julia\packages\CxxWrap\5IZvn\src\CxxWrap.jl:624  
unknown function (ip: 000002ab00008b16)
present! at C:\Users\manue\.julia\packages\Mousetrap\C5TUg\src\Mousetrap.jl:193
#3 at C:\Users\manue\Documents\GitHub\ProteinCoLoc\src\gui.jl:90
unknown function (ip: 000002ab00006ed6)
jl_apply at C:/workdir/src\julia.h:1879 [inlined]
do_apply at C:/workdir/src\builtins.c:730
TypedFunction at C:\Users\manue\.julia\packages\Mousetrap\C5TUg\src\Mousetrap.jl:79
#14 at C:\Users\manue\.julia\packages\Mousetrap\C5TUg\src\Mousetrap.jl:1530  
unknown function (ip: 000002ab00007846)
jl_apply at C:/workdir/src\julia.h:1879 [inlined]
do_apply at C:/workdir/src\builtins.c:730
TypedFunction at C:\Users\manue\.julia\packages\Mousetrap\C5TUg\src\Mousetrap.jl:79
#6 at C:\Users\manue\.julia\packages\Mousetrap\C5TUg\src\Mousetrap.jl:645    
unknown function (ip: 000002ab00007f06)
safe_call at C:\Users\manue\.julia\packages\Mousetrap\C5TUg\src\Mousetrap.jl:178
unknown function (ip: 000002ab00007dc2)
jl_apply at C:/workdir/src\julia.h:1879 [inlined]
ijl_call at C:/workdir/src\jlapi.c:187
jl_safe_call<_jl_value_t*> at /workspace/srcdir/mousetrap_julia_binding/build\../cpp/..\mousetrap_julia_binding.hpp:39
operator() at /workspace/srcdir/mousetrap_julia_binding/build\../cpp/..\mousetrap_julia_binding.hpp:305
operator() at /workspace/x86_64-w64-mingw32-libgfortran5-cxx11/destdir/include/mousetrap\signal_component.hpp:254
__invoke_impl<void, mousetrap::has_signal_activate<mousetrap::Application>::connect_signal_activate<add_signal_activate<mousetrap::Application, jlcxx::TypeWrapper<mousetrap::Application> >(jlcxx::TypeWrapper<mousetrap::Application>, const std::string&)::<lambda(mousetrap::Application&, jl_function_t*)>::<lambda(mousetrap::Application&, jl_function_t*)>, _jl_value_t*>(add_signal_activate<mousetrap::Application, jlcxx::TypeWrapper<mousetrap::Application> >(jlcxx::TypeWrapper<mousetrap::Application>, const std::string&)::<lambda(mousetrap::Application&, jl_function_t*)>::<lambda(mousetrap::Application&, jl_function_t*)>, _jl_value_t*)::<lambda(void*)>&, void*> at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\invoke.h:61
__invoke_r<void, mousetrap::has_signal_activate<mousetrap::Application>::connect_signal_activate<add_signal_activate<mousetrap::Application, jlcxx::TypeWrapper<mousetrap::Application> >(jlcxx::TypeWrapper<mousetrap::Application>, const std::string&)::<lambda(mousetrap::Application&, jl_function_t*)>::<lambda(mousetrap::Application&, jl_function_t*)>, _jl_value_t*>(add_signal_activate<mousetrap::Application, jlcxx::TypeWrapper<mousetrap::Application> >(jlcxx::TypeWrapper<mousetrap::Application>, const std::string&)::<lambda(mousetrap::Application&, jl_function_t*)>::<lambda(mousetrap::Application&, jl_function_t*)>, _jl_value_t*)::<lambda(void*)>&, void*> at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\invoke.h:111
_M_invoke at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\std_function.h:290
operator() at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\std_function.h:591
wrapper at /workspace/x86_64-w64-mingw32-libgfortran5-cxx11/destdir/include/mousetrap\signal_component.hpp:254
g_closure_invoke at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
signal_emit_unlocked_R at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
g_signal_emit_valist at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
g_signal_emit at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgobject-2.0-0.dll (unknown line)
g_application_real_local_command_line at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgio-2.0-0.dll (unknown line)     
g_application_run at C:\Users\manue\.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\libgio-2.0-0.dll (unknown line)
run at /workspace/srcdir/mousetrap/build\../src\application.cpp:132
operator() at /opt/x86_64-w64-mingw32/bin/../x86_64-w64-mingw32/sys-root/usr/local/include/jlcxx\module.hpp:1009
__invoke_impl<int, jlcxx::TypeWrapper<mousetrap::Application>::method<int, mousetrap::Application>(const std::string&, int (mousetrap::Application::*)())::<lambda(mousetrap::Application&)>&, mousetrap::Application&> at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\invoke.h:61
__invoke_r<int, jlcxx::TypeWrapper<mousetrap::Application>::method<int, mousetrap::Application>(const std::string&, int (mousetrap::Application::*)())::<lambda(mousetrap::Application&)>&, mousetrap::Application&> at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\invoke.h:114
_M_invoke at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\std_function.h:290
operator() at /opt/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.1.0/bits\std_function.h:591
operator() at /opt/x86_64-w64-mingw32/bin/../x86_64-w64-mingw32/sys-root/usr/local/include/jlcxx\module.hpp:47
apply at /opt/x86_64-w64-mingw32/bin/../x86_64-w64-mingw32/sys-root/usr/local/include/jlcxx\module.hpp:72
run! at C:\Users\manue\.julia\packages\CxxWrap\5IZvn\src\CxxWrap.jl:624      
unknown function (ip: 000002ab00007986)
run! at C:\Users\manue\.julia\packages\Mousetrap\C5TUg\src\Mousetrap.jl:1499 
main at C:\Users\manue\.julia\packages\Mousetrap\C5TUg\src\Mousetrap.jl:1540 [inlined]
main at C:\Users\manue\.julia\packages\Mousetrap\C5TUg\src\Mousetrap.jl:1526 
unknown function (ip: 000002ab00003646)
jl_apply at C:/workdir/src\julia.h:1879 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:226
eval_stmt_value at C:/workdir/src\interpreter.c:177 [inlined]
eval_body at C:/workdir/src\interpreter.c:624
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:762
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:912
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:856
ijl_toplevel_eval at C:/workdir/src\toplevel.c:921 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:971
eval at .\boot.jl:370 [inlined]
include_string at .\loading.jl:1899
_include at .\loading.jl:1959
9.1\lib\julia\sys.dll (unknown line)
exec_options at .\client.jl:307
_start at .\client.jl:522
jfptr__start_33001.clone_1 at C:\Users\manue\AppData\Local\Programs\Julia-1.9.1\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1879 [inlined]
true_main at C:/workdir/src\jlapi.c:573
jl_repl_entrypoint at C:/workdir/src\jlapi.c:717
mainCRTStartup at C:/workdir/cli\loader_exe.c:59
BaseThreadInitThunk at C:\WINDOWS\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
Allocations: 2287451 (Pool: 2286548; Big: 903); GC: 3

Error when attempting to install on Windows 10

I am relatively new to Julia and when I attempted to install mousetrap on my Windows 10 machine, I got an error message with the last command.
It seems to be telling me something about dependencies but I have no idea what it all means. Could you please help me to complete this installation? Here is a screenshot of the error messages.
Capture

first example crashes when starting Julia with multiple threads on apple silicon

In [2]: versioninfo()
Julia Version 1.9.2
Commit e4ee485e909 (2023-07-05 09:39 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 4 on 4 virtual cores
Environment:
  JULIA_NUM_THREADS = 4
  JULIA_PKG_SERVER_REGISTRY_PREFERENCE = eager

(@mousetrap) pkg> st
Status `~/.julia/environments/mousetrap/Project.toml`
  [5deeb4b9] mousetrap v0.1.0 `https://github.com/Clemapfel/mousetrap.jl#main`
  [7f2654e2] mousetrap_apple_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_apple_jll#main`
  [b6bb2801] mousetrap_linux_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_linux_jll#main`
  [1923bf96] mousetrap_windows_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_windows_jll#main`

In [4]: using mousetrap

In [5]: main() do app::Application
            window = Window(app)
            set_child!(window, Label("Hello World!"))
            present!(window)
        end

(process:93174): mousetrap.jl-WARNING **: 17:33:46.903: In mousetrap.main: You are running mousetrap from within the REPL. Interactive use of mousetrap is an experimental feature, side-effects may occurr.
Out[5]: Task (runnable) @0x000000010e68a590

In [6]:
(<unknown>:93174): GLib-GIO-CRITICAL **: 17:33:47.332: g_settings_schema_source_lookup: assertion 'source != NULL' failed

(<unknown>:93174): GLib-GIO-CRITICAL **: 17:33:47.332: g_settings_schema_source_lookup: assertion 'source != NULL' failed
2023-08-20 17:33:47.392 julia[93174:85063167] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
)
libc++abi: terminating with uncaught exception of type NSException

[93174] signal (6): Abort trap: 6
in expression starting at none:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 5301661 (Pool: 5298319; Big: 3342); GC: 8
zsh: abort      julia

If I start Julia with

JULIA_NUM_THREADS=1 julia

then the example works, although it doesn't render as nicely as in the README screenshot.
Screen Shot 2023-08-20 at 17 35 47

Compilation Error on MacOS: invalid subtyping in definition of _Clock

Compilation of the Julia component throws (on aarch64, MacOS)

C++ exception while wrapping module detail: invalid subtyping in definition of _Clock with supertype Any
ERROR: LoadError: invalid subtyping in definition of _Clock with supertype Any
Stacktrace:
 [1] register_julia_module
   @ ~/.julia/packages/CxxWrap/aXNBY/src/CxxWrap.jl:393 [inlined]
 [2] readmodule(so_path::String, funcname::Symbol, m::Module, flags::Nothing)
   @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/aXNBY/src/CxxWrap.jl:742
 [3] wrapmodule(so_path::String, funcname::Symbol, m::Module, flags::Nothing)
   @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/aXNBY/src/CxxWrap.jl:747
 [4] include
   @ ./Base.jl:419 [inlined]
 [5] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
   @ Base ./loading.jl:1554
in expression starting at /Users/georgegkountouras/.julia/packages/mousetrap/TAzNJ/src/mousetrap.jl:9
in expression starting at stdin:1
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types ~/.julia/juliaup/julia-1.8.5+0.aarch64.apple.darwin14/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67
 [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{String}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Pkg.API ~/.julia/juliaup/julia-1.8.5+0.aarch64.apple.darwin14/share/julia/stdlib/v1.8/Pkg/src/API.jl:1435
 [3] precompile
   @ ~/.julia/juliaup/julia-1.8.5+0.aarch64.apple.darwin14/share/julia/stdlib/v1.8/Pkg/src/API.jl:1072 [inlined]
 [4] #precompile#225
   @ ~/.julia/juliaup/julia-1.8.5+0.aarch64.apple.darwin14/share/julia/stdlib/v1.8/Pkg/src/API.jl:1071 [inlined]
 [5] precompile (repeats 2 times)
   @ ~/.julia/juliaup/julia-1.8.5+0.aarch64.apple.darwin14/share/julia/stdlib/v1.8/Pkg/src/API.jl:1071 [inlined]
 [6] top-level scope
   @ REPL[8]:1

RenderArea disabled.

On Julia Version 1.10.0 (2023-12-25) this occurred:

julia> using Mousetrap

(process:4142): Core OpenGL-CRITICAL **: 08:05:19.967: ../gdk/macos/gdkmacosglcontext.c:408: invalid share context

(process:4142): mousetrap-WARNING **: 08:05:19.967: In gdk_gl_context_realize:invalid share context

(process:4142): mousetrap-CRITICAL **: 08:05:19.967: In initialize_opengl: Unable to create global OpenGL context, disabling the RenderArea widget

julia> main() do app::Application
window = Window(app)
#set_child!(window, Label("Hello World!"))
present!(window)

       render_area = RenderArea()
       rectangle = Rectangle(Vector2f(-0.5, 0.5), Vector2f(1, 1))
       add_render_task!(render_area, RenderTask(rectangle))


   end

(:4142): mousetrap-CRITICAL **: 08:05:24.460: In RenderArea(): trying to instantiate RenderArea, but the OpenGL component is disabled.

System Information:
Model Name: Mac mini
Model Identifier: Macmini8,1
Processor Name: 6-Core Intel Core i5
Processor Speed: 3 GHz
Number of Processors: 1
Total Number of Cores: 6
System Firmware Version: 2020.61.1.0.0 (iBridge: 21.16.2057.0.0,0)
System Version: macOS 14.2.1 (23C71) (Sonoma)
Kernel Version: Darwin 23.2.0

Could this have to do with OpenGL being deprecated on macOs? Is this issue likely to affect normal use of Mousetrap?

Outdated packages, Test error and example error

I started Julia in a fresh temporary environment on a Win 11 machine and ran the install instructions, and found some outdated packages and tests that errored.

`julia> begin
Pkg.add(url="https://github.com/clemapfel/mousetrap.jl")
Pkg.test("Mousetrap")
end

 Testing Running tests...

(julia.exe:42660): GLib-GIO-WARNING **: 09:02:19.905: C:\Users\jakez.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\gdbus.exe dbus binary failed to launch bus, maybe incompatible version
Test Summary: | Pass Total Time
Action | 7 7 0.3s
Test Summary: | Pass Total Time
Adjustment | 10 10 0.2s
Test Summary: | Pass Total Time
AlertDialog | 8 8 0.3s
Test Summary: | Pass Total Time
Angle | 1 1 0.0s

(julia.exe:42660): GLib-GIO-CRITICAL **: 09:02:38.171: g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(julia.exe:42660): GLib-GIO-CRITICAL **: 09:02:38.176: g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Test Summary: | Pass Total Time
Application | 12 12 0.1s
Test Summary: | Pass Total Time
AspectFrame | 7 7 0.0s
Test Summary: | Pass Total Time
Box | 8 8 0.1s
Test Summary: | Pass Total Time
Button | 6 6 0.2s
Test Summary: | Pass Total Time
CenterBox | 3 3 0.0s
CheckButton: Error During Test at C:\Users\jakez.julia\packages\Mousetrap\WZu6w\test\runtests.jl:338
Got exception outside of a @test
MethodError: no method matching CheckButtonState(::Int64)

Closest candidates are:
(::Type{T})(::T) where T<:Number
@ Core boot.jl:792
(::Type{T})(::CxxWrap.CxxWrapCore.CppEnum) where T<:Integer
@ CxxWrap C:\Users\jakez.julia\packages\CxxWrap\5IZvn\src\CxxWrap.jl:136
(::Type{<:Integer})(::Sockets.IPAddr)
@ Sockets C:\Users\jakez\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Sockets\src\IPAddr.jl:11
...

Stacktrace:
[1] convert(::Type{CheckButtonState}, x::Int64)
@ Base .\number.jl:7
[2] oftype(x::CheckButtonState, y::Int64)
@ Base .\essentials.jl:517
[3] zero(x::CheckButtonState)
@ Base .\number.jl:308
[4] unsigned(x::CheckButtonState)
@ Base .\int.jl:215
[5] ndigits0zpb(x::CheckButtonState, b::Int64)
@ Base .\intfuncs.jl:599
[6] ndigits0z(x::CheckButtonState, b::Int64)
@ Base .\intfuncs.jl:661
[7] ndigits(x::CheckButtonState; base::Int64, pad::Int64)
@ Base .\intfuncs.jl:700
[8] _str_sizehint(x::CheckButtonState)
@ Base .\strings\io.jl:131
[9] print_to_string(::Symbol, ::Vararg{Any})
@ Base .\strings\io.jl:143
[10] string
@ .\strings\io.jl:189 [inlined]
[11] show_aux(io::Base.DevNull, x::CheckButton, fields::Symbol)
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:473
[12] show
@ C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:2763 [inlined]
[13] macro expansion
@ C:\Users\jakez.julia\packages\Mousetrap\WZu6w\test\runtests.jl:340 [inlined]
[14] macro expansion
@ C:\Users\jakez\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Test\src\Test.jl:1577 [inlined]
[15] test_check_button(::Stack)
@ Main C:\Users\jakez.julia\packages\Mousetrap\WZu6w\test\runtests.jl:339
[16] (::var"#177#179")(container::Stack, window::Window)
@ Main C:\Users\jakez.julia\packages\Mousetrap\WZu6w\test\runtests.jl:2805
[17] (::TypedFunction)(::Stack, ::Vararg{Any})
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:91
[18] (::Mousetrap.var"#1055#1069"{Window, TypedFunction})(x::Tuple{CxxWrap.CxxWrapCore.CxxRef{Mousetrap.detail._Stack}})
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:666
[19] safe_call(scope::String, f::Function, args::Tuple{CxxWrap.CxxWrapCore.CxxRef{Mousetrap.detail._Stack}})
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:190
[20] present!(arg1::Mousetrap.detail._WindowAllocated)
@ Mousetrap.detail C:\Users\jakez.julia\packages\CxxWrap\5IZvn\src\CxxWrap.jl:624
[21] present!(x::Window)
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:205
[22] (::var"#176#178")(app::Application)
@ Main C:\Users\jakez.julia\packages\Mousetrap\WZu6w\test\runtests.jl:2861
[23] (::TypedFunction)(args::Application)
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:91
[24] (::Mousetrap.var"#14#15"{TypedFunction})(app::Application)
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:1542
[25] (::TypedFunction)(args::Application)
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:91
[26] (::Mousetrap.var"#6#8"{TypedFunction})(x::Tuple{CxxWrap.CxxWrapCore.CxxRef{Mousetrap.detail._Application}})
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:657
[27] safe_call(scope::String, f::Function, args::Tuple{CxxWrap.CxxWrapCore.CxxRef{Mousetrap.detail._Application}})
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:190
[28] run!(arg1::Mousetrap.detail._ApplicationAllocated)
@ Mousetrap.detail C:\Users\jakez.julia\packages\CxxWrap\5IZvn\src\CxxWrap.jl:624
[29] run!(app::Application)
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:1511
[30] main(f::Function, application_id::String)
@ Mousetrap C:\Users\jakez.julia\packages\Mousetrap\WZu6w\src\Mousetrap.jl:1552
[31] top-level scope
@ C:\Users\jakez.julia\packages\Mousetrap\WZu6w\test\runtests.jl:2778
[32] include(fname::String)
@ Base.MainInclude .\client.jl:489
[33] top-level scope
@ none:6
[34] eval
@ Core .\boot.jl:385 [inlined]
[35] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:291
[36] _start()
@ Base .\client.jl:552
Test Summary: | Error Total Time
CheckButton | 1 1 2.0s
[ERROR] In Stack::emit_signal_realize: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
Testing Mousetrap tests passed

(jl_MJtt0i) pkg> status --outdated -m
Status C:\Users\jakez\AppData\Local\Temp\jl_MJtt0i\Manifest.toml
⌅ [15f4f7f2] AutoHashEquals v0.2.0 (<v2.1.0): Registrator, RegistryTools
⌅ [d8793406] ObjectFile v0.3.7 (<v0.4.1): BinaryBuilder
⌅ [e9f186c6] Libffi_jll v3.2.2+1 (<v3.4.4+0): Glib_jll, HarfBuzz_jll, Wayland_jll
⌅ [89763e89] Libtiff_jll v4.4.0+0 (<v4.6.0+0): gdk_pixbuf_jll
⌅ [3eaa8342] libcxxwrap_julia_jll v0.11.2+0 (<v0.12.0+0): CxxWrap

`

Then I tried the first example and it failed to run with the following message.

`julia> using Mousetrap

julia> main() do app::Application
window = Window(app)
set_child!(window, Label("Hellowworld!"))
present!(window)
end

(julia.exe:41196): GLib-GIO-WARNING **: 09:07:12.279: C:\Users\jakez.julia\artifacts\13606487e48c4dea9d20813adf4f03a3edea59fd\bin\gdbus.exe dbus binary failed to launch bus, maybe incompatible version
`

retina_scaling_factor not defined

Using julia 1.10 on both macos-arm and ubuntu get the same error:

julia> using MousetrapMakie
Precompiling MousetrapMakie
Info Given MousetrapMakie was explicitly requested, output will be shown live
ERROR: LoadError: UndefVarError: retina_scaling_factor not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:31
[2] top-level scope
@ ~/.julia/packages/MousetrapMakie/trewM/src/MousetrapMakie.jl:109
[3] include
@ Base ./Base.jl:495 [inlined]
[4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2216
[5] top-level scope
@ stdin:3
in expression starting at /Users/moo293/.julia/packages/MousetrapMakie/trewM/src/MousetrapMakie.jl:1
in expression starting at stdin:3
✗ MousetrapMakie
0 dependencies successfully precompiled in 10 seconds. 344 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

MousetrapMakie [aebf437e-4a9b-4da2-be5f-abfe051cab05]

Failed to precompile MousetrapMakie [aebf437e-4a9b-4da2-be5f-abfe051cab05] to "/Users/moo293/.julia/compiled/v1.10/MousetrapMakie/jl_9OFvFJ".
ERROR: LoadError: UndefVarError: retina_scaling_factor not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:31
[2] top-level scope
@ ~/.julia/packages/MousetrapMakie/trewM/src/MousetrapMakie.jl:109
[3] include
@ Base ./Base.jl:495 [inlined]
[4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2216
[5] top-level scope
@ stdin:3
in expression starting at /Users/moo293/.julia/packages/MousetrapMakie/trewM/src/MousetrapMakie.jl:1
in expression starting at stdin:
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
[2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@kwargs{…})
@ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:1656
[3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@kwargs{_from_loading::Bool})
@ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
[4] precompile
@ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
[5] #precompile#114
@ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
[6] #invokelatest#2
@ Base ./essentials.jl:889 [inlined]
[7] invokelatest
@ Base ./essentials.jl:884 [inlined]
[8] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1957
[9] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1806
[10] #invoke_in_world#3
@ Base ./essentials.jl:921 [inlined]
[11] invoke_in_world
@ Base ./essentials.jl:918 [inlined]
[12] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1797
[13] macro expansion
@ Base ./loading.jl:1784 [inlined]
[14] macro expansion
@ Base ./lock.jl:267 [inlined]
[15] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1747
[16] #invoke_in_world#3
@ Base ./essentials.jl:921 [inlined]
[17] invoke_in_world
@ Base ./essentials.jl:918 [inlined]
[18] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1740
Some type information was truncated. Use show(err) to see complete types.

Gtk4LayerShell

I'd like to setup some desktop widgets on wayland, but i'm out of my comfort zone.
Wondering how to go about it:

  • is gtk-layer-shell supported?
  • if not -- is it in scope?
    Best.

Consider renaming the package

Julia packages usually start with a capital letter. Furthermore a name that indicates the functionality is also nice to have.

So perhaps rename it it to MousetrapGUI or something similar?

Crash when `using Mousetrap` is not executed in `Main` directly

Run active file containing hello world example within VSCode causes a segmentation fault. Running program within embedded REPL does not cause segmentation fault.

UPDATE: Remove the module definition and its associated end statement and Hello World snippet performs as expected.

Perhaps its a case for the VSCode Julia debugger?

MacOS 12.7 Monterrey

[25315] signal (11.1): Segmentation fault: 11
in expression starting at /Users/dave/.vscode/extensions/julialang.language-julia-1.54.2/scripts/debugger/run_debugger.jl:10
ijl_apply_generic at /Users/dave/.julia/juliaup/julia-1.9.3+0.x64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_call at /Users/dave/.julia/juliaup/julia-1.9.3+0.x64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ZL12jl_safe_callIJP11_jl_value_tEES1_PKcS1_DpT at /Users/dave/.julia/artifacts/ef0be4270dcb0de753d5b452453358cebe124d09/lib/libmousetrap_julia_binding.0.dylib (unknown line)
_ZZZ19add_signal_activateIN9mousetrap11ApplicationEN5jlcxx11TypeWrapperIS1_EEEvT0_RKNSt3__112basic_stringIcNS6_11char

using mousetrap fails on Ubuntu 13.04

I tested mousetrap on Ubuntu 13.04 with Wayland. I tested the #main branch and get the following error:

ulia> using mousetrap
Precompiling mousetrap
  ✗ mousetrap
  0 dependencies successfully precompiled in 2 seconds. 153 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

mousetrap [5deeb4b9-6e04-4da7-8b7f-c77fb1eae65e]

Failed to precompile mousetrap [5deeb4b9-6e04-4da7-8b7f-c77fb1eae65e] to "/home/ufechner/.julia/compiled/v1.10/mousetrap/jl_fhqkxg".
ERROR: LoadError: InitError: could not load library "/home/ufechner/.julia/artifacts/0ceedc27e08d1d889ed925ceec2770d50a45564f/lib/libmousetrap_julia_binding.so"
libjulia.so.1: cannot open shared object file: No such file or directory
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl ./libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl ./libdl.jl:116
  [3] macro expansion
    @ mousetrap_linux_jll ~/.julia/packages/JLLWrappers/pG9bm/src/products/library_generators.jl:63 [inlined]
  [4] __init__()
    @ mousetrap_linux_jll ~/.julia/packages/mousetrap_linux_jll/rgn5v/src/wrappers/x86_64-linux-gnu.jl:22
  [5] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1128
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1116
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1061
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base ./loading.jl:1575
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1932
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1806
 [11] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
 [12] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1797
 [14] macro expansion
    @ Base ./loading.jl:1784 [inlined]
 [15] macro expansion
    @ Base ./lock.jl:267 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1747
 [17] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
 [18] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1740
 [20] include
    @ Base ./Base.jl:489 [inlined]
 [21] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2216
 [22] top-level scope
    @ stdin:3
during initialization of module mousetrap_linux_jll
in expression starting at /home/ufechner/.julia/packages/mousetrap/BlclC/src/mousetrap.jl:9
in expression starting at stdin:3

Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.10.0-beta2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Types.jl:69
  [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{…})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0-beta2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:1577
  [3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0-beta2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
  [4] precompile
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0-beta2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
  [5] #precompile#114
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0-beta2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
  [6] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1957
  [7] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1806
  [8] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
  [9] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [10] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1797
 [11] macro expansion
    @ Base ./loading.jl:1784 [inlined]
 [12] macro expansion
    @ Base ./lock.jl:267 [inlined]
 [13] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1747
 [14] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
 [15] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [16] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1740
Some type information was truncated. Use `show(err)` to see complete types.

[Docs] Wrong signals documented for CheckButton

The documentation for the CheckButton widget has the signals of ToggleButton copypasted.

In reality there is no signal of clicked for CheckButton for example (Where I fell onto the issue)

Running `Pkg.test("moustrap")` causes Carbon Black Cloud to terminate the application

After running the installation commands as per the instructions, when running

Pkg.test("mousetrap")

Carbon Black Cloud terminates the Julia application, and the test fails. The full output can be seen here:

In [12]: Pkg.test("mousetrap")
     Testing mousetrap
      Status `C:\Users\<user>\AppData\Local\Temp\jl_QRoAUC\Project.toml`
  [12aac903] BinaryBuilder v0.5.6
  [1f15a43c] CxxWrap v0.13.4
  [e30172f5] Documenter v0.27.25
  [23fbe1c1] Latexify v0.16.1
  [5deeb4b9] mousetrap v0.1.0 `https://github.com/Clemapfel/mousetrap.jl#main`
  [7f2654e2] mousetrap_apple_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_apple_jll#main`
  [b6bb2801] mousetrap_linux_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_linux_jll#main`
  [1923bf96] mousetrap_windows_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_windows_jll#main`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [44cfe95a] Pkg v1.9.2 `@stdlib/Pkg`
  [8dfed614] Test `@stdlib/Test`
      Status `C:\Users\<user>\AppData\Local\Temp\jl_QRoAUC\Manifest.toml`
  [a4c015fc] ANSIColoredPrinters v0.0.1
  [c7e460c6] ArgParse v1.1.4
  [bf4720bc] AssetRegistry v0.1.0
  [15f4f7f2] AutoHashEquals v0.2.0
  [12aac903] BinaryBuilder v0.5.6
  [7f725544] BinaryBuilderBase v1.25.0
  [d1d4a3ce] BitFlags v0.1.7
  [944b1d66] CodecZlib v0.7.2
  [34da2185] Compat v4.9.0
  [f0e56b4a] ConcurrentUtilities v2.2.1
  [1f15a43c] CxxWrap v0.13.4
  [9a962f9c] DataAPI v1.15.0
  [e2d170a0] DataValueInterfaces v1.0.0
  [ffbed154] DocStringExtensions v0.9.3
  [e30172f5] Documenter v0.27.25
  [460bff9d] ExceptionUnwrapping v0.1.9
  [e2ba6199] ExprTools v0.1.10
  [5789e2e9] FileIO v1.16.1
  [59287772] Formatting v0.4.2
  [8f6bce27] GitForge v0.4.2
  [bc5e4493] GitHub v5.8.2
  [cd3eb016] HTTP v1.9.14
  [9fb69e20] Hiccup v0.2.2
  [6df8b67a] HistoricalStdlibVersions v1.2.1
  [b5f81e59] IOCapture v0.2.3
  [842dd82b] InlineStrings v1.4.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [033835bb] JLD2 v0.4.33
  [692b3bcd] JLLWrappers v1.4.1
  [682c06a0] JSON v0.21.4
  [0f8b85d8] JSON3 v1.13.2
  [b964fa9f] LaTeXStrings v1.3.0
  [23fbe1c1] Latexify v0.16.1
⌅ [e6f89c97] LoggingExtras v0.4.9
  [1914dd2f] MacroTools v0.5.10
  [739be429] MbedTLS v1.1.7
  [78c3b35d] Mocking v0.7.7
  [ffc61752] Mustache v1.0.17
  [a975b10e] Mux v1.0.1
⌅ [d8793406] ObjectFile v0.3.7
  [4d8831e6] OpenSSL v1.4.1
  [bac558e1] OrderedCollections v1.6.2
  [6c11c7d4] OutputCollectors v0.1.1
  [69de0a69] Parsers v2.7.2
  [fa939f87] Pidfile v1.3.0
  [fc669557] PkgLicenses v0.2.0
  [aea7be01] PrecompileTools v1.1.2
  [21216c6a] Preferences v1.4.0
  [92933f4c] ProgressMeter v1.7.2
  [3cdcf5f2] RecipesBase v1.3.4
  [189a3867] Reexport v1.2.2
⌃ [4418983a] Registrator v1.6.0
⌅ [d1eb7eb1] RegistryTools v1.9.1
  [ae029012] Requires v1.3.0
  [6c6a2e73] Scratch v1.2.0
  [777ac1f9] SimpleBufferStream v1.1.0
  [2133526b] SodiumSeal v0.1.1
  [53d494c1] StructIO v0.3.0
  [856f2bd8] StructTypes v1.10.0
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.10.1
  [b718987f] TextWrap v1.0.1
  [37f0c46e] TimeToLive v0.3.0
  [f269a46b] TimeZones v1.11.0
  [3bb67fe8] TranscodingStreams v0.9.13
  [5c2747f8] URIs v1.5.0
  [c2297ded] ZMQ v1.2.2
  [5deeb4b9] mousetrap v0.1.0 `https://github.com/Clemapfel/mousetrap.jl#main`
  [1fd713ca] Attr_jll v2.5.1+0
  [6e34b625] Bzip2_jll v1.0.8+0
  [83423d85] Cairo_jll v1.16.1+1
  [2e619515] Expat_jll v2.5.0+0
  [a3f928ae] Fontconfig_jll v2.13.93+0
  [d7e528f0] FreeType2_jll v2.13.1+0
  [559328eb] FriBidi_jll v1.0.10+0
  [bde7f898] GLEW_jll v2.2.0+0
  [bd17208b] GLU_jll v9.0.1+0
  [6ebb71f1] GTK4_jll v4.10.5+0
  [78b55507] Gettext_jll v0.21.0+0
  [7746bdde] Glib_jll v2.74.0+2
  [75302f13] Graphene_jll v1.10.6+0
  [3b182d85] Graphite2_jll v1.3.14+0
  [be1be57a] Gzip_jll v1.12.0+0
  [2e76f6c2] HarfBuzz_jll v2.8.1+1
  [aacddb02] JpegTurbo_jll v2.1.91+0
  [88015f11] LERC_jll v3.0.0+1
  [1d63c593] LLVMOpenMP_jll v15.0.4+0
  [dd4b983a] LZO_jll v2.10.1+0
  [42c93a91] Libepoxy_jll v1.5.10+0
⌅ [e9f186c6] Libffi_jll v3.2.2+1
  [d4300ac3] Libgcrypt_jll v1.8.7+0
  [7e76a0d4] Libglvnd_jll v1.6.0+0
  [7add5ba3] Libgpg_error_jll v1.42.0+0
  [94ce4f54] Libiconv_jll v1.16.1+2
  [4b2f31a3] Libmount_jll v2.35.0+0
⌅ [89763e89] Libtiff_jll v4.4.0+0
  [38a345b3] Libuuid_jll v2.36.0+0
  [cc7be9be] OpenGLMathematics_jll v0.9.9+0
  [458c3c95] OpenSSL_jll v3.0.10+0
  [36c8627f] Pango_jll v1.50.9+0
  [30392449] Pixman_jll v0.42.2+0
  [9b64493d] Tar_jll v1.34.0+1
  [a2964d1f] Wayland_jll v1.21.0+0
  [2381bf8a] Wayland_protocols_jll v1.25.0+0
  [546b0b6d] X11_jll v1.6.8+5
  [02c8fc9c] XML2_jll v2.10.3+0
  [aed1982a] XSLT_jll v1.1.34+0
  [ffd25f8a] XZ_jll v5.4.4+0
  [4f6342f7] Xorg_libX11_jll v1.8.6+0
  [0c0b7dd1] Xorg_libXau_jll v1.0.11+0
  [935fb764] Xorg_libXcursor_jll v1.2.0+4
  [0aeada51] Xorg_libXdamage_jll v1.1.5+4
  [a3789734] Xorg_libXdmcp_jll v1.1.4+0
  [1082639a] Xorg_libXext_jll v1.3.4+4
  [d091e8ba] Xorg_libXfixes_jll v5.0.3+4
  [a51aa0fd] Xorg_libXi_jll v1.7.10+4
  [d1454406] Xorg_libXinerama_jll v1.1.4+4
  [ec84b674] Xorg_libXrandr_jll v1.5.2+4
  [ea2f1a96] Xorg_libXrender_jll v0.9.10+4
  [14d82f49] Xorg_libpthread_stubs_jll v0.1.1+0
  [c7cfdc94] Xorg_libxcb_jll v1.15.0+0
  [cc61e674] Xorg_libxkbfile_jll v1.1.2+0
  [35661453] Xorg_xkbcomp_jll v1.4.6+0
  [33bec58e] Xorg_xkeyboard_config_jll v2.39.0+0
  [c5fb5394] Xorg_xtrans_jll v1.5.0+0
  [8f1865be] ZeroMQ_jll v4.3.4+0
  [3161d3a3] Zstd_jll v1.5.5+0
  [da03df04] gdk_pixbuf_jll v2.42.8+0
  [07c12ed4] ghr_jll v0.14.0+0
  [bf975903] iso_codes_jll v4.11.0+0
  [583852a3] libadwaita_jll v1.2.0+0
  [3eaa8342] libcxxwrap_julia_jll v0.9.7+3
  [5ad3ddd2] libjulia_jll v1.10.4+0
  [b53b4c65] libpng_jll v1.6.38+0
  [a9144af2] libsodium_jll v1.0.20+0
  [7f2654e2] mousetrap_apple_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_apple_jll#main`
  [b6bb2801] mousetrap_linux_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_linux_jll#main`
  [1923bf96] mousetrap_windows_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_windows_jll#main`
  [1bc43ea1] pigz_jll v2.7.0+0
  [d8fb68d0] xkbcommon_jll v1.4.1+0
  [0dad84c5] ArgTools v1.1.1 `@stdlib/ArgTools`
  [56f22d72] Artifacts `@stdlib/Artifacts`
  [2a0f44e3] Base64 `@stdlib/Base64`
  [ade2ca70] Dates `@stdlib/Dates`
  [8ba89e20] Distributed `@stdlib/Distributed`
  [f43a241f] Downloads v1.6.0 `@stdlib/Downloads`
  [7b1f6079] FileWatching `@stdlib/FileWatching`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [4af54fe1] LazyArtifacts `@stdlib/LazyArtifacts`
  [b27032c2] LibCURL v0.6.3 `@stdlib/LibCURL`
  [76f85450] LibGit2 `@stdlib/LibGit2`
  [8f399da3] Libdl `@stdlib/Libdl`
  [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [a63ad114] Mmap `@stdlib/Mmap`
  [ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
  [44cfe95a] Pkg v1.9.2 `@stdlib/Pkg`
  [de0858da] Printf `@stdlib/Printf`
  [3fa0cd96] REPL `@stdlib/REPL`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA v0.7.0 `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [6462fe0b] Sockets `@stdlib/Sockets`
  [fa267f1f] TOML v1.0.3 `@stdlib/TOML`
  [a4e569a6] Tar v1.10.0 `@stdlib/Tar`
  [8dfed614] Test `@stdlib/Test`
  [cf7118a7] UUIDs `@stdlib/UUIDs`
  [4ec0a83e] Unicode `@stdlib/Unicode`
  [e66e0078] CompilerSupportLibraries_jll v1.0.5+0 `@stdlib/CompilerSupportLibraries_jll`
  [47c5dbc3] LLVMLibUnwind_jll v12.0.1+0 `@stdlib/LLVMLibUnwind_jll`
  [deac9b47] LibCURL_jll v7.84.0+0 `@stdlib/LibCURL_jll`
  [e37daf67] LibGit2_jll v1.5.0+1 `@stdlib/LibGit2_jll`
  [29816b5a] LibSSH2_jll v1.10.2+0 `@stdlib/LibSSH2_jll`
  [183b4373] LibUV_jll v2.0.1+13 `@stdlib/LibUV_jll`
  [745a5e78] LibUnwind_jll v1.5.0+4 `@stdlib/LibUnwind_jll`
  [c8ffd9c3] MbedTLS_jll v2.28.2+0 `@stdlib/MbedTLS_jll`
  [14a3606d] MozillaCACerts_jll v2022.10.11 `@stdlib/MozillaCACerts_jll`
  [4536629a] OpenBLAS_jll v0.3.21+4 `@stdlib/OpenBLAS_jll`
  [efcefdf7] PCRE2_jll v10.42.0+0 `@stdlib/PCRE2_jll`
  [83775a58] Zlib_jll v1.2.13+0 `@stdlib/Zlib_jll`
  [8e850b90] libblastrampoline_jll v5.8.0+0 `@stdlib/libblastrampoline_jll`
  [8e850ede] nghttp2_jll v1.48.0+0 `@stdlib/nghttp2_jll`
  [3f19e933] p7zip_jll v17.4.0+0 `@stdlib/p7zip_jll`
        Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading.
     Testing Running tests...

(julia.exe:39368): GLib-GIO-WARNING **: 09:38:06.052: C:\Users\<user>\.julia\artifacts\4f67e82ee394e74ca63b7dc589dcc9218c12b20a\bin\gdbus.exe dbus binary failed to launch bus, maybe incompatible version
ERROR: Package mousetrap errored during testing
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\Types.jl:69
  [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
    @ Pkg.Operations C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\Operations.jl:2021
  [3] test
    @ C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\Operations.jl:1902 [inlined]
  [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
    @ Pkg.API C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\API.jl:441
  [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\API.jl:156
  [6] test(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\API.jl:145
  [7] #test#75
    @ C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\API.jl:144 [inlined]
  [8] test
    @ C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\API.jl:144 [inlined]
  [9] #test#74
    @ C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\API.jl:143 [inlined]
 [10] test(pkg::String)
    @ Pkg.API C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\API.jl:143
 [11] top-level scope
    @ REPL[12]:1
 [12] top-level scope
    @ C:\Users\<user>\.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\REPL.jl:1416
    ```
    

Animation longer than 10^7 seconds gives very inaccurate timestep value

I'm trying to play an animation indefinitely and the closest I could find was using Animation(render_area, seconds(1e10)). However, setting a time span longer than about 1e7 breaks the invariant value * timespan = time_elapsed.

Here's a working example of the code I wrote which ran into this (I made it work by lowering the animation length)

using Mousetrap

main() do app::Application
    window = Window(app)
    set_title!(window, "Bouncing Ball")

    render_area = RenderArea()

    shape = Ellipse(Vector2f(0, 0), 0.2, 0.2, 128)
    add_render_task!(render_area, RenderTask(shape))

    aspect_ratio = Ref(1.0)
    Mousetrap.connect_signal_resize!(render_area, shape) do ::RenderArea, width::Integer, height::Integer, ::Shape
        aspect_ratio[] = width / height
        nothing
    end

    animation = Animation(render_area, seconds(1e5))
    on_tick!(animation, render_area) do self::Animation, value::Float64, ra
        t = value * 1e5
        x = abs(t % 4 - 2) - 1
        t *= Base.MathConstants.φ
        y = 1 - (t % 22 - 2)^2

        w = min(.2, .2 / aspect_ratio[])
        h = min(.2, .2 * aspect_ratio[])
        as_ellipse!(shape,
            Vector2f((1-w)x, (1-h)y),
            w,
            h,
            128
        )
        queue_render(ra)
    end


    set_child!(window, render_area)

    present!(window)

    play!(animation)
end

When I set the animation time to 1e10, it moves really really fast.

Critical errors on package load (but still works fine)

I installed this following the installation instructions and ran the first example in the readme and everything worked successfully (yay!)

However, I also got several messages that looked like critical failures (apparently they weren't critical enough to actually break anything noticeable)

julia> using Mousetrap

(process:92270): GLib-GIO-CRITICAL **: 16:48:38.637: g_settings_schema_source_lookup: assertion 'source != NULL' failed

(process:92270): GLib-GIO-CRITICAL **: 16:48:38.637: g_settings_schema_source_lookup: assertion 'source != NULL' failed

(process:92270): Core OpenGL-CRITICAL **: 16:48:38.697: ../gdk/macos/gdkmacosglcontext.c:408: invalid share context

(process:92270): mousetrap-WARNING **: 16:48:38.697: In gdk_gl_context_realize:invalid share context

(process:92270): mousetrap-CRITICAL **: 16:48:38.697: In initialize_opengl: Unable to create OpenGL context, disabling the OpenGL component.

julia> main() do app::Application
           window = Window(app)
           set_child!(window, Label("Hello World!"))
           present!(window)
       end
0

julia> versioninfo()
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M2
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 1 on 4 virtual cores
Environment:
  JULIA_EDITOR = code

(@mousetrap) pkg> st
Status `~/.julia/environments/mousetrap/Project.toml`
  [5deeb4b9] Mousetrap v0.3.0 `https://github.com/clemapfel/mousetrap.jl#main`
  [287f9a42] libmousetrap_jll v0.3.0+0 `https://github.com/clemapfel/mousetrap_jll#main`

Screenshot 2023-10-20 at 4 48 57 PM
Manifest
(@mousetrap) pkg> st -m
Status `~/.julia/environments/mousetrap/Manifest.toml`
  [a4c015fc] ANSIColoredPrinters v0.0.1
  [1520ce14] AbstractTrees v0.4.4
  [c7e460c6] ArgParse v1.1.4
  [bf4720bc] AssetRegistry v0.1.0
⌅ [15f4f7f2] AutoHashEquals v0.2.0
  [12aac903] BinaryBuilder v0.5.6
  [7f725544] BinaryBuilderBase v1.26.0
  [d1d4a3ce] BitFlags v0.1.7
  [944b1d66] CodecZlib v0.7.3
  [34da2185] Compat v4.10.0
  [f0e56b4a] ConcurrentUtilities v2.2.1
  [1f15a43c] CxxWrap v0.14.0
  [9a962f9c] DataAPI v1.15.0
  [e2d170a0] DataValueInterfaces v1.0.0
  [ffbed154] DocStringExtensions v0.9.3
  [e30172f5] Documenter v1.1.1
  [460bff9d] ExceptionUnwrapping v0.1.9
  [e2ba6199] ExprTools v0.1.10
  [5789e2e9] FileIO v1.16.1
  [59287772] Formatting v0.4.2
  [8f6bce27] GitForge v0.4.2
  [bc5e4493] GitHub v5.9.0
  [cd3eb016] HTTP v1.10.0
  [9fb69e20] Hiccup v0.2.2
  [6df8b67a] HistoricalStdlibVersions v1.2.1
  [b5f81e59] IOCapture v0.2.3
  [842dd82b] InlineStrings v1.4.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [033835bb] JLD2 v0.4.36
  [692b3bcd] JLLWrappers v1.5.0
  [682c06a0] JSON v0.21.4
  [0f8b85d8] JSON3 v1.13.2
  [b964fa9f] LaTeXStrings v1.3.0
  [23fbe1c1] Latexify v0.16.1
  [0e77f7df] LazilyInitializedFields v1.2.1
⌅ [e6f89c97] LoggingExtras v0.4.9
  [1914dd2f] MacroTools v0.5.11
  [d0879d2d] MarkdownAST v0.1.2
  [739be429] MbedTLS v1.1.7
  [78c3b35d] Mocking v0.7.7
  [5deeb4b9] Mousetrap v0.3.0 `https://github.com/clemapfel/mousetrap.jl#main`
  [ffc61752] Mustache v1.0.17
  [a975b10e] Mux v1.0.1
⌅ [d8793406] ObjectFile v0.3.7
  [4d8831e6] OpenSSL v1.4.1
  [bac558e1] OrderedCollections v1.6.2
  [6c11c7d4] OutputCollectors v0.1.1
  [69de0a69] Parsers v2.7.2
  [fa939f87] Pidfile v1.3.0
  [fc669557] PkgLicenses v0.2.0
  [aea7be01] PrecompileTools v1.2.0
  [21216c6a] Preferences v1.4.1
  [92933f4c] ProgressMeter v1.9.0
  [189a3867] Reexport v1.2.2
⌃ [4418983a] Registrator v1.6.0
  [2792f1a3] RegistryInstances v0.1.0
⌅ [d1eb7eb1] RegistryTools v1.9.1
  [ae029012] Requires v1.3.0
  [6c6a2e73] Scratch v1.2.0
  [777ac1f9] SimpleBufferStream v1.1.0
  [2133526b] SodiumSeal v0.1.1
  [53d494c1] StructIO v0.3.0
  [856f2bd8] StructTypes v1.10.0
  [dc5dba14] TZJData v1.0.0+2023c
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.11.1
  [b718987f] TextWrap v1.0.1
  [37f0c46e] TimeToLive v0.3.0
  [f269a46b] TimeZones v1.13.0
  [3bb67fe8] TranscodingStreams v0.10.1
  [5c2747f8] URIs v1.5.1
  [c2297ded] ZMQ v1.2.2
  [1fd713ca] Attr_jll v2.5.1+0
  [6e34b625] Bzip2_jll v1.0.8+0
  [83423d85] Cairo_jll v1.16.1+1
  [2702e6a9] EpollShim_jll v0.0.20230411+0
  [2e619515] Expat_jll v2.5.0+0
  [a3f928ae] Fontconfig_jll v2.13.93+0
  [d7e528f0] FreeType2_jll v2.13.1+0
  [559328eb] FriBidi_jll v1.0.10+0
  [bde7f898] GLEW_jll v2.2.0+0
  [bd17208b] GLU_jll v9.0.1+0
  [6ebb71f1] GTK4_jll v4.10.5+0
  [78b55507] Gettext_jll v0.21.0+0
  [7746bdde] Glib_jll v2.76.5+0
  [75302f13] Graphene_jll v1.10.6+0
  [3b182d85] Graphite2_jll v1.3.14+0
  [be1be57a] Gzip_jll v1.12.0+0
  [2e76f6c2] HarfBuzz_jll v2.8.1+1
  [aacddb02] JpegTurbo_jll v2.1.91+0
  [88015f11] LERC_jll v3.0.0+1
  [1d63c593] LLVMOpenMP_jll v15.0.4+0
  [dd4b983a] LZO_jll v2.10.1+0
  [42c93a91] Libepoxy_jll v1.5.10+0
⌅ [e9f186c6] Libffi_jll v3.2.2+1
  [d4300ac3] Libgcrypt_jll v1.8.7+0
  [7e76a0d4] Libglvnd_jll v1.6.0+0
  [7add5ba3] Libgpg_error_jll v1.42.0+0
  [94ce4f54] Libiconv_jll v1.17.0+0
  [4b2f31a3] Libmount_jll v2.35.0+0
⌅ [89763e89] Libtiff_jll v4.4.0+0
  [38a345b3] Libuuid_jll v2.36.0+0
  [cc7be9be] OpenGLMathematics_jll v0.9.9+0
  [458c3c95] OpenSSL_jll v3.0.11+0
  [36c8627f] Pango_jll v1.50.14+0
  [30392449] Pixman_jll v0.42.2+0
  [9b64493d] Tar_jll v1.35.0+0
  [a2964d1f] Wayland_jll v1.21.0+1
  [2381bf8a] Wayland_protocols_jll v1.25.0+0
  [02c8fc9c] XML2_jll v2.11.5+0
  [aed1982a] XSLT_jll v1.1.34+0
  [ffd25f8a] XZ_jll v5.4.4+0
  [4f6342f7] Xorg_libX11_jll v1.8.6+0
  [0c0b7dd1] Xorg_libXau_jll v1.0.11+0
  [935fb764] Xorg_libXcursor_jll v1.2.0+4
  [0aeada51] Xorg_libXdamage_jll v1.1.5+4
  [a3789734] Xorg_libXdmcp_jll v1.1.4+0
  [1082639a] Xorg_libXext_jll v1.3.4+4
  [d091e8ba] Xorg_libXfixes_jll v5.0.3+4
  [a51aa0fd] Xorg_libXi_jll v1.7.10+4
  [d1454406] Xorg_libXinerama_jll v1.1.4+4
  [ec84b674] Xorg_libXrandr_jll v1.5.2+4
  [ea2f1a96] Xorg_libXrender_jll v0.9.10+4
  [14d82f49] Xorg_libpthread_stubs_jll v0.1.1+0
  [c7cfdc94] Xorg_libxcb_jll v1.15.0+0
  [cc61e674] Xorg_libxkbfile_jll v1.1.2+0
  [35661453] Xorg_xkbcomp_jll v1.4.6+0
  [33bec58e] Xorg_xkeyboard_config_jll v2.39.0+0
  [c5fb5394] Xorg_xtrans_jll v1.5.0+0
  [8f1865be] ZeroMQ_jll v4.3.4+0
  [3161d3a3] Zstd_jll v1.5.5+0
  [da03df04] gdk_pixbuf_jll v2.42.8+0
  [07c12ed4] ghr_jll v0.14.0+0
  [bf975903] iso_codes_jll v4.11.0+0
  [583852a3] libadwaita_jll v1.2.0+0
  [3eaa8342] libcxxwrap_julia_jll v0.11.1+0
  [287f9a42] libmousetrap_jll v0.3.0+0 `https://github.com/clemapfel/mousetrap_jll#main`
  [b53b4c65] libpng_jll v1.6.38+0
  [a9144af2] libsodium_jll v1.0.20+0
  [1bc43ea1] pigz_jll v2.7.0+0
  [d8fb68d0] xkbcommon_jll v1.4.1+1
  [0dad84c5] ArgTools v1.1.1
  [56f22d72] Artifacts
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8ba89e20] Distributed
  [f43a241f] Downloads v1.6.0
  [7b1f6079] FileWatching
  [b77e0a4c] InteractiveUtils
  [4af54fe1] LazyArtifacts
  [b27032c2] LibCURL v0.6.3
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [ca575930] NetworkOptions v1.2.0
  [44cfe95a] Pkg v1.9.2
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA v0.7.0
  [9e88b42a] Serialization
  [6462fe0b] Sockets
  [fa267f1f] TOML v1.0.3
  [a4e569a6] Tar v1.10.0
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
  [e66e0078] CompilerSupportLibraries_jll v1.0.5+0
  [deac9b47] LibCURL_jll v7.84.0+0
  [e37daf67] LibGit2_jll v1.5.0+1
  [29816b5a] LibSSH2_jll v1.10.2+0
  [c8ffd9c3] MbedTLS_jll v2.28.2+0
  [14a3606d] MozillaCACerts_jll v2022.10.11
  [4536629a] OpenBLAS_jll v0.3.21+4
  [efcefdf7] PCRE2_jll v10.42.0+0
  [83775a58] Zlib_jll v1.2.13+0
  [8e850b90] libblastrampoline_jll v5.8.0+0
  [8e850ede] nghttp2_jll v1.48.0+0
  [3f19e933] p7zip_jll v17.4.0+0
Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`

Calling `activate!` does not instantly trigger emission of signal `clicked` for `Button`, and `ToggleButton`

When activate! is called, clicked will only be emitted after the "button clicked" animation is complete, as opposed to instantly.

Confirmed to be caused by

This will be fixed with the next version, until then simply use emit_signal_clicked instead of activate!.

Mousetrap not found

In julia REPL
] Pkg add Mousetrap
error
Mousetrap (not found in project, manifest or registry)
julia 1.9.3
Windows 11

Async calls

Thank you for this great package!

Is it possible to have async calls within actions? Perhaps I am missing something, but I was trying something like the following:

spinner = Spinner()
set_is_spinning!(spinner, false)

action = Action("example.test_spinner", app)
set_function!(action) do x::Action
    set_is_spinning!(spinner, true)
    Threads.@spawn begin
      sleep!(2)
      set_is_spinning!(spinner, false)
      println("HEY")
    end

    return nothing

end
set_action!(button, action)

I would expect to see the spinner spinning for 2 seconds and then stop, but it never stops, and "After sleep" is never printed. If I remove the spawn, then the window freezes for 2 seconds (the spinner is never shown spinning).

Any ideas? Thank you!

Unable to download artifact `iso_codes`

Hi,

I'm trying to install Mousetrap but getting the following error:

 Downloaded artifact: iso_codes
  Downloaded artifact: iso_codes
ERROR: Unable to automatically download/install artifact 'iso_codes' from sources listed in 'C:\Users\thoma\.julia\packages\iso_codes_jll\jLhko\Artifacts.toml'.
Sources attempted:
- https://pkg.julialang.org/artifact/695a3abd0af051dab62687501b9a61ad91c831a3
    Error: Tree Hash Mismatch!
  Expected git-tree-sha1:   695a3abd0af051dab62687501b9a61ad91c831a3
  Calculated git-tree-sha1: 1719102ef324df43b9fe123a231c2ee630931a03
- https://github.com/JuliaBinaryWrappers/iso_codes_jll.jl/releases/download/iso_codes-v4.15.0+0/iso_codes.v4.15.0.any.tar.gz
    Error: Tree Hash Mismatch!
  Expected git-tree-sha1:   695a3abd0af051dab62687501b9a61ad91c831a3
  Calculated git-tree-sha1: 1719102ef324df43b9fe123a231c2ee630931a03

Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] ensure_artifact_installed(name::String, meta::Dict{…}, artifacts_toml::String; platform::Base.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool, io::Base.TTY)
    @ Pkg.Artifacts C:\Users\thoma\.julia\juliaup\julia-1.10.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Artifacts.jl:422
  [3] 
    @ Pkg.Operations C:\Users\thoma\.julia\juliaup\julia-1.10.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:755
  [4] add(ctx::Pkg.Types.Context, pkgs::Vector{…}, new_git::Set{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
    @ Pkg.Operations C:\Users\thoma\.julia\juliaup\julia-1.10.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1394
  [5] add
    @ C:\Users\thoma\.julia\juliaup\julia-1.10.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1376 [inlined]
  [6] add(ctx::Pkg.Types.Context, pkgs::Vector{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{…})
    @ Pkg.API C:\Users\thoma\.julia\juliaup\julia-1.10.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:278
  [7] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})
    @ Pkg.API C:\Users\thoma\.julia\juliaup\julia-1.10.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:159
  [8] add(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API C:\Users\thoma\.julia\juliaup\julia-1.10.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:148
  [9] add(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API C:\Users\thoma\.julia\juliaup\julia-1.10.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:146 [inlined]
 [10] add(; name::Nothing, uuid::Nothing, version::Nothing, url::String, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::@Kwargs{})
    @ Pkg.API C:\Users\thoma\.julia\juliaup\julia-1.10.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:176
 [11] top-level scope
    @ c:\Users\thoma\magnetic_nozzles\mousetrap.jl:9
Some type information was truncated. Use `show(err)` to see complete types.

This results from running the following code:

import Pkg
begin
    Pkg.add(url="https://github.com/clemapfel/mousetrap_jll")
    Pkg.add(url="https://github.com/clemapfel/mousetrap.jl")
end

My system info is:

Host Name:               
OS Name:                   Microsoft Windows 11 Pro for Workstations
OS Version:                10.0.22621 N/A Build 22621
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:         
Registered Organization:   HP Inc.
Product ID:                00391-70000-00000-AA778
Original Install Date:     11/7/2022, 2:50:36 PM
System Boot Time:          1/10/2024, 1:46:52 AM
System Manufacturer:       HP
System Model:              HP ZBook Studio G5
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~2712 Mhz
BIOS Version:              HP Q71 Ver. 01.26.00, 9/25/2023
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-05:00) Eastern Time (US & Canada)
Total Physical Memory:     32,614 MB
Available Physical Memory: 16,472 MB
Virtual Memory: Max Size:  41,318 MB
Virtual Memory: Available: 8,552 MB
Virtual Memory: In Use:    32,766 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:             
Hotfix(s):                 4 Hotfix(s) Installed.
                           [01]: KB5033920
                           [02]: KB5012170
                           [03]: KB5034123
                           [04]: KB5032393

Add github workflow

While you have unit tests, they are not executed when creating or merging a pull request. Please add a workflow that:

  • runs the unit tests
  • checks the code coverage of the unit tests
  • builds the documentation
    preferably on Windows, Mac and Linux, but if its easier to make it work on one OS than start with that first.

Hello world critical warnings

1 dependency had warnings during precompilation:
┌ Mousetrap [5deeb4b9-6e04-4da7-8b7f-c77fb1eae65e]
│ (process:14922): Core OpenGL-CRITICAL **: 19:03:19.860: ../gdk/macos/gdkmacosglcontext.c:408: invalid share context

│ (process:14922): mousetrap-WARNING **: 19:03:19.860: In gdk_gl_context_realize:invalid share context

│ (process:14922): mousetrap-CRITICAL **: 19:03:19.860: In initialize_opengl: Unable to create OpenGL context, disabling the OpenGL component.

(process:14690): Core OpenGL-CRITICAL **: 19:05:12.858: ../gdk/macos/gdkmacosglcontext.c:408: invalid share context

(process:14690): mousetrap-WARNING **: 19:05:12.858: In gdk_gl_context_realize:invalid share context

(process:14690): mousetrap-CRITICAL **: 19:05:12.858: In initialize_opengl: Unable to create OpenGL context, disabling the OpenGL component.

if `gdk_context_realize` fails, crashes `construction from null is not valid`

On certain linux distros, such as the ChromeOS Linux container, calling mousetrap.detail.initialize() causes the following error:

julia>  mousetrap.detail.initialize()

(julia:2732): debug-CRITICAL : 16:53:03.591: In gdk_window_create_gl_context: Failed to create EGL display

(julia:2732): Gdk-CRITICAL : 16:53:03.592: gdk_gl_context_set_required_version: assertion 'GDK_IS_GL_CONTEXT (context)' failed

(julia:2732): Gdk-CRITICAL **: 16:53:03.592: gdk_gl_context_realize: assertion 'GDK_IS_GL_CONTEXT (context)' failed
ERROR: basic_string: construction from null is not valid
Stacktrace:
 [1] initialize()
   @ mousetrap.detail ~/.julia/packages/CxxWrap/aXNBY/src/CxxWrap.jl:624
 [2] top-level scope
   @ REPL[14]:

This is due to a fault in how failing to create the OpenGL context is handled. This will be fixed in version 0.2.0

Documented default scaling not implemented

From https://clemens-cords.com/mousetrap/01_manual/06_image/,

If no interpolation type is specified when calling as_scaled, INTERPOLATION_TYPE_TILES will be chosen as the default.

However, as of v0.3.1, there is no default.

[ERROR] In Animation::on_tick!: MethodError: no method matching as_scaled(::Image, ::Int64, ::Int64)

Closest candidates are:
  as_scaled(::Image, ::Integer, ::Integer, ::InterpolationType)
   @ Mousetrap ~/.julia/packages/Mousetrap/WZu6w/src/Mousetrap.jl:1905

hello world crashes on Ubuntu 22.04

julia> versioninfo()
Julia Version 1.9.2
Commit e4ee485e909 (2023-07-05 09:39 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 32 × AMD Ryzen 9 7950X 16-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, znver3)
  Threads: 1 on 32 virtual cores
Environment:
  LD_LIBRARY_PATH = /lib:/usr/lib:/usr/local/lib
(Mouse) pkg> st
Status `~/repos/Mouse/Project.toml`
  [5deeb4b9] mousetrap v0.1.0 `https://github.com/Clemapfel/mousetrap.jl#main`
  [7f2654e2] mousetrap_apple_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_apple_jll#main`
  [b6bb2801] mousetrap_linux_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_linux_jll#main`
  [1923bf96] mousetrap_windows_jll v0.1.0+0 `https://github.com/Clemapfel/mousetrap_windows_jll#main`
ufechner@ufryzen:~/repos/Mouse$ cat mouse.jl
using mousetrap
main() do app::Application
    window = Window(app)
    set_child!(window, Label("Hello World!"))
    present!(window)
end
julia> @time include("mouse.jl")

[20361] signal (11.1): Segmentation fault
in expression starting at /home/ufechner/repos/Mouse/mouse.jl:2
gdk_x11_surface_get_xid at /home/ufechner/.julia/artifacts/5498f875c31a1b3422ce1b64ef770407109eff30/lib/libgtk-4.so (unknown line)
Allocations: 1561196 (Pool: 1560438; Big: 758); GC: 2
Segmentation fault (core dumped)

MGL for macOS

https://github.com/openglonmetal/MGL

is LGPL2.1 is compatible with 3.0.

I'm confused about your language:

not an acceptable solution to pirate the OpenGL-to-Metal shared library, the source has to be legit and has to conform to the lGPL3-0 licensing mousetrap has.

FYI: Using MGL or other similar isn't "pirating", implying copyright infringement ("illegal"). Reuse is ok. Maybe someone needs to make a _jll for this. I'm not sure this is "the OpenGL-to-Metal shared library", is there a the or many? Any other GPL-compatible, e.g. MIT would be ok.

I'm just pointing out, macOS is not a priority for me. I don't use your package, nor macs. Your package just seems great, and I would really like a go-to-solution for all platforms. I think it may be already, and "OpenGL deprecated" overblown. I don't see how Apple will get away with dropping it. They likely will never, just provide MGL themselves if needed.

It's just a signal on their part that it will not be developed further, adding new features, later versions of OpenGL. I doubt there's a huge downside for them to keep it, only for dropping. To signal use Metal mean you will target our proprietary platform... good for them, and possibly a bit faster to not go though a compatibility layer, but of very little concern to you?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.