File not sent when dragging to roster
Versions
- OS: Debian GNU/Linux 10 (buster)
- GTK+ Version: 3.24.5
- PyGObject Version: 3.30.4
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.2
- X.Org version: 1.20.4
- OMEMO: 2.6.27
- GNOME Files: 3.30.5-stable
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/roster_window.py", line 4429, in drag_data_received_data
path_source = treeview.get_selection().get_selected_rows()[1][0]
IndexError: list index out of range
Steps to reproduce the problem
I drag a file, such as PNG or PDF, from the file manager to the roster window of Gajim. The contact under the mouse pointer gets highlighted with a frame. I release the mouse expecting the file to be sent to that contact. Instead, every time I try, I receive the above traceback message and the file is not sent and is not mentioned in the chat. When I drag the file into the chat window instead, the file is sent as expected.