Re: GTK+ doesn't track motion of DND file from desktop

2018-11-06 Thread Zdravetz via gtk-app-devel-list



I am indeed using GTK+ 3.22.30
But what i forgot to mention is that I am also running on Windows.

-

П.П. Искаш бизнесът ти да е и онлайн? Лесно е! Направи си сайт. В 
СуперХостинг.БГ пазят място за него! Виж повече на www.superhosting.bg.
 
https://www.superhosting.bg/?utm_source=mail.bg&utm_medium=cpm&utm_content=mail_header&utm_campaign=campaign2018
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK+ doesn't track motion of DND file from desktop

2018-11-06 Thread Edscott Wilson via gtk-app-devel-list
Check the version with which you gtk desktop and applications are compiled
with. DnD worked quite erratically for me in 3.22, and seems to be more or
less stable in 3.24, but applications compiled with 2.24 which used to work
fine with those from 3.18 now will ignore drops from 3.24 apps. In the gtk
developers' log, I've noticed that work was done on DnD. There might be
some updates to 2.24 to maintain compatibility, but I would not hold my
breath.


El mar., 6 de nov. de 2018 a la(s) 09:28, Zdravetz via gtk-app-devel-list (
gtk-app-devel-list@gnome.org) escribió:

>
>
>
> My initialization of the destination widget is as such:
>
>
>  GtkTargetList* target_list = gtk_target_list_new(NULL, 0);
>
>
>  gtk_target_list_add_image_targets(target_list, 0 /* ALL_IMAGES */,
> FALSE);
>  gtk_target_list_add_uri_targets(target_list, 1 /* TEXT_URI */) ;
>
>
>  gtk_drag_dest_set(GTK_WIDGET(gui.event_dropbox), 0, NULL, 0,
> GDK_ACTION_DEFAULT);
>  gtk_drag_dest_set_target_list(GTK_WIDGET(gui.event_dropbox),
> target_list);
>  gtk_drag_dest_set_track_motion(GTK_WIDGET(gui.event_dropbox), TRUE);
>
>
> Doing so, if I DND text from within the application it tracks motion in the
> `drag-motion` event, but doesn't seem to invoke this signal at all
> when dealing with files from the desktop. It invokes all other signals as
> expected, beside `drag-motion` and `drag-leave`.
>
>
> I am very exhausted from trying to figure this out, so maybe some of you
> can?
>
>
>
>
> -
>
> П.П. Искаш сайт? Направи си, лесно е! Отиди на www.superhosting.bg и
> избери най-доброто име за него. Започни сега със СуперХостинг.БГ!
>
> https://www.superhosting.bg/?utm_source=mail.bg&utm_medium=cpm&utm_content=mail_header&utm_campaign=campaign2018
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



-- 

Dr. Edscott Wilson Garcia
Reservoir Engineering
Mexican Petroleum Institute
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

GTK+ doesn't track motion of DND file from desktop

2018-11-06 Thread Zdravetz via gtk-app-devel-list



My initialization of the destination widget is as such:


 GtkTargetList* target_list = gtk_target_list_new(NULL, 0);


 gtk_target_list_add_image_targets(target_list, 0 /* ALL_IMAGES */,
FALSE);
 gtk_target_list_add_uri_targets(target_list, 1 /* TEXT_URI */) ;


 gtk_drag_dest_set(GTK_WIDGET(gui.event_dropbox), 0, NULL, 0,
GDK_ACTION_DEFAULT);
 gtk_drag_dest_set_target_list(GTK_WIDGET(gui.event_dropbox),
target_list);
 gtk_drag_dest_set_track_motion(GTK_WIDGET(gui.event_dropbox), TRUE);


Doing so, if I DND text from within the application it tracks motion in the
`drag-motion` event, but doesn't seem to invoke this signal at all
when dealing with files from the desktop. It invokes all other signals as
expected, beside `drag-motion` and `drag-leave`.


I am very exhausted from trying to figure this out, so maybe some of you
can?




-

П.П. Искаш сайт? Направи си, лесно е! Отиди на www.superhosting.bg и избери 
най-доброто име за него. Започни сега със СуперХостинг.БГ! 
 
https://www.superhosting.bg/?utm_source=mail.bg&utm_medium=cpm&utm_content=mail_header&utm_campaign=campaign2018
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list