Maybe I'm not understanding the code properly but I think this is solved
in the git master branch.

from ev-window.c:

static void
ev_window_drag_data_received (GtkWidget        *widget,
                              GdkDragContext   *context,
                              gint              x,
                              gint              y,
                              GtkSelectionData *selection_data,
                              guint             info,
                              guint             time)

{
        EvWindow  *window = EV_WINDOW (widget);
        gchar    **uris;
        gint       i = 0;
        GSList    *uri_list = NULL;
        GtkWidget *source;

        source = gtk_drag_get_source_widget (context);
        if (source && widget == gtk_widget_get_toplevel (source)) {
                gtk_drag_finish (context, FALSE, FALSE, time);
                return;
        }

[....]

It seems like drag_data_received bails out if the source and the
destination are the same.

-- 
Drag and drop of images is dangerous in evince and too easy to perform
https://bugs.launchpad.net/bugs/379403
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to