miguelpruivo / flutter_file_picker

File picker plugin for Flutter, compatible with mobile (iOS & Android), Web, Desktop (Mac, Linux, Windows) platforms with Flutter Go support.
MIT License
1.35k stars 672 forks source link

[Feature] Center dialogs on Windows #1593

Closed JCKodel closed 1 month ago

JCKodel commented 2 months ago

By default, Windows opens the dialogs at the top left corner of "something".

In my case, I have 3 4K monitors:

[1]   [2 - Main]   [3]

No matter where the app main window is, the dialogs appears on the top left of monitor [3].

I know Win32 doesn't have any kind of support to specify where the dialog will be open, but I'm pretty sure there is some hook or even a hwnd that we can use after opening the dialog to move it.

Ideally, it should be moved to the center of app's window.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale.