Commit Graph
927 Commits
Author SHA1 Message Date
Long cf3d5607e0 update PR 2026-04-10 02:41:22 +07:00
Lout 9ab6b6f130 fix(export): preserve stream-start offsets during decode
Align decoded frame timestamps with the media timeline so trimmed exports do not end early on recordings whose video stream starts after the container timeline.
2026-04-09 12:19:55 -05:00
webadderall 433173e0c5 Merge branch 'pr-207' 2026-04-09 23:31:08 +10:00
webadderall d8e57f7600 fix(whisper): reset download state on model deletion failure
When deleting the Whisper model failed, the frontend kept stale state
(whisperModelDownloadStatus stayed as 'downloaded'), which blocked
re-downloading because the download handler saw the model as already
present. On the backend, no progress event was sent on failure, leaving
the renderer out of sync.

Frontend: reset whisperModelDownloadStatus and progress to idle on
delete failure so re-download is unblocked.
Backend: verify whether the file was actually removed despite the error
and send appropriate progress events in either case.

Closes #152
2026-04-09 23:27:14 +10:00
webadderall 68999b1605 fix(timeline): prevent clip regions from overlapping during drag/resize
The hasOverlap function in TimelineEditor checked zoom, trim, speed, and
audio regions for overlap but was missing clip regions entirely. This
caused clips to freely overlap each other when dragged or resized,
leading to playback bugs when trimmed clips intersected.

Add clip region overlap detection so the existing clampToNeighbours
logic in TimelineWrapper correctly constrains clip boundaries.

Closes #166
2026-04-09 23:25:00 +10:00
Mohamed 0c5fa40c1f fix(hud): resolve overlay snap to primary on multi-monitor
- Add getHudOverlayDisplay() helper using getDisplayMatching()
  to detect which display the HUD is currently on
- Replace getPrimaryDisplay() in getHudOverlayBounds(),
  set-hud-overlay-compact-width, set-hud-overlay-measured-height
  handlers, and createHudOverlayWindow() maxHeight constraint
- Falls back to primary display when HUD window doesn't exist

Tested on Windows 11 with dual-monitor setup. HUD stays on
the external monitor through recording start/stop and
expand/collapse cycles.
2026-04-09 14:00:50 +02:00
webadderall 6703e6fb63 fix(settings): restore user preferences after loading project on startup
When loading a saved project on startup, applyLoadedProject() overwrites
all editor state — including user preference settings like padding,
aspect ratio, and export format — with potentially stale project values.
The subsequent save effect then writes those stale values back to
localStorage, effectively erasing the user's latest preferences.

Now re-applies preference-level settings from localStorage after project
load so that per-user settings (padding, border radius, aspect ratio,
export format/quality/encoding, gif settings) survive across sessions.

Fixes #197
2026-04-09 21:24:19 +10:00
webadderall 7d80678b38 fix(windows): use per-display scale factor for window cursor position
When recording a window on a secondary monitor with a different DPI,
getNormalizedCursorPoint() used the primary display's scale factor for
both cursor and window-bounds conversion. This produced incorrect
normalised coordinates. Now resolves the display that contains the
target window and uses that display's scale factor instead.

Fixes #204
2026-04-09 21:23:48 +10:00
webadderall fb54994685 fix(macos): lower deployment target to macOS 13.0 for native helpers
The Swift helper binaries were compiled with -target macos14.0, causing
dyld symbol-not-found crashes on macOS 13. The ScreenCaptureKit audio
APIs require macOS 13.0 minimum, so the deployment target is lowered to
13.0 and an #available guard is added for the macOS 14-only
ignoreShadowsSingleWindow API. README updated accordingly.

Fixes #199, fixes #200
2026-04-09 21:23:33 +10:00
webadderall c85fb7a05a feat: show real-time audio rendering progress during export finalization
Instead of freezing at 'Finalizing 99%' while audio renders in real-time,
the export UI now shows 'Rendering audio XX%' with a live progress bar and
an explanatory note about why real-time playback is required.

