diff --git a/CHANGELOG.md b/CHANGELOG.md index 7983b1a..42658d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ All notable changes to LLeMbas Desktop. The format follows ## [Unreleased] +## [0.7.2] — 2026-10-24 + +### Fixed + +- **0.7.1 did not start on Linux.** It read a WebKitGTK property that can only be written, and the + app stopped before its window appeared ("property 'settings' of type 'WebKitWebView' is not + readable"). That line is gone; the microphone permission it was meant to back up stays, and + current WebKitGTK has media capture on by default. + ## [0.7.1] — 2026-10-23 The microphone works, and LLeMbas CLI 1.5.1 inside. diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 570c8d6..0df3e1d 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -2064,7 +2064,7 @@ checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" [[package]] name = "llembas-desktop" -version = "0.7.1" +version = "0.7.2" dependencies = [ "gtk", "libc", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index d64cdc8..6bff0c1 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "llembas-desktop" -version = "0.7.1" +version = "0.7.2" description = "LLeMbas Desktop: your LLeMbas server in a window, with the agent on this computer" authors = ["Jaroslav Beneš"] license = "MIT" diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 2e0e4b3..0e1512f 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -439,10 +439,6 @@ fn build_main(handle: &AppHandle, target: Option) -> tauri::Result<()> { (size.height - TITLE_H - 2.0 * FRAME).max(0.0), ), )?; - #[cfg(target_os = "linux")] - if let Some(content) = handle.get_webview(CONTENT) { - enable_capture(&content); - } layout(&window); Ok(()) } @@ -464,17 +460,6 @@ fn permission(handle: &AppHandle, view: &Webview, kind: PermissionKind) -> Permi } } -/// Media capture on, explicitly: current WebKitGTK has it on by default, but the AppImage carries -/// the older WebKitGTK of the system it was built on. -#[cfg(target_os = "linux")] -fn enable_capture(view: &Webview) { - let _ = view.with_webview(|pv| { - use gtk::prelude::*; - let settings: gtk::glib::Object = pv.inner().property("settings"); - settings.set_property("enable-media-stream", true); - }); -} - /// On Linux, Tauri packs every webview of a window into the window's GTK box, each with an equal /// share of the height, and positions and sizes set on a webview are not applied there. So the /// title bar is told directly: a fixed height, no share of what is left (the content takes it).