CardView icon indicating copy to clipboard operation
CardView copied to clipboard

Drag and drop multiple items from clipboard doesnt work and creates error.

Open TheMihle opened this issue 7 months ago • 0 comments

I first to say I love the drag and drop functionality of this plugin that you dont have to open the edit windows. (I like it a lot in general)

When you drag and drop from clipboard to the edit window, Gramps allow you to drag and drop multiple things at once from clipboard by selecting multiple before dragging. In Cardview, when I try to do that on top of a card, I get this error and it doesnt work;

1251405: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
  File "C:\Users\Mihle\AppData\Roaming\gramps\gramps52\plugins\CardView\src\view\cards\card_object.py", line 217, in drag_data_received
    dnd_type, obj_id, obj_or_handle, dummy_var1 = pickle.loads(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 2)

TheMihle avatar Jul 25 '24 11:07 TheMihle