Bug 506081

Summary: Opening a video recording through the link in the Spectacle banner creates a window without Titlebar that appears on top of everything
Product: [Applications] Spectacle Reporter: WS <ws.kde>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 6.4.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description WS 2025-06-23 23:32:17 UTC
SUMMARY

Recording a video inside spectacle will create a banner stating where it was saved. You can click the file name as a shortcut to open the video. But clicking on it will open the default video player in a weird state where it is without a titlebar, and it appears on top of every other window, isn't visible in Task Manager, and you cannot alt-tab out of. In my case it opened gwenview because that's my default, but it appears to happen with other players as well, so Gwenview doesn't look like it is to blame.

STEPS TO REPRODUCE
1. Open Spectacle
2. Start recording (tested with a rectangle area)
3. Finish
4. Click on the "link" to the file itself
5. Watch as video app opens without a titlebar, an entry on the Task Manager and no way of alt-tab out of it.
Comment 1 Noah Davis 2025-06-24 02:59:48 UTC
When you click the link, Spectacle asks the system to open the link and whatever happens after is outside of Spectacle's control. Unfortunately, there is nothing that can be done on Spectacle's end. I have no idea why this would be happening. If you're curious, the method used is https://doc.qt.io/qt-6/qml-qtqml-qt.html#openUrlExternally-method