[Development] QPushButton: drag and drop

Laszlo Papp lpapp at kde.org
Mon Jun 6 18:57:16 CEST 2022

On Sat, Jun 4, 2022 at 9:41 AM Volker Hilsheimer <volker.hilsheimer at qt.io>

> I am fairly confident that this has been like this since the Qt 1.x days,
> and that it was designed to be like that. One can argue that we should have
> done things differently back then, but here we are.

I am sorry, but this sort of argument is limiting innovation. "We have
always done things like this, so even if incorrect now, we cannot change

I am afraid that I cannot agree on this in general without going into the
specifics of this issue. We must be open to new point of views and ways of
thinking. Personally, I think that Shawn / Giuseppe's proposal are getting
in the right direction.

It feels wrong to suggest that Qt has an architecture where drag and drop
means widgets are never released. It does concern a few of us, apparently.

For sure, mouse press (-> drag and drop) -> release is the workflow a user
and therefore the developer for the user (your API user) would intuitively
expect. You may say that this can only be Qt 7 material and need a
workaround for Qt 6, which is fine for me. But let us improve things!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220606/a43293e7/attachment.htm>

More information about the Development mailing list