Closed ravener closed 1 month ago
This sounds a bit like while disposing the ToggleRef there is some invocation of the notify callback.
This needs to be investigated.
Good news, I can reproduce the bug on my system. I will work on the fix here: #1128
I'm dealing with a weird crash happening with the use of
Gtk.DropTarget
Strangely enough this only seems to happen inside Flatpak runtime. On both GNOME SDK 46 and 47. But I cannot reproduce it on my own machine locally (Debian 12, GNOME 43).
The problem seems related to garbage collection.
I've narrowed it down to a simple reproducible window that shows this:
File 1
button and when the file chooser opens, do not select the file with it but use it to drag and drop files into the File 1 button, this should update the file 1 button's label to the dragged file's name.File 2
button and watch the app crash.This is the error logs
Again emphasizing this happens in Flatpak runtime and only when drag and drop was used.
Here's a video demonstration:
Screencast from 2024-09-24 03-32-04.webm