From d821531433f9345455a75ed6cf96113b815c1dd5 Mon Sep 17 00:00:00 2001 From: Daniel F Date: Tue, 29 Sep 2026 17:46:19 +0300 Subject: [PATCH 1/3] GPS text: updates_per_second default changed to -1; GPS graphic: add guess offset at file load; both: update speed to 3 decimals --- src/qml/filters/gpsgraphic/ui.qml | 5 +++-- src/qml/filters/gpstext/ui.qml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/qml/filters/gpsgraphic/ui.qml b/src/qml/filters/gpsgraphic/ui.qml index d13812cdcc..f368fbe4fc 100644 --- a/src/qml/filters/gpsgraphic/ui.qml +++ b/src/qml/filters/gpsgraphic/ui.qml @@ -432,6 +432,7 @@ Item { } else { gpsFinishParseTimer.stop(); calls = 0; + filter.set('time_offset', filter.get('auto_gps_offset_start')); setControls(); } } @@ -859,10 +860,10 @@ Item { value: 1 horizontalAlignment: Qt.AlignRight - Layout.minimumWidth: 80 + Layout.minimumWidth: 100 from: 0 to: 10000 - decimals: 2 + decimals: 3 stepSize: 1 suffix: 'x' onValueChanged: { diff --git a/src/qml/filters/gpstext/ui.qml b/src/qml/filters/gpstext/ui.qml index 1dc54c8c88..05f5076fe3 100644 --- a/src/qml/filters/gpstext/ui.qml +++ b/src/qml/filters/gpstext/ui.qml @@ -142,7 +142,7 @@ Shotcut.KeyframableFilter { filter.set('smoothing_value', 5); filter.set('videofile_timezone_seconds', 0); filter.set('speed_multiplier', 1); - filter.set('updates_per_second', 1); + filter.set('updates_per_second', -1); filter.set('gps_processing_start_time', 'yyyy-MM-dd hh:mm:ss'); } else { if (filter.get('gps_processing_start_time') == 'yyyy-MM-dd hh:mm:ss' && filter.get('gps_start_text') != '') @@ -646,10 +646,10 @@ Shotcut.KeyframableFilter { value: 1 horizontalAlignment: Qt.AlignRight - Layout.minimumWidth: 80 + Layout.minimumWidth: 100 from: 0 - to: 1000 - decimals: 2 + to: 10000 + decimals: 3 stepSize: 1 suffix: 'x' onValueChanged: { @@ -911,7 +911,7 @@ Shotcut.KeyframableFilter { TextField { id: updates_per_second - text: '1' + text: '-1' horizontalAlignment: TextInput.AlignRight implicitWidth: 25 onFocusChanged: { @@ -925,7 +925,7 @@ Shotcut.KeyframableFilter { } validator: DoubleValidator { - bottom: 0 + bottom: -1 top: 1000 } } @@ -936,8 +936,8 @@ Shotcut.KeyframableFilter { Shotcut.UndoButton { onClicked: { - filter.set('updates_per_second', 1); - updates_per_second.text = '1'; + filter.set('updates_per_second', -1); + updates_per_second.text = '-1'; } } } From 7b59327630e4b05a20f05d9365ee776e79f4dec6 Mon Sep 17 00:00:00 2001 From: Daniel F Date: Tue, 29 Sep 2026 22:28:59 +0300 Subject: [PATCH 2/3] filter.istAtLeastVersion(9) for new defaults --- src/qml/filters/gpstext/ui.qml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/qml/filters/gpstext/ui.qml b/src/qml/filters/gpstext/ui.qml index 05f5076fe3..ee063ecf2f 100644 --- a/src/qml/filters/gpstext/ui.qml +++ b/src/qml/filters/gpstext/ui.qml @@ -142,7 +142,10 @@ Shotcut.KeyframableFilter { filter.set('smoothing_value', 5); filter.set('videofile_timezone_seconds', 0); filter.set('speed_multiplier', 1); - filter.set('updates_per_second', -1); + if (isAtLeastVersion(9)) + filter.set('updates_per_second', -1); + else + filter.set('updates_per_second', 1); filter.set('gps_processing_start_time', 'yyyy-MM-dd hh:mm:ss'); } else { if (filter.get('gps_processing_start_time') == 'yyyy-MM-dd hh:mm:ss' && filter.get('gps_start_text') != '') @@ -903,7 +906,9 @@ Shotcut.KeyframableFilter { Layout.alignment: Qt.AlignRight Shotcut.HoverTip { - text: qsTr('Set how many text updates to show per second.\nSet to 0 to only print real points (no interpolation).') + property var string_v0: qsTr('Set how many text updates to show per second.\nSet to 0 to only print real points (no interpolation).') + property var string_v9: qsTr('Set how many text updates to show per second.\nSet to 0 to only print real points (no interpolation).\nSet to -1 to update every frame.') + text: (filter.isAtLeastVersion(9) ? string_v9 : string_v0) } } @@ -911,7 +916,7 @@ Shotcut.KeyframableFilter { TextField { id: updates_per_second - text: '-1' + text: (filter.isAtLeastVersion(9) ? '-1' : '1') horizontalAlignment: TextInput.AlignRight implicitWidth: 25 onFocusChanged: { @@ -925,7 +930,7 @@ Shotcut.KeyframableFilter { } validator: DoubleValidator { - bottom: -1 + bottom: (filter.isAtLeastVersion(9) ? -1 : 0) top: 1000 } } @@ -936,8 +941,8 @@ Shotcut.KeyframableFilter { Shotcut.UndoButton { onClicked: { - filter.set('updates_per_second', -1); - updates_per_second.text = '-1'; + filter.set('updates_per_second', (filter.isAtLeastVersion(9) ? -1 : 1)); + updates_per_second.text = (filter.isAtLeastVersion(9) ? '-1' : '1'); } } } From c9e2f0732dba1ab1fbec6292644f7db89d3be733 Mon Sep 17 00:00:00 2001 From: Daniel F Date: Sun, 4 Oct 2026 01:14:34 +0300 Subject: [PATCH 3/3] fix missing filter. --- src/qml/filters/gpstext/ui.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/filters/gpstext/ui.qml b/src/qml/filters/gpstext/ui.qml index ee063ecf2f..510a46d323 100644 --- a/src/qml/filters/gpstext/ui.qml +++ b/src/qml/filters/gpstext/ui.qml @@ -142,7 +142,7 @@ Shotcut.KeyframableFilter { filter.set('smoothing_value', 5); filter.set('videofile_timezone_seconds', 0); filter.set('speed_multiplier', 1); - if (isAtLeastVersion(9)) + if (filter.isAtLeastVersion(9)) filter.set('updates_per_second', -1); else filter.set('updates_per_second', 1);