You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compare #1189, where the app crashed (which doesn't happen any more).
When dragging and dropping an icon outside of the Xournal++ window onto another Window that accepts drag&drop (e.g. VS Code), the icon gets removed from the toolbar and is lost.
In gtk_selection_data_set we have format = 0 (instead of 8; it stands for the number of bits in a unit) in multiple places in ToolbarCustomizeDialog.cpp and ToolbarAdapter.cpp. This results in some warnings like
Note that the toolbar customization mechanism will have to be entire rewritten before moving to gtk4 (the GtkToolbar widget was removed and the Drag and Drop system of GTK got replaced).
There are a few bugs with the toolbar customization. They should be listed here:
Affects versions :
Describe the bug
Compare #1189, where the app crashed (which doesn't happen any more).
When dragging and dropping an icon outside of the Xournal++ window onto another Window that accepts drag&drop (e.g. VS Code), the icon gets removed from the toolbar and is lost.
In
gtk_selection_data_set
we haveformat = 0
(instead of8
; it stands for the number of bits in a unit) in multiple places inToolbarCustomizeDialog.cpp
andToolbarAdapter.cpp
. This results in some warnings likein the above case and looks wrong, see https://docs.gtk.org/gtk3/method.SelectionData.set.html.
Expected behavior
Additional context
A good reference on drag&drop in Gtk is http://www.compsci.hunter.cuny.edu/~sweiss/course_materials/csci493.70/lecture_notes/GTK_dragndrop.pdf
The text was updated successfully, but these errors were encountered: