Drag and drop when searching breaks the drag and drop

Bug #910370 reported by David Caro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CLI Companion
Fix Released
Medium
David Caro

Bug Description

If you search fro a command and try to do a drag and drop (while searching), then a warning is shown in command line and the drag and drop functionality stops working.

The warning is this:

$ clicompanion
Using locale in system
/usr/lib/python2.7/dist-packages/clicompanionlib/view.py:435: GtkWarning: You must override the default 'drag_data_received' handler on GtkTreeView when using models that don't support the GtkTreeDragDest interface and enabling drag-and-drop. The simplest way to do this is to connect to 'drag_data_received' and call g_signal_stop_emission_by_name() in your signal handler to prevent the default handler from running. Look at the source code for the default handler in gtktreeview.c to get an idea what your handler should do. (gtktreeview.c is in the GTK source code.) If you're using GTK from a language other than C, there may be a more natural way to override default handlers, e.g. via derivation.
  gtk.main()

Related branches

Revision history for this message
David Caro (dcaro) wrote :

After doing any search the drag and drop feature will stop working. Even with the search box empty.

Changed in clicompanion:
importance: Low → Medium
assignee: nobody → David Caro (dcaro)
status: Confirmed → In Progress
David Caro (dcaro)
Changed in clicompanion:
status: In Progress → Fix Committed
David Caro (dcaro)
Changed in clicompanion:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.