On 10/06/2022 06:48, Laszlo Papp wrote:
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?
Take for instance QAbstractItemView. You drag something from it, right now it does not receive a release. But say it starts receiving a release, it may start editing the current item because has an edit trigger to start editing on single click or something like that.
Pushbuttons or toolbuttons may start triggering clicked(), and so on.In short, there are concrete possibilities of a breakage here if you merely send a _release_.
Now I'm not saying that a release makes NO sense. It does, but it's one of those scenarios "if we had a time machine and did it 20 years ago". Right now I'm really afraid that such a change will do more harm than good (although I don't have numbers, i.e. I didn't implement the change and checked for breakages.)
My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development