diff --git a/src-tauri/deny.toml b/src-tauri/deny.toml index 940b12f23..4805d9ff0 100644 --- a/src-tauri/deny.toml +++ b/src-tauri/deny.toml @@ -77,6 +77,9 @@ ignore = [ { id = "RUSTSEC-2026-0347", reason = "rustls <0.23.46 pulled by reqwest/hyper-rustls; ECH not used" }, { id = "RUSTSEC-2026-0348", reason = "rustls <0.23.46 pulled by reqwest/hyper-rustls; brotli cert compression feature not enabled" }, { id = "RUSTSEC-2026-0349", reason = "rustls <0.23.46 pulled by reqwest/hyper-rustls; PQ key exchange downgrade, no key compromise" }, + { id = "RUSTSEC-2026-0381", reason = "webpki-roots <1.0.10 pulled by reqwest/hyper-rustls; distrusted emSign root, fixed by lockfile update" }, + { id = "RUSTSEC-2026-0382", reason = "rustls-webpki <0.103.16 pulled by rustls; distrusted emSign intermediates, fixed by lockfile update" }, + { id = "RUSTSEC-2026-0383", reason = "webpki-root-certs <1.0.10 pulled by rustls-platform-verifier; distrusted emSign root, fixed by lockfile update" }, # The "unmaintained" advisories below stem from our use of Tauri v2, which # depends on GTK3 bindings that are no longer maintained. { id = "RUSTSEC-2024-0370", reason = "Tauri v2 GTK3 dependency (unmaintained)" }, diff --git a/src-tauri/src/window_manager/mod.rs b/src-tauri/src/window_manager/mod.rs index 9563e5355..5893b28bb 100644 --- a/src-tauri/src/window_manager/mod.rs +++ b/src-tauri/src/window_manager/mod.rs @@ -316,9 +316,7 @@ pub async fn initiate_configure_factor_screen( error!("initiate_configure_factor_screen: Failed to hide new-ui window: {err:?}"); } } - let window = WindowManager::open_full_view(&app).map_err(tauri_err_to_app_err)?; - // The Windows `open_full_view` positions and shows the window, but never focuses it. - let _ = window.set_focus(); + WindowManager::open_full_view(&app).map_err(tauri_err_to_app_err)?; app.emit_to( FULL_VIEW_WINDOW_ID, EventKey::ConfigureFactorsTrigger.into(), diff --git a/src-tauri/src/window_manager/windows.rs b/src-tauri/src/window_manager/windows.rs index 2e6c29298..59032b72c 100644 --- a/src-tauri/src/window_manager/windows.rs +++ b/src-tauri/src/window_manager/windows.rs @@ -328,6 +328,7 @@ impl WindowManager { info!("open_full_view: Position set, showing window"); window.show()?; info!("open_full_view: Window shown successfully"); + window.set_focus()?; Ok(window) }