[Gambas-user] Drag and drop inconsistent across toolkits
Jørn Erik Mørne
epost at ...3323...
Fri Oct 17 18:44:45 CEST 2014
Tobias Boege <taboege at ...626...> wrote:
> there is a project attached which tries to implement some drag and drop.
> archive has gb.qt4 as graphical component but let me start with its
> under gb.gui:
> - drag from SourceLabel und SourceTextBox and drop on Destination work,
> - if I do three drag and drops: (i) from SourceLabel, (ii) from
> SourceTextBox, (iii) from SourceLabel again, I get an error "Undergoing
> drag". At step (ii) I see a warning in the console:
> (DragData:2084): GLib-GObject-WARNING **: gsignal.c:2580: instance '0x14170a0' has no handler with id '138'
> When I change the component to gb.qt4, I get the following:
> - drag from SourceTextBox does not work automatically anymore, I have to
> code it myself (losing the ability to select text in it),
> - no errors or warnings.
> The project is from another Gambas user and on his system (don't know
> it is -- does it matter?), the project with gb.gui does:
> - drag from SourceTextBox works automatically, drag from SourceLabel
> doesn't work, even when coded (as in the attached project).
> Is there anything I can say to him about this?
> My system:
> which looks awful. I only know for sure that I need two different
> of Poppler and GStreamer to keep all my applications satisfied. But two
> GTK+2 versions? :-/
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push
> Take corrective actions from your mobile device.
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
I also just recently found that drag/drop with gb.gui (most likely GTK)
I have to drag/drop several times to get it to work, while under gb.qt
it just works.
Find my project attached. In the same project, when dropping a document
on the trashcan I get an Error which I don't know is a bug a correct
behaviour? It says: "Control is being draged"
More information about the User