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++

Scrubbing the 极简 pill seeks instead of dragging the window

Veyra Goal Agent98e1b3f4bd4f
diff --git a/qml/Veyra/CineBar.qml b/qml/Veyra/CineBar.qml
index 6547edda..097b4898 100644
--- a/qml/Veyra/CineBar.qml
+++ b/qml/Veyra/CineBar.qml
@@ -36,6 +36,10 @@ Rectangle {
objectName: "cine-move"
target: null
enabled: !bar.fullscreen
+ // Never take a drag over from a control: by default a DragHandler steals the grab
+ // from an item once the pointer passes the drag threshold, so scrubbing the seek
+ // rail moved the window instead (field report 2026-10-02).
+ grabPermissions: PointerHandler.CanTakeOverFromHandlersOfDifferentType | PointerHandler.ApprovesTakeOverByAnything
onActiveChanged: if (active) bar.requestMove()
}
implicitHeight: 92
@@ -191,6 +195,7 @@ Rectangle {
}
Item {
id: seekArea
+ objectName: "cine-seek"
Layout.fillWidth: true
implicitHeight: 14
property bool scrubbing: false
@@ -310,6 +315,7 @@ Rectangle {
id: seekMouse
anchors.fill: parent
hoverEnabled: true
+ preventStealing: true
enabled: veyra.duration > 0 && !veyra.isCapture
cursorShape: Qt.PointingHandCursor
onEntered: thumbnailDelay.restart()
diff --git a/scripts/ui-check/pill-seek-drag.qml b/scripts/ui-check/pill-seek-drag.qml
new file mode 100644
index 00000000..8b190db8
--- /dev/null
+++ b/scripts/ui-check/pill-seek-drag.qml
@@ -0,0 +1,38 @@
+
+ // ---- dragging the 极简 pill's seek rail seeks and does not move the window ----
+ function uitestFind(item, name) {
+ if (!item) return null
+ if (item.objectName === name) return item
+ const kids = item.children || []
+ for (let k = 0; k < kids.length; ++k) { const f = uitestFind(kids[k], name); if (f) return f }
+ return null
+ }
+ Timer { interval: 150; running: true; repeat: true; onTriggered: veyra.logUi("uitest-tick", "") }
+ Timer {
+ interval: 1000; running: true; repeat: true
+ property int ticks: 0
+ property real wx: 0
+ property real wy: 0
+ onTriggered: {
+ ++ticks
+ if (ticks === 2) veyra.openUrl("@VIDEO@")
+ if (ticks === 6) { veyra.togglePlayPause(); veyra.logUi("uitest", "UITEST_SHOT before") }
+ if (ticks === 7) {
+ const seek = uitestFind(fullBar.contentItem, "cine-seek")
+ if (!seek) { veyra.logUi("uitest", "UITEST_FAIL no seek rail"); running = false; return }
+ const a = seek.mapToGlobal(seek.width * 0.2, seek.height / 2)
+ const b = seek.mapToGlobal(seek.width * 0.6, seek.height / 2)
+ wx = root.x; wy = root.y
+ veyra.logUi("uitest", "UITEST_NOTE window " + wx + "," + wy + " progress " + veyra.progress.toFixed(3))
+ veyra.logUi("uitest", "UITEST_DRAG " + a.x + " " + a.y + " " + b.x + " " + (b.y + 6))
+ }
+ if (ticks === 10) {
+ const moved = Math.abs(root.x - wx) + Math.abs(root.y - wy)
+ veyra.logUi("uitest", "UITEST_NOTE after drag window " + root.x + "," + root.y + " progress " + veyra.progress.toFixed(3))
+ veyra.logUi("uitest", "UITEST_SHOT after")
+ const ok = moved < 2 && veyra.progress > 0.5 && veyra.progress < 0.7
+ veyra.logUi("uitest", ok ? "UITEST_DONE" : "UITEST_FAIL moved=" + moved + " progress=" + veyra.progress.toFixed(3))
+ running = false
+ }
+ }
+ }