LLeMbas Desktop 0.7.2: starts again on Linux
0.7.1 read WebKitWebView's 'settings' property through GLib; it is write-only, GLib panicked, and the app aborted before its window appeared. The read is gone; the microphone permission handler stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4 files changed
+11
-17
No files matched your search
@@ -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.
|
||||
|
||||
Generated
+1
-1
@@ -2064,7 +2064,7 @@ checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
|
||||
|
||||
[[package]]
|
||||
name = "llembas-desktop"
|
||||
version = "0.7.1"
|
||||
version = "0.7.2"
|
||||
dependencies = [
|
||||
"gtk",
|
||||
"libc",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -439,10 +439,6 @@ fn build_main(handle: &AppHandle, target: Option<Url>) -> 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).
|
||||
|
||||
Reference in new issue
Block a user