But you know exactly where Paint.NET thinks the dialog should be. It's where the dialog was located on the screen before it got moved.
Monitors are so wide these days that centering is a useful feature, even if it's on the same monitor. You just don't want it to cause misclicks. The way to do that is to center only if there is no overlap -- i.e., if the user cannot click on the wrong option.
The idea is that if the program put a dialog over the main window, then it probably knows what it's doing. DisplayFusion shouldn't second-guess it and move it anyway. Before moving a child window, it should check its position, check for overlap, and then cancel.
--
Actually, there's another bug here. I have "Only move modal windows [...]" checked. And the Unsaved Changes dialog in Paint.NET is modal. So it shouldn't have been getting moved at all, even if Center was checked.
In fact, DisplayFusion is even moving the Unsaved Changes dialog in Notepad! This is not a custom dialog like the Paint.NET dialog -- it's a standard Windows dialog. If it's even happening to Notepad, then the whole thing is broken.
--
As for your suggested workaround:
Quote:
if you disable the "Centre the child window" option in the Settings, it will only centre it if it had to move the child window from a different monitor. If the child window is already on the correct monitor, it won't get moved by DisplayFusion.
If it works as you describe, then the text of the option is misleading.
"Center the child window [...]" is currently a suboption under "Move child windows to the same monitor [...]". Because it is a suboption, you expect it to control what happens when the parent option is activated, i.e.,
only when moving child windows to a different monitor.
If it works as you describe, then it's
always centering child windows after moving them between monitors. (This makes sense since monitors can be different sizes.) The option is actually doing the reverse of what its position implies -- it's controlling the centering of child windows that are
not moved to a new monitor.
The text of the option should be revised to say this.