Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++

Finish Qt fullscreen activation before handing input to game

Veyra Goal Agent5f6a8a94ca86
diff --git a/src/ui/QmlPlayerBridge.cpp b/src/ui/QmlPlayerBridge.cpp
index c3fcb7ab..3160ebc0 100644
--- a/src/ui/QmlPlayerBridge.cpp
+++ b/src/ui/QmlPlayerBridge.cpp
@@ -7834,7 +7834,14 @@ void QmlPlayerBridge::setPresentationFullscreen(bool value) {
impl_->presentation.fullscreen=value;
impl_->engine.requestPresentation(impl_->presentation);
emit presentationChanged();
- updateGameMode();
+ // QML's visibility notification runs inside Qt's fullscreen transition.
+ // Let Qt finish its activation request before applying no-focus/through
+ // flags and handing the foreground to the game. One queued transition,
+ // without changing polling or presentation cadence.
+ if(value&&gameMode()) QMetaObject::invokeMethod(this,[this]{
+ if(impl_->presentation.fullscreen)updateGameMode();
+ },Qt::QueuedConnection);
+ else updateGameMode();
}
double QmlPlayerBridge::previewAspect() const {
const int mode=gameMode()&&impl_->presentation.fullscreen?0:impl_->screenFillActive?2:impl_->aspectMode;