window_manager icon indicating copy to clipboard operation
window_manager copied to clipboard

Linux - repositioning on start

Open spajdo opened this issue 1 year ago • 0 comments

Hi. I want to use this library but it does weird thing. I have setup it like this ` void main() async { WidgetsFlutterBinding.ensureInitialized(); await windowManager.ensureInitialized(); windowManager.hide();

WindowOptions windowOptions = const WindowOptions( size: Size(1200, 700), center: true, skipTaskbar: false, titleBarStyle: TitleBarStyle.normal, ); windowManager.waitUntilReadyToShow(windowOptions, () async { await windowManager.show(); await windowManager.focus(); });

runApp(const MyApp()); } `

And when I'm starting my application, it appears on left site of my screen and after 1 second (maybe 2) it is repositioning to center of my screen. It doesn't look good. Can I setup it somehow to appears right in the center of my screen?

spajdo avatar Oct 08 '24 08:10 spajdo