Progress is reported every 250ms from the RAF tick loop in AudioProcessor
and piped through VideoExporter to the UI via the existing onProgress callback.
2026-04-09 18:25:25 +10:00
webadderall 4069b75fc6 fix: anchor winget installers-regex to exclude .blockmap files 2026-04-09 17:31:01 +10:00
webadderall 07dfb97cb6 ci: add workflow_dispatch to winget releaser 2026-04-09 17:12:18 +10:00
webadderall ed493ee60b fix: pass release-tag to winget-releaser for workflow_run trigger 2026-04-09 17:07:44 +10:00
webadderall 6184af2689 Merge pull request #198 from gillesserrien/feat/i18n-nl
feat(i18n): add Dutch (nl) locale
2026-04-09 17:01:52 +10:00
webadderall a56dbb4fca fix: winget workflow triggers after release build completes
Changed from release:released (races with build) to workflow_run
that waits for the Publish Release workflow to succeed first.
v1.1.20
2026-04-09 16:52:55 +10:00
webadderall 919a29c61d fix: export animation desync — use content time for zoom spring delta
The zoom spring animation in both frameRenderer and modernFrameRenderer
was using performance.now() (wall-clock time) to compute spring deltas.
During export, wall-clock time and content time are decoupled — a frame
representing 33ms of video may render in 3ms or 500ms. This caused zoom
animations to appear choppy/laggy in exports while previews were smooth.

Switched to content-time deltas (timeMs) so the spring advances at the
same rate as the video regardless of actual render speed.

Also bumps version to 1.1.20.
2026-04-09 16:51:21 +10:00
webadderall f8c59c87b8 Add Tobias and Roberto Marcelino to supporters list 2026-04-09 16:11:06 +10:00
webadderall ad426453c7 fix: harden cursor-monitor spawn against ENOENT on Windows
Use F_OK instead of X_OK for Windows fs.access check (X_OK is meaningless
on Windows). Wrap spawn() in try/catch to prevent uncaught exception if the
binary is missing or blocked by antivirus.
2026-04-09 16:07:57 +10:00
webadderall 646dcf92f0 fix: cursor DPI normalization for Windows/Linux scaled displays
On non-macOS platforms, platform APIs (iohook, GetWindowRect, xwininfo)
return physical pixel coordinates while Electron returns DIP coordinates.
Apply scaleFactor correction so cursor normalization uses a consistent
coordinate space. Fixes ~30-40px cursor offset on Windows 11 and Linux
Mint when display scaling is >100%.

Also fixes winget-releaser workflow (use v2 tag instead of invalid @latest).
2026-04-09 15:58:17 +10:00
Gilles Serrien 533f6bc3d8 fix(i18n): phrasing 2026-04-08 23:56:40 +02:00
Gilles Serrien a8439e9bf8 fix(i18n): remove extra keys from nl locale 2026-04-08 20:56:51 +02:00
Gilles Serrien a2ac46f416 feat(i18n): add Dutch (nl) locale 2026-04-08 20:51:10 +02:00
webadderall b6859efd82 chore: bump version to 1.1.19 v1.1.19 2026-04-09 01:04:55 +10:00
webadderall 094a43c1a8 feat: classic zoom toggle, clip speed support, restore zoom durations
- Add Classic Animation toggle (disables cursor follow + spring smoothing)
- Remap zoomSmoothness slider from 0-2 to 0-1 range, default 0.5
- Fix clip speed: merge clip speeds into effectiveSpeedRegions
- Restore zoom duration constants to original values
  (ZOOM_IN_TRANSITION_WINDOW_MS: 700ms -> 1522ms, TRANSITION_WINDOW_MS: 1000 -> 1015.05)
