On Wednesday 26 August 2009 21:37:25 Guido Seifert wrote:
> On Wed, Aug 26, 2009 at 08:56:54PM +0200, Olivier Goffart wrote:
> > On Wednesday 26 August 2009 20:12:29 Guido Seifert wrote:
> > > Hi, I
> > >  already reported this little problem on IRC a short while ago. But as
> > > I said, irc is a little bit fleeting. :-) In 4.6 I cannot drag and drop
> > > text from QLineEdits. The dragging and dropping code seems to be ok, it
> > > looks like it is the selections. I highlight a text and when I try to
> > > pick it up, it deselects and I have an empty mime string to drop.
> > >     Last version I tested: commit
> > > e5db8cdccdb032d82b5562abded95d1dbd743264
> >
> > Did it ever worked.
> >
> > I just tried with Qt 4.4 and Qt 4.5 and you cannot drag from a line edit.
> > Drop works as expected, even in Qt 4.6
> >
> > Note that the native mac line edits have the same behaviour as Qt
> > (Firefox on the other hand alows you to drag)
>
> Haha, it scares me a bit that you have a trolltech address and ask this
> question. ;-)
>
> No, serious. You can highlight the text in a QLineEdit, grab it and pull it
> into a widget, which accepts text drops, e.g. another QLineEdit. Works fine
> with 4.5 and earlier. I just have to link it against 4.6 and the
> funktionality is broken.

I Just tried again and I can *not* drag from a QLineEdit with Qt 4.5 and
Qt 4.4.  Once I click again to start a drag it removes the selection.
Same thing on native Windows application.

But on native mac applications it works if we go down directly, i was just not 
doing it right.

I admit this would maybe be a convenient feature, but it is not a regression.

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to