Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
5.12.8
-
None
-
Windows [Version 10.0.18363.815] 64 bit home Edition.
Qt 5.12.8, 5.12.7, 5.14.1, 5.14.2
Compiler: MSVC2017 64bit
MS C++ Compiler 15.0 (amd64)
I am using qmake
I do have cmake onboard: 3.17.0 (but I never use it really)
Description
I stumbled on issue while learning/tweaking the official Qt example:
C:\Qt\Qt5.12.8\Examples\Qt-5.12.8\multimediawidgets\player
In 5.12.7 : I had made a QShortcut for the delete key to delete the currently playing video. In short, the delete key, stops the player, clears the playlist, then delete's the file. This worked.
I recently upgraded to 5.12.8 and now, my delete shortcut action no longer works. But it does in 5.12.7.
So I downloaded, installed 5.14.1 and 5.14.2 and they work as well.
I even went so far as to simply stop the player with examples' stop button and use Windows explorer to delete the file and will not.
I have attached the player.h and player.cpp files which are from Qt's official example and modified so you can drop them in on your end and build and test for yourself and see the issue at hand. Just browse and play a video, while its playing, hit your delete key and you'll see the qdebug print if it deleted the file or not.
Thank you Qt and your consideration of this matter.