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++
Keep fullscreen seek drags active until release and clear cancelled seeks
Veyra Goal Agent4895549a62dc
diff --git a/AGENTS.md b/AGENTS.mdindex 0eeed1e5..c3f7e1ac 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -1,5 +1,7 @@# Veyra Agent 工作规则+> **2026-11-02 全屏进度条修复(当前施工)**:隔离分支codex/fullscreen-seek-20261102,基线fedd7fc;只改CineBar/Main的焦点交互与隐藏/取消条件,修复按下7ms后被取消的回归。构建通过,QtQuick141/0/0,真实全屏前拖33.770s、后拖5.902s、点击20s正常,观察探针已移除,原用户配置保持。小补丁test-packages/codex-fullscreen-seek-20261102,记录docs/FULLSCREEN_SEEK_FIX_2026-11-02.md与reports/codex-fullscreen-seek-20261102/FINAL.json。本轮不合main、不push、不更新GitHub正式包。+> **2026-11-02 交流群入口更新到8群(用户授权)**:7群已满,当前公开入口使用用户原图 `docs/images/community/group-8-20261102.png`,有效期11月9日前;README双语、RELEASE_SUPPORT、2.1.2更新说明及2.1.2/对应源码两个Release正文同步。原字节复制,不裁剪/重绘;两图仍并排各220,赞助图保持。发布标签/下载包保持原身份,不为换群码重打包。核验回执 `E:/项目/Veyra/reports/codex-group8-qr-20261102/FINAL.json`。下方7群记录仅作发布历史。> **2026-11-02 2.1.2已正式发布并核验(当前状态)**:main已推送,v2.1.2 / v2.1.2-sources发布准备提交899590f;产品358be8c、EXE33d8e615…未改字节。两个完整显卡包和两份源码/摘要已上传,GitHub服务端SHA256、匿名下载、Latest、二维码核验通过。群码为用户原图group-7-20261102.png(11月9日前),双码各220。正式目录releases/codex-release-2.1.2-20261102;FINAL回执reports/codex-release-2.1.2-20261102/FINAL.json;详情docs/RELEASE_2.1.2_EXECUTION_2026-11-02.md。旧“本地/未发布”段落仅作历史,不覆盖本条。diff --git a/docs/FULLSCREEN_SEEK_FIX_2026-11-02.md b/docs/FULLSCREEN_SEEK_FIX_2026-11-02.mdnew file mode 100644index 00000000..86e7cc4b--- /dev/null+++ b/docs/FULLSCREEN_SEEK_FIX_2026-11-02.md@@ -0,0 +1,50 @@+# 全屏进度条拖动修复++用户2026-11-02反馈全屏不能拖动进度条。隔离分支 `codex/fullscreen-seek-20261102`,基线 `fedd7fc`,仅修共享播放条和全屏隐藏条件;不推送、合并或替换GitHub发布资产。++## 根因与改动++11月1日音量焦点修复让 `FullscreenBar` 在不交互时交还主窗口焦点,但 `CineBar.interacting` 只包括音量按下/编辑,遗漏进度条。真实Windows复现:按下进度条后7ms收到 `MouseArea.onCanceled`,没有release或seek提交。不是视频解码欠速,也不是全屏禁止拖动。++- 把进度条scrubbing计入interacting;拖动过程中不交还主窗口焦点,松开后按原规则交还。+- 窗口化播放条移动手势在任何交互期间禁用,保持空白区域原移动行为。+- 拖出轨道仍保留缩略图及窗口mask;全屏自动隐藏等待完整交互结束。+- 取消拖动、片源切换导致进度条禁用时停止120ms seek定时器并清理scrubbing,不提交过期跳转。+- 不修改窗口flags、动画、显示调度、音量算法、引擎或驱动。++## 构建和回归++复用 `E:/项目/Veyra/build/claude-screen-recording-20261022`,命令:++```powershell+python -X utf8 -B scripts/acceptance/build-recording-handoff.py --task codex-fullscreen-seek-20261102 --root E:/项目/Veyra/worktrees/screen-recording-fix-20261022 --build-dir E:/项目/Veyra/build/claude-screen-recording-20261022 --label 2.1.2 --jobs 2 veyra_qml_ui veyra_qml_quick_tests+```++两次增量构建通过,2.2s与最终0.7s。最终回执 `logs/codex-fullscreen-seek-20261102/build-20261102-210225/receipt.json`。++新增QtQuick用例驱动实际CineBar:全屏/窗口化拖动不移动窗口、点击跳转、拖出边界钳位及预览、采集不可seek、拖动途中禁用与取消清理。新夹具在旧源码运行出现5项失败;修复后完整套件 **141 passed / 0 failed / 0 skipped**,35.819s。既有音量与输入测试也在本轮完整套件中。测试从可执行文件旁的独立qml-tests读取当前夹具,没有使用旧复制品。++中间首次完整测试139/2/0:暴露MouseArea禁用不等同于onCanceled,原定时seek仍能执行一次;补上禁用清理后通过。失败记录保留 `quick-first-fixed.txt/json`,未改测试预期掩盖问题。++## Windows实际验证++computer-use `@oai/sky`,真实40s/1080p30文件,软件绘制,独立data-dir `tests/codex-fullscreen-seek-20261102/profile`,不占采集卡。使用现有测试运行目录 `tests/claude-sr-stage-20261028/app` 的同产品源码程序和当前外置QML;测试观察只增加运行副本事件日志,结束逐字节恢复产品QML。++时间为 America/Los_Angeles(PST,UTC−8):++| 时刻(2026-11-02) | 事件与证据 |+|---|---|+| 20:54:14.941 → .948 | 旧版按下后7ms取消,interacting=false,无seek提交 |+| 21:00:50.110 → .117 | 修复版全屏向前拖动,release提交33.770s |+| 21:00:59.497 → .510 | 全屏向后拖动,release提交5.902s |+| 21:01:06.886 → .899 | 全屏点击,release提交20.000s |++原始日志使用UTC,分别为次日04:54:14、05:00:50、05:00:59、05:01:06。`baseline-console.log` 与最终 `fixed-console.log` 保留原始按下/取消/松开事件,`fixed-engine.log` 有对应 `[ui-seek]` 与实际解码位置。最终3次操作均无SEEK_CANCEL;Esc退出全屏正常。窗口化拖动及边界/禁用由组件回归覆盖,未把短时系统注入拖动当作长时间悬停人工验证。++首次修复版人工尝试在文件结束后发生片源菜单/重开,未计为通过;保留 `first-fixed-*.log`。最终用现有启动测试钩子自动进入全屏,保持正常自动隐藏,再做上述独立验证。仅关闭自己启动的测试实例,原用户配置摘要保持。++## 本地交付++`E:/项目/Veyra/test-packages/codex-fullscreen-seek-20261102/Veyra-2.1.2-fullscreen-seek-hotfix.zip`:仅两个产品QML、使用说明和补丁清单。退出2.1.2,将ZIP内容解压到EXE所在目录,覆盖同名文件;NVIDIA/AMD包共用。补丁清单提供两个正式包原文件摘要和补丁文件摘要,专有运行库与主EXE不变。覆盖前可备份原 `qml/Veyra/CineBar.qml` 和 `Main.qml` 便于恢复。++机器回执 `E:/项目/Veyra/reports/codex-fullscreen-seek-20261102/FINAL.json`;原QML保全在 `archives/codex-fullscreen-seek-20261102`。未重新复制完整运行包,未改真实用户数据或GitHub已发布包。diff --git a/docs/WORKLOG.md b/docs/WORKLOG.mdindex b9f3664b..0b88daae 100644--- a/docs/WORKLOG.md+++ b/docs/WORKLOG.md@@ -473,3 +473,8 @@ PID61528,用户直接运行2.1.2 NVIDIA包;不激活窗口、不启动额外## 2026-11-02 GitHub交流群更新到8群用户明确授权:7群已满,替换为8群原图。当前README双语、支持区、2.1.2更新说明与2.1.2/源码两个Release正文同步;有效期仍11月9日前,赞助图与双码各220布局保持。只改图片及当前入口,不重写发布标签或打包资产。执行git diff --check,推送后匿名读取当前文档/新图,对比用户原图SHA256,并核对两Release正文和所有资产id/摘要保持;具体结果及原正文保全见reports/codex-group8-qr-20261102/FINAL.json与before.json。文档更新不运行产品构建/测试。+++## 2026-11-02 全屏进度条修复++在codex/fullscreen-seek-20261102隔离修复。旧版真实Windows按下7ms后MouseArea取消;进度条遗漏于interacting,焦点被交还主窗口。纳入scrubbing、窗口移动排除、预览mask及完整隐藏条件,取消/禁用时清理120ms延迟seek。构建2.2s/最终0.7s通过;新增用例在旧代码5失败;初版完整139/2/0暴露禁用不触发cancel,修复后141/0/0(35.819s)。真实全屏3次分别提交33.770/5.902/20s,无取消,退出全屏正常;原用户配置保留。首轮人工到EOF重开未算通过,日志保全。源QML观察探针逐字节去除,使用小型2.1.2通用补丁交付,不复制完整包,不修改GitHub资产/运行库/真实配置。命令、回执与验证边界见docs/FULLSCREEN_SEEK_FIX_2026-11-02.md,FINAL与日志在E:/项目/Veyra/reports及logs/codex-fullscreen-seek-20261102。无合并main/push/新发布。diff --git a/qml/Veyra/CineBar.qml b/qml/Veyra/CineBar.qmlindex cbf095e5..569d0335 100644--- a/qml/Veyra/CineBar.qml+++ b/qml/Veyra/CineBar.qml@@ -29,9 +29,11 @@ Rectangle {readonly property bool menuOpen: presetMenu.visible || ccMenu.visible || audioMenu.visible || loadMenu.visible || playbackRate.menuOpen// The pointer is over the pill.readonly property bool hovered: barHover.hovered- readonly property bool seekPreviewOpen: seekMouse.containsMouse && seekMouse.enabled+ readonly property bool seekPreviewOpen: seekMouse.enabled && (seekMouse.containsMouse || seekArea.scrubbing)readonly property bool editing: volumeSlider.editing- readonly property bool interacting: volumeSlider.pressed || editing+ // Keep the control window active until a seek releases its mouse grab, too.+ // Returning focus to the owner during scrubbing cancels the MouseArea press.+ readonly property bool interacting: seekArea.scrubbing || volumeSlider.pressed || editingfunction finishEditing() { volumeSlider.closeEditor(true) }HoverHandler { id: barHover }// Buttons, the seek rail and the volume slider take their own presses first; only@@ -39,7 +41,7 @@ Rectangle {DragHandler {objectName: "cine-move"target: null- enabled: !bar.fullscreen && !volumeSlider.pressed && !volumeSlider.editing+ enabled: !bar.fullscreen && !bar.interacting// 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).@@ -330,6 +332,10 @@ Rectangle {hoverEnabled: truepreventStealing: trueenabled: veyra.duration > 0 && !veyra.isCapture+ onEnabledChanged: if (!enabled && seekArea.scrubbing) {+ scrubSeek.stop()+ seekArea.scrubbing = false+ }cursorShape: Qt.PointingHandCursoronEntered: thumbnailDelay.restart()onExited: {@@ -356,7 +362,10 @@ Rectangle {veyra.logUi("ui-seek", "targetSeconds=" + target.toFixed(3))veyra.seekTo(target)}- onCanceled: seekArea.scrubbing = false+ onCanceled: {+ scrubSeek.stop()+ seekArea.scrubbing = false+ }}}Text {diff --git a/qml/Veyra/Main.qml b/qml/Veyra/Main.qmlindex 2c66fd90..17b2b156 100644--- a/qml/Veyra/Main.qml+++ b/qml/Veyra/Main.qml@@ -525,7 +525,7 @@ Window {interval: 1600onTriggered: {if (!root.fullscreen || !root.fullControls) return- if (fullBar.hovered || fullBar.menuOpen || fullBar.editing || root.test.fullBar === "shown") { restart(); return }+ if (fullBar.hovered || fullBar.menuOpen || fullBar.interacting || root.test.fullBar === "shown") { restart(); return }root.fullControls = falseveyra.logUi("ui-fullscreen", "controls hidden; video and subtitles only")}diff --git a/tests/qml/quick/tst_cine_seek.qml b/tests/qml/quick/tst_cine_seek.qmlnew file mode 100644index 00000000..d5a198ac--- /dev/null+++ b/tests/qml/quick/tst_cine_seek.qml@@ -0,0 +1,103 @@+import QtQuick+import QtQuick.Window+import QtTest+import Veyra++Item {+ id: root+ width: 1000; height: 650+ QtObject {+ id: veyra+ property bool hasSource: false+ property bool isCapture: false+ property bool running: false+ property bool paused: true+ property bool failed: false+ property bool captureRecovering: false+ property real duration: 100+ property real progress: .3+ property real volume: .5+ property real playbackRate: 1+ property int previewRotation: 0+ property int thumbnailGeneration: 0+ property string sourceName: "Seek fixture"+ property string sourceSummary: ""+ property string positionText: "0:30"+ property string durationText: "1:40"+ property string currentPresetName: ""+ property int subtitlePrimary: -1+ property int selectedAudioTrack: -1+ property var presets: []+ property var subtitleTracks: []+ property var audioTracks: []+ property var seeks: []+ function seekTo(seconds) { seeks = seeks.concat([seconds]) }+ function formatTime(seconds) { return String(Math.floor(seconds)) }+ function logUi(category, text) {}+ function setWindowMask(window, rect) {}+ }+ CineBar { id: bar; x: 50; y: 220; width: 860; height: 92 }+ SignalSpy { id: moveSpy; target: bar; signalName: "requestMove" }+ TestCase {+ name: "CinemaSeek"+ when: windowShown+ function init() {+ root.Window.window.width = 1000+ root.Window.window.height = 650+ root.Window.window.requestActivate()+ veyra.seeks = []; veyra.duration = 100; veyra.isCapture = false+ bar.fullscreen = true+ moveSpy.clear()+ }+ function test_scrub_data() {+ return [{tag:"fullscreen",full:true},{tag:"windowed",full:false}]+ }+ function test_scrub(data) {+ bar.fullscreen = data.full+ const rail = findChild(bar, "cine-seek")+ verify(rail !== null && rail.width > 100)+ mousePress(rail, rail.width * .2, 7)+ verify(bar.interacting, "A pressed seek rail must keep the control window active")+ for (let i = 1; i <= 6; ++i) mouseMove(rail, rail.width * (.2 + .1*i), 7, 30)+ mouseRelease(rail, rail.width * .8, 7)+ compare(bar.interacting, false)+ verify(veyra.seeks.length > 0)+ fuzzyCompare(veyra.seeks[veyra.seeks.length-1], 80, 1)+ compare(moveSpy.count, 0, "Scrubbing must never move the window")+ }+ function test_drag_outside_clamps_and_retains_preview() {+ const rail = findChild(bar, "cine-seek")+ mousePress(rail, rail.width * .5, 7)+ mouseMove(rail, rail.width + 25, -25, 20)+ verify(bar.interacting)+ verify(bar.seekPreviewOpen, "Keep the preview inside the native mask while dragging outside")+ mouseRelease(rail, rail.width + 25, -25)+ compare(bar.interacting, false)+ compare(veyra.seeks[veyra.seeks.length-1], 100)+ }+ function test_capture_does_not_seek() {+ veyra.isCapture = true+ const rail = findChild(bar, "cine-seek")+ mouseClick(rail, rail.width * .5, 7)+ compare(bar.interacting, false)+ compare(veyra.seeks.length, 0)+ }+ function test_click_seek() {+ const rail = findChild(bar, "cine-seek")+ mouseClick(rail, rail.width * .6, 7)+ fuzzyCompare(veyra.seeks[veyra.seeks.length-1], 60, 1)+ compare(bar.interacting, false)+ }+ function test_cancel_stops_pending_seek() {+ const rail = findChild(bar, "cine-seek")+ mousePress(rail, rail.width * .2, 7)+ mouseMove(rail, rail.width * .7, 7, 10)+ veyra.isCapture = true // Disabling MouseArea cancels the in-flight grab.+ tryCompare(bar, "interacting", false)+ const count = veyra.seeks.length+ wait(180)+ compare(veyra.seeks.length, count)+ mouseRelease(rail, rail.width * .7, 7)+ }+ }+}