NetMage
287 discussion posts
The Move Window to Mouse Cursor Monitor doesn't always do the best thing when the cursor is near the middle of two monitors.
I have a program I use fairly often and when I open a dialog from a menu near the left hand size of my right monitor, it puts the menu and the dialog on the left monitor near the cursor on the right monitor, i.e. on the right hand side of my left monitor. DF then promptly moves the dialog to the right hand side of my right monitor (which has the mouse cursor) as far away as possible from the mouse cursor. This is never what I want to happen.
Perhaps there can be some options to either not move the dialog further away from the mouse cursor when moving it to the new monitor, or moving it both to the new monitor and near the mouse cursor.
I may try to write a trigger, but DF with triggers has been unstable (again) for me.
Yeah, for sure! I whipped up a quick sample script to move the window to the mouse cursor, regardless of what monitor it's on, but it doesn't do anything fancy like re-sizing the window if the window would be outside of the monitor bounds.
NetMage
287 discussion posts
Mine moves the window to the mouse cursor when it is not maximized (just moves monitor for maximized), and the new window is not under the mouse cursor originally, after moving the window to the same monitor as the mouse cursor. Then it moves the window with-in the screen work area. My next enhancement will be to move the window and keep it with-in the screen work area.
I am disappointed in how slow the event is to trigger - I can have a new window open (e.g. Network Status) and move away from the open window fast enough that the event moves the window after it has been sitting.
NetMage
287 discussion posts
I have my triggers turned off due to the GDI leaks with triggers - has this also been fixed?
NetMage
287 discussion posts
It looks like this is fixed in 8.0 beta 7. I see the GDI Handles changing between 80 - 120 and going up and down.