From 5ea62a1216dedf7a99a70edd650f09d9cfd240d3 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Wed, 23 Apr 2025 11:23:11 +0200 Subject: [PATCH] Do focus on popup Because the window APPEARS over our current window But isn't focuseded So we canj't see our fucking window And we can't close the new fucking window So it's the worst of both worlds FUCK --- lib/main.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/main.dart b/lib/main.dart index 7c9d7c3..00aa0e1 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -222,6 +222,8 @@ class MainPageState extends State with WindowListener { await windowManager.setSize(const Size(1600, 900)); await windowManager.center(); await windowManager.show(); + await windowManager.focus(); + _currentEntryFocusNode.requestFocus(); await _playSound(); } else { await windowManager.focus();