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++
fix(ui): cinema mode had black bars, and the control bar was half-hidden
Veyra Goal Agent6f62e5f71923
diff --git a/qml/Veyra/Main.qml b/qml/Veyra/Main.qmlindex bdbd486a..4596dbad 100644--- a/qml/Veyra/Main.qml+++ b/qml/Veyra/Main.qml@@ -35,7 +35,10 @@ Window {// Cinema geometry, straight from the prototype: the picture is width/aspect// and the window is that plus the lower half of the control pill.property real filmAspect: 2.39- readonly property int barBelow: 46+ // The design straddles the bar on the picture edge with barBelow = 46. The bar+ // needs its own window for that, which does not exist yet, so the picture+ // area reserves the whole bar height instead.+ readonly property int barBelow: 92readonly property real pictureHeight: Math.round(width / filmAspect)function fitToFilm(aspect) {@@ -47,7 +50,15 @@ Window {enabled: root.cinemaNumberAnimation { duration: 700; easing.bezierCurve: Theme.springSoft }}- onWidthChanged: if (cinema) height = Math.round(pictureHeight + barBelow)+ onWidthChanged: {+ if (cinema) height = Math.round(pictureHeight + barBelow)+ videoHost.syncRect()+ }+ // The window height animates towards the film's aspect, so the picture area has+ // to follow every step of that animation. Without this the host kept its+ // previous height and the picture sat inside black bars - exactly what cinema+ // mode exists to avoid.+ onHeightChanged: videoHost.syncRect()onPageChanged: {// Tell the bridge where the user is, so a command like "open a file" can// behave differently from home than from the professional page.diff --git a/qml/Veyra/MinimalPage.qml b/qml/Veyra/MinimalPage.qmlindex bee5c813..8a402000 100644--- a/qml/Veyra/MinimalPage.qml+++ b/qml/Veyra/MinimalPage.qml@@ -17,7 +17,10 @@ Item {// Where the picture ends and the pill straddles. Main.qml sets the window// height to pictureHeight + 46, so the bar's top edge is pictureHeight - 46.- readonly property real pictureHeight: parent ? parent.height - 46 : 0+ // The picture is the window minus the control bar's full height: the bar+ // sits below the picture rather than straddling it, because a native video+ // window always draws above the QML scene.+ readonly property real pictureHeight: parent ? parent.height - 92 : 0// --- the picture ------------------------------------------------------// .min .stage: full width, the picture height, radius 8 (the window radius),@@ -51,7 +54,7 @@ Item {anchors.horizontalCenter: parent.horizontalCenterwidth: Math.min(860, root.width - 48)height: 92- y: root.pictureHeight - 46+ y: root.pictureHeightradius: 30color: Qt.rgba(22 / 255, 22 / 255, 26 / 255, 0.86)border.width: 1