Repository navigation
GPS filters: add support for txt files, auto match gps, update UIs - #1944
Conversation
|
Question: do I need to add a new filter version and restrict the file open dialogue file types to remove |
|
I do not think the file dialog's types list needs a version check. |
There was a problem hiding this comment.
🟡 Changes recommended
Multiple unresolved moderate issues affect file selection, default geometry, and automatic aspect-ratio handling.
6 open issues
Persist the default rectangle during filter initialization · New Wrap the all-files name-filter pattern in parentheses · New Wrap the all-files name-filter pattern in parentheses · New Declare the new immutable local with const · New Rename new QML identifiers to camelCase · New Declare the new immutable local with const · New
What changed in this PR
This pull request updates the GPS text and graphic filter UIs with .txt/all-files support, automatic companion GPS detection, improved positioning defaults, and new graphic sizing controls.
Changes:
- Adds
.txtand all-files options to both GPS file dialogs. - Adds short-lived polling for automatically detected companion GPS files.
- Updates GPS placement defaults and adds fullscreen, default-position, and aspect-ratio controls for GPS graphics.
| File | Description | Review findings |
|---|---|---|
src/qml/filters/gpstext/ui.qml |
Adds text-file support, automatic companion-file handling, and updated text positioning. | Moderate, 3 votes: *.* entries at lines 176 and 206 are not wrapped in the required Qt name-filter parentheses. Nit, 2 votes: the newly added non-reassigned local at line 198 should use const instead of var. |
src/qml/filters/gpsgraphic/ui.qml |
Adds graphic file support, companion-file detection, updated defaults, and rectangle sizing controls. | Moderate, 3 votes: *.* entries at lines 404 and 433 need Qt name-filter parentheses. Moderate, 2 votes: default_rect is not persisted because the helper ignores its rect argument. Moderate, 1 vote: aspect-ratio correction must reject non-positive or reversed crop spans. Moderate, 1 vote: automatic companion-file handling does not apply the same aspect-ratio update as manual selection. Nit, 2 votes: rename underscore-style identifiers to camelCase. Nit, 2 votes: use const for non-reassigned locals, including line 1703. Nit, 1 vote: adjust the fullscreen preset to produce the specified 99% rectangle. |
Review effort: Lite
174b02e to
dfb1d25
Compare


.txtand*.*before vs after:

mlt change: mltframework/mlt#1347