- Pass missing zoomSmoothness to VideoPlayback and GIF exporter
- Persist zoomSmoothness and zoomClassicMode in project files
2026-04-09 00:55:27 +10:00
webadderall 4bd45dc927 fix: cursor desync in exports — remove erroneous startup offset from cursor timestamp 2026-04-08 23:39:35 +10:00
webadderall 6a851bf703 test(zoom): add 50 zoom animation unit tests
Cover spring solver, cursor follow camera, edge snap focus,
zoom region utilities, and motion smoothing edge cases.
2026-04-08 22:19:27 +10:00
webadderall e32bc9fea6 feat(zoom): merge nearby auto zoom suggestions within 1.5s
Suggested zoom regions with gaps <= 1500ms are merged into single
contiguous spans before being added to the timeline.
2026-04-08 22:00:28 +10:00
webadderall e670956e42 fix(export): audio encoder reliability and gif exporter compat 2026-04-08 22:00:23 +10:00
webadderall 8f6f1d3d68 feat(zoom): add mode switcher and smoothness slider to zoom UI
Add auto/manual pill-button mode switcher in zoom region detail.
Move Zoom Smoothness slider from cursor section to zoom section.
2026-04-08 22:00:16 +10:00
webadderall 8daa804ff5 fix(zoom): hide focus overlay for auto zoom regions
Auto zoom regions use cursor follow, so the blue draggable focus
boundary is hidden and pointer events disabled.
2026-04-08 22:00:07 +10:00
webadderall aeac1099ef feat(zoom): tag zoom regions as auto or manual in VideoEditor
handleZoomSuggested creates regions with mode: 'auto',
handleZoomAdded creates regions with mode: 'manual'.
Wire zoomSmoothness state and mode change handler.
2026-04-08 22:00:00 +10:00
webadderall 5b07af5083 feat(zoom): add spring animation and cursor follow to export pipeline
Both legacy (FrameRenderer) and modern (ModernFrameRenderer) exporters
now use inlined spring solver and cursor follow camera for auto zooms.
Wire zoomSmoothness config through both exporter paths.
2026-04-08 21:43:27 +10:00
webadderall 8edfc7685e feat(zoom): integrate spring animation and cursor follow in preview
Add spring state for scale/x/y, cursor follow camera state.
Auto zoom regions use cursor-follow focus with edge snapping.
2026-04-08 21:43:18 +10:00
webadderall 073649591d feat(zoom): tune zoom timing constants
ZOOM_IN_TRANSITION_WINDOW_MS reduced to 0.7x for 800ms delay.
CHAINED_ZOOM_PAN_GAP_MS = 1350, CONNECTED_ZOOM_PAN_DURATION_MS = 1000.
ZOOM_OUT_EARLY_START_MS = 150.
2026-04-08 21:43:10 +10:00
webadderall 34bc473479 feat(zoom): add cursor follow camera with edge snap focus
Cursor follow camera tracks cursor position for auto zoom regions
with edge snapping and zoom-out freeze. Edge snap focus remaps cursor
to clamp near screen boundaries.
2026-04-08 21:43:03 +10:00
webadderall 76143731e3 feat(zoom): inline damped harmonic oscillator spring solver
Replace motion library spring() with custom solver supporting
configurable smoothness. Add getZoomSpringConfig and getCursorSpringConfig.
2026-04-08 21:42:54 +10:00
webadderall 6b58074c85 feat(zoom): add auto/manual zoom mode type and default auto zoom depth 2026-04-08 21:42:44 +10:00
webadderall aa3018ea1e fix(i18n): add Korean label to locale switchers
Add ko: '한국어' to LOCALE_LABELS in LaunchWindow and VideoEditor so the language switcher shows the native name instead of falling back to the raw code.
2026-04-08 19:46:43 +10:00
webadderall 743ddd1009 Merge pull request #175 from rofeels/feat/i18n-ko
feat(i18n): add Korean (ko) locale
2026-04-08 19:31:01 +10:00
webadderall 3b739082aa Merge pull request #192 from MohamedV0/fix/windows-path-resolution
fix(windows): use path.posix for URL path resolution
2026-04-08 15:07:43 +10:00
webadderall f1b57d9c5d Merge pull request #191 from octo-patch/feat/issue-177-winget-releaser
feat: add winget-releaser workflow for automatic WinGet releases
2026-04-07 23:42:40 +10:00
Mohamed 20209cc02d fix(windows): use path.posix for URL path resolution
- replace path.normalize() with path.posix.normalize() in
  resolveRequestedFilePath to preserve forward slashes on Windows
- add empty-string guard for degenerate pathnames
- remove win32 bypass in loadPackagedEditorWindow

path.normalize() converts / to \ on Windows, causing path.resolve
to escape to the drive root and return 403 Forbidden.
2026-04-07 06:18:45 +02:00
Octopus 6d5749754e feat: add winget-releaser workflow for automatic WinGet releases (fixes #177) 2026-04-06 21:38:38 +08:00
webadderall 2692b28604 Hotfix 1.1.18 v1.1.18 2026-04-06 22:39:31 +10:00
webadderall 2a155faaf6 Hotfix 1.1.17 v1.1.17 2026-04-06 18:10:29 +10:00
webadderall 012bec21a7 Prefer WebCodecs auto export and harden Pixi fallback v1.1.16 2026-04-06 15:23:06 +10:00
webadderall 96d2ca9e5c Improve tray and packaged editor restore paths 2026-04-06 15:22:58 +10:00
webadderall 18812bda10 Fix Windows tray restore during recording 2026-04-05 23:23:16 +10:00
webadderall ec5b26ee92 fix v1.1.16 release notes 2026-04-05 22:09:46 +10:00
webadderall a760892490 fix export cursor lag 2026-04-05 22:04:17 +10:00