Bug in Qt 5.12 drag n'drop ?
-
Can you spot any difference between the example and what you do in your application ?
-
"not that different" can be a big can of worm ;)
-
Ah, "robot" is based on a QGraphicsObject, which receives QGraphicsSceneDragDropEvent , whereas my app is based on a mere QWidget, which receives a QDragEnterEvent
-
Ah, "robot" is based on a QGraphicsObject, which receives QGraphicsSceneDragDropEvent , whereas my app is based on a mere QWidget, which receives a QDragEnterEvent
And remember, my code works fine with qt5.11.x, and not with qt5.12.0
-
Please provide a example - otherwise I don't see how we can spot the problem...
-
Please provide a example - otherwise I don't see how we can spot the problem...
Ok, in that case, get my open source app:
https://sourceforge.net/projects/skylendar/
and compile it with qt5.12.0
When compiled and running, drag the "Now" Dataset (on the left column) onto the window named "Standard wheel".Then, the pointer becomes a barred red circle, instead of a black hand for dropping, i.e. dropping is impossible.
When compiled with 5.11 apparently nothing happens because the standard wheel already uses "Now", but it works...
-
I tried to run your app but I won't let something run as root on my system. Please provide a minimal, compilable example to reproduce the issue.
-
I tried to run your app but I won't let something run as root on my system. Please provide a minimal, compilable example to reproduce the issue.
I tried to run your app but I won't let something run as root on my system.
probably the elevated rights are part of the problem?
-
I tried to run your app but I won't let something run as root on my system.
probably the elevated rights are part of the problem?
@aha_1980 said in Bug in Qt 5.12 drag n'drop ?:
probably the elevated rights are part of the problem?
Don't think so - it's using a database and the app which creates the schema etc. wants admin rights. After this it looks like the normal application can run without admin rights but did not came that far.
-
I tried to run your app but I won't let something run as root on my system.
probably the elevated rights are part of the problem?
-
I tried to run your app but I won't let something run as root on my system.
probably the elevated rights are part of the problem?
-
If you really are scared to run skydmin as root, I can tell you how to install the db as the postgres non-root user.
@skylendar Thanks, but I don't think I'll debug your program ;)
I have too much of my own problems
-
@skylendar Thanks, but I don't think I'll debug your program ;)
I have too much of my own problems
-
@skylendar Thanks, but I don't think I'll debug your program ;)
I have too much of my own problems
-
@skylendar thats why we need a simple program, trimmed down to the actual problem.
Otherwise its hard to track down where the bug is. Until now it is not even proven that Qt is guilty.
-
@skylendar thats why we need a simple program, trimmed down to the actual problem.
Otherwise its hard to track down where the bug is. Until now it is not even proven that Qt is guilty.
-
@skylendar thats why we need a simple program, trimmed down to the actual problem.
Otherwise its hard to track down where the bug is. Until now it is not even proven that Qt is guilty.
-
And you forget something: Qt is actually a commercial program, and most of you, if not all, are paid for debugging it. Why should I work for you for free ?
- Qt is actually a commercial program, and most of you, if not all, are paid for debugging it
Actually this is a user forums and no one here is paid anything to help :)
We are not employees, but ordinary users of Qt.Anyway, i tried some of old drag drop sample with Qt 5.12 and
they seems to work. At least on windows.