Unsolved Another bug after update?
-
I believe this is due to a recent update. I'm now finding that a vertical slider moves the opposite way to the mouse, so when I click on the slider handle and move the mouse, the slider moves in the opposite direction to the mouse.
I haven't changed this code and I know it worked before the last Qt update, has anyone else seen this?
I'm using:
Qt Creator 4.13.2 Based on Qt 5.15.1 (Clang 11.0 (Apple), 64 bit) Built on Oct 1 2020 01:16:45 From revision 2ee1af2032
-
@SPlatten said in Another bug after update?:
Qt Creator 4.13.2
Based on Qt 5.15.1 (Clang 11.0 (Apple), 64 bit)I don't know the answer, but this is the wrong information to quote. This tells us what version of Qt Creator you are using with what version of Qt that was built with. It says nothing about what version of Qt you have installed for your code/application to run against....
-
@JonB, I am using Qt 5.15.1 with my code.
![alt text]( image url) -
Hi
And this also happens with a clean GUI project with one Slider and nothing else?Just so I understand. I grab the slider and pull down the "handle" and it will now move up ?
-
@mrjj Yes, I erased the contents of the build folder including the hidden files then built from scratch, and yes, as soon as I grab the handle it moves in the opposite direction to the mouse and the handle itself disappears when I let go of the mouse.
-
That was also a good move so there cant be any left overs from last time.
But I was more wondering if you can reproduce this in a default GUI project where you just added a slider ?
That way we know if its really is a plain Qt update issue Or its in interacting with the (yours) existing code.
-
@mrjj , I'll knock up a quick app now to test. Just did this:
File, New File or Project ...
Selected Application (Qt)
Added vertical slider to display
Rebuilt and runIt does exactly the same, grab the handle, move the mouse down and the slider goes up...move the mouse up and the slider goes down.
-
@SPlatten
Ok. Good that shows it really is Qt.Did you see this on other platforms than macOS ?
-
@mrjj Sorry, haven't tried it on another platform.
-
@SPlatten
Ok :)
I tried with 5.15.0 on Window but it still does the right/normal way.
Trying to update to 5.15.1 and see.
But i have a feeling it might be a macOS thing. -
@mrjj , very strange, it was perfectly ok before the last update, which at the same time there was an Xcode update, could it be that?
Xcode Version 12.2 (12B45b)
-
@SPlatten
Hi
Yes in theory it could be that
https://doc.qt.io/qt-5/supported-platforms.html
but did you use 12.1 before ?
-
Yes and it was all ok...there were a lot of updates at the same time, also Apple rolled out macOS Big Sur, which is buggy too...very unlike Apple this kind of thing didn't happened when Mr Jobs was around.
-
Hi
Oh wait. So you also upgraded the Os ? -
@mrjj , yes, like I said there were several updates at the same time, to recap:
macOS Big Sur, Version 11.0.1
Qt Creator 4.13.2 Using Q 5.15.1 on my project
Xcode Version 12.2
-
@SPlatten
That could be the real reason as - as far as I know, Qt is not completely ready to run on that new version.
https://bugreports.qt.io/browse/QTBUG-85546 -
@mrjj , thank you, valuable lesson learnt the hard way, don't upgrade!
-
@SPlatten
It's the main reason I use mostly virtual machines for development.
You can keep all of it set up correctly and there won't by any drive-by updating.
Windows 10 is the master of disaster updates. -
@mrjj Thats sound advice, I have Oracle VirtualBox, perhaps I should start using it.
-
@SPlatten
That would work but for the perfect experience on macOS, i would look into
https://www.parallels.com/eu/
Im not a macOs user but I understand that from others that its way better than virtualbox. (on MacOs)
I do use virtual box on Window and likes it.