Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix: video-effects slider desync, a slow background picker, and the HUD in captures

Etienne Lescot792de0f396ad
diff --git a/electron/windows.ts b/electron/windows.ts
index 99ea88744..57b231bd9 100644
--- a/electron/windows.ts
+++ b/electron/windows.ts
@@ -187,6 +187,11 @@ export function createHudOverlayWindow(): BrowserWindow {
});
win.setIgnoreMouseEvents(true, { forward: true });
+ // Exclude the HUD from any screen/window capture (WGC on Windows uses the same
+ // SetWindowDisplayAffinity affinity this sets) so the recording controls never
+ // end up baked into the recorded video, same as the notes window below.
+ win.setContentProtection(true);
+
// Follow the user across macOS Spaces, else the HUD stays pinned to the Space
// it was first opened on.
if (process.platform === "darwin") {
@@ -196,6 +201,7 @@ export function createHudOverlayWindow(): BrowserWindow {
// Show only once painted to avoid the black rectangle flash when a transparent
// window is shown before its first paint.
win.once("ready-to-show", () => {
+ win.setContentProtection(true);
if (!HEADLESS) win.show();
});
diff --git a/public/wallpapers/thumbs/wallpaper1.jpg b/public/wallpapers/thumbs/wallpaper1.jpg
new file mode 100644
index 000000000..3b807fdfd
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper1.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper10.jpg b/public/wallpapers/thumbs/wallpaper10.jpg
new file mode 100644
index 000000000..67f011b61
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper10.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper11.jpg b/public/wallpapers/thumbs/wallpaper11.jpg
new file mode 100644
index 000000000..3ddae52c0
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper11.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper12.jpg b/public/wallpapers/thumbs/wallpaper12.jpg
new file mode 100644
index 000000000..fcb82f393
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper12.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper13.jpg b/public/wallpapers/thumbs/wallpaper13.jpg
new file mode 100644
index 000000000..cfeb50f66
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper13.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper14.jpg b/public/wallpapers/thumbs/wallpaper14.jpg
new file mode 100644
index 000000000..c4b8e0a6b
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper14.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper15.jpg b/public/wallpapers/thumbs/wallpaper15.jpg
new file mode 100644
index 000000000..ea949b1d9
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper15.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper16.jpg b/public/wallpapers/thumbs/wallpaper16.jpg
new file mode 100644
index 000000000..7a3182474
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper16.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper17.jpg b/public/wallpapers/thumbs/wallpaper17.jpg
new file mode 100644
index 000000000..effce8113
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper17.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper18.jpg b/public/wallpapers/thumbs/wallpaper18.jpg
new file mode 100644
index 000000000..5dfc629db
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper18.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper2.jpg b/public/wallpapers/thumbs/wallpaper2.jpg
new file mode 100644
index 000000000..371cc69a6
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper2.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper3.jpg b/public/wallpapers/thumbs/wallpaper3.jpg
new file mode 100644
index 000000000..49d9191e5
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper3.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper4.jpg b/public/wallpapers/thumbs/wallpaper4.jpg
new file mode 100644
index 000000000..169dd84b8
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper4.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper5.jpg b/public/wallpapers/thumbs/wallpaper5.jpg
new file mode 100644
index 000000000..bc4e93b4a
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper5.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper6.jpg b/public/wallpapers/thumbs/wallpaper6.jpg
new file mode 100644
index 000000000..b11145bf4
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper6.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper7.jpg b/public/wallpapers/thumbs/wallpaper7.jpg
new file mode 100644
index 000000000..0fd5b38bf
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper7.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper8.jpg b/public/wallpapers/thumbs/wallpaper8.jpg
new file mode 100644
index 000000000..7380ffbb9
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper8.jpg differ
diff --git a/public/wallpapers/thumbs/wallpaper9.jpg b/public/wallpapers/thumbs/wallpaper9.jpg
new file mode 100644
index 000000000..baa49c974
Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper9.jpg differ
diff --git a/src/components/ai-edition/RightPanes.tsx b/src/components/ai-edition/RightPanes.tsx
index 9b493e3e9..3207ff48e 100644
--- a/src/components/ai-edition/RightPanes.tsx
+++ b/src/components/ai-edition/RightPanes.tsx
@@ -54,7 +54,7 @@ import { locateVirtualPosition } from "@/lib/ai-edition/timeline/virtual-preview
import { getAssetPath } from "@/lib/assetPath";
import { CURSOR_THEMES, DEFAULT_CURSOR_THEME_ID } from "@/lib/cursor/cursorThemes";
import { buildGradientFromEditor } from "@/lib/gradientBuilder";
-import { resolveImageWallpaperUrl, WALLPAPER_PATHS } from "@/lib/wallpaper";
+import { resolveImageWallpaperUrl, WALLPAPER_PATHS, WALLPAPER_THUMB_PATHS } from "@/lib/wallpaper";
import { isNativeCompositorActive, setNativeParam, subscribeNativeCompositor } from "@/native";
import styles from "./NewEditorShell.module.css";
@@ -288,7 +288,10 @@ export function BackgroundPane() {
/>
))}
{WALLPAPER_PATHS.map((path, i) => {
- const previewUrl = resolveImageWallpaperUrl(path);
+ // Grid swatch paints the small pre-generated thumbnail (see
+ // WALLPAPER_THUMB_PATHS) — selecting it still stores/applies `path`,
+ // the full-res original, unchanged.
+ const previewUrl = resolveImageWallpaperUrl(WALLPAPER_THUMB_PATHS[i]);
return (
<button
type="button"
@@ -1764,7 +1767,7 @@ function SliderCell({
min={min}
max={max}
step={step}
- defaultValue={value}
+ value={value}
disabled={disabled}
onChange={(e) => onChange(Number(e.target.value))}
onMouseUp={onCommit}
diff --git a/src/lib/wallpaper.ts b/src/lib/wallpaper.ts
index 010f47c2f..7ce5e27f3 100644
--- a/src/lib/wallpaper.ts
+++ b/src/lib/wallpaper.ts
@@ -7,6 +7,16 @@ export const WALLPAPER_PATHS: readonly string[] = Array.from(
(_, i) => `/wallpapers/wallpaper${i + 1}.jpg`,
);
+// Small (240x240, ~3-8KB) pre-generated copies used ONLY for the picker grid's swatches — the
+// full-res originals (up to 4+MB, up to 7680px) are what `settings.wallpaper` still stores and
+// what actually gets rendered/exported. Without this the grid was decoding all 18 originals
+// (~20MB combined) simultaneously just to paint a few dozen px each (reported: picker felt slow
+// to load).
+export const WALLPAPER_THUMB_PATHS: readonly string[] = Array.from(
+ { length: WALLPAPER_COUNT },
+ (_, i) => `/wallpapers/thumbs/wallpaper${i + 1}.jpg`,
+);
+
export const DEFAULT_WALLPAPER = WALLPAPER_PATHS[0];
export type WallpaperClassification =