Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8.0, 6.9.0
-
None
-
MacBookPro 15'' 2017 TouchBar, macOS Ventura 13.7.6
Description
Apparently, the FileDialog is not shutting down the Quick Look for files; in my case, it is a video file. If I open the file dialog, select the video file, and click on Quick Look (the option to preview files in macOS), the preview starts playing. Accepting the file dialog afterward does not stop the preview, and the audio from that preview continues to play.
Attached is a minimal reproduction code that contains a Window as the root item, a FileDialog, and a button to open this FileDialog.
After loading the app, click on the Open button, select any supported video file for preview, and start the Quick Look action by pressing the spacebar or clicking on the preview Play button on the right side of the Finder window. Video file will start playing.
Accept the file dialog by pressing file dialog `Open` button.
As a result, the preview will continue playing in the background until the file dialog is opened again or the app is closed.
I have also attached a screen recording of all interactions.