rnote icon indicating copy to clipboard operation
rnote copied to clipboard

mutli file drag and drop doesnt work

Open IFREDBON opened this issue 1 month ago • 1 comments

Describe the bug
basically when dragging multiple things into the app it only takes one and the rest have to put there one by one

To Reproduce

  1. have atleast 2 or more files (images ect)
  2. select the files
  3. drag them into rnote
  4. only one image (being the one used to drag it) is implemented into rnote the rest arent implemented

Expected behavior
for all images that are selected and dragged into the application to be there on the canvas

Console Output
0.000081926s DEBUG rnote: .. tracing subscriber initialized.

(rnote:2): Gdk-CRITICAL **: 22:26:26.095: gdk_drop_set_actions: assertion 'priv->state == GDK_DROP_STATE_NONE' failed

(rnote:2): Gtk-CRITICAL **: 22:26:51.234: The layout manager of type GtkBoxLayout 0x592dec4ee740 does not create GtkLayoutChild instances

(i also wanna add it repeatedly spammed that last error when pressing the exit button)

Desktop (please complete the following information):

  • OS: linux mint 22.2
  • App Version: 0.13.1
  • Installation Source: flatpak
  • Desktop Environment: cinnamon
  • Display Server: x11
  • Input Source: mouse (i could try it with a stylus too but i think itll have the same outcome)

Additional context
i have given the flatpak access thro flatseal (for both home and system)

IFREDBON avatar Nov 22 '25 20:11 IFREDBON

It should work if gtk registers the list of files as a text/uri-list. Though I can reproduce on windows so it definitely doesn't work on all platforms.

Seems like there is also a GdkFileList we can query as a mimetype when clipboard paste/drops happen, this seems to work when the text/uri-list doesnt't. Will try this shortly

Doublonmousse avatar Nov 25 '25 06:11 Doublonmousse