[Development] QPushButton: drag and drop

Laszlo Papp lpapp at kde.org
Fri Jun 10 06:48:00 CEST 2022


> You are proposing a flag that we perhaps flip on by default within Qt 6,
> and that might break a whole ton of widgets out there that today correctly
> implement drag’n’drop and that will start failing in mysterious, and
> largely untestable (because testing drag’n’drop requires special tools)
> ways.
>

I do not know what you mean. From what I can see, it is not going to break
anything. Those customers who worked around the design flaw, in my opinion
(you are free to disagree of course), they will not notice the fix because
they have not started handling the release event themselves. So, how could
something break that they have not used?

Moreover, if someone really went the nasty way of manually managing the
internal state machine of each and every QWidget subclass instances and
updating that on every Qt update where potentially changes, what my
proposed fix would mean for that the state would not be potentially
restored manually and internally. Which is fine, it is an extra no-op, but
it would not actually break anything.

So, I am a little surprised by seeing claims about "tons of breaks"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220610/edbd3ad4/attachment.htm>


More information about the Development mailing list