Can't drag-n-drop link
Bug #1518705 reported by
Egmont Koblinger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Drag-n-drop a link from your browser (tested with ff & chrome) to terminator. It doesn't work.
(terminator:12345): Vte-WARNING **: Error (Invalid or incomplete multibyte or wide character) converting data for child, dropping.
(even if the URL is plain ASCII)
(See also bug 1498819)
Related branches
Changed in terminator: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Drag-n-dropping from e.g. Gnome's file manager "Files" works as expected.
From firefox, the data we receive is encoded in UTF-16 wtf??
Looks like a ff bug that we have to workaround.
From gnome-terminal:
case TARGET_MOZ_URL:
{
char *utf8_data, *newline, *text;
char *uris[2];
gsize len;
/* MOZ_URL is in UCS-2 but in format 8. BROKEN! data_format != 8 ||
selection_ data_length == 0 ||
(selection _data_length % 2) != 0)
*
* The data contains the URL, a \n, then the
* title of the web page.
*/
if (selection_
return;
utf8_data = g_utf16_to_utf8 ((const gunichar2*) selection_ data_data,
selection_ data_length / 2,
NULL, NULL, NULL);
...