We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f63ab commit 155db1aCopy full SHA for 155db1a
src-tauri/src/lib.rs
@@ -115,6 +115,12 @@ pub fn run_app() {
115
window_clone.set_fullscreen(true).unwrap();
116
// Ensure webview maintains focus for input after fullscreen
117
let _ = window_clone.set_focus();
118
+ } else {
119
+ // Fix: Ubuntu 24.04/GNOME window buttons non-functional until resize (#1122)
120
+ // The window manager needs time to process the MapWindow event before
121
+ // accepting focus requests. Without this, decorations remain non-interactive.
122
+ tokio::time::sleep(tokio::time::Duration::from_millis(30)).await;
123
+ let _ = window_clone.set_focus();
124
}
125
126
});
0 commit comments