stefansundin / altdrag-import

Automatically exported from code.google.com/p/altdrag
0 stars 0 forks source link

REQ: detecting when to enable Aero-mode in multi-monitor config #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Feature request about Aero mode (behavior tested under Win XP though).

In multi-monitor configuration, when Aero mode is enabled, moving a window from 
one monitor to the other has the effect of trying to attach the window to the 
left/right border of the screen when the mouse pointer gets there. There's a 
small issue though.

Let's say monitor 1 is on the left and monitor 2 on the right. If you try to 
attach a window to the right part of monitor 1 and you move the mouse too 
quickly, the mouse may enter screen 2. The distance of the mouse pointer from 
the right part of the screen (in order to enable Aero mode) is too small (what 
is it, 5-6 pixels?) so you have to move the mouse very slowly if you actually 
wish to use Aero mode and attach the window to the right part of monitor 1.

My suggestion would be to either make that distance larger or even better, make 
it configurable in the ini.

Thank you.

Original issue reported on code.google.com by nange...@gmail.com on 2 Feb 2011 at 9:57

GoogleCodeExporter commented 9 years ago
I agree that this can be tricky. I don't know what the best solution would be 
though. The thing is that I want everything to work well out of the box, so I 
really would like to find a different solution than to expose a threshold in 
the ini file. The current threshold is 5 pixels.

Maybe I could introduce a delay (like AutoRemaximize), during which the window 
stays in its Aero placement. If the user releases the mouse button before that 
delay is up, the window stays.

I don't know though. I will have to think some more on this issue.

Original comment by recover89 on 7 Feb 2011 at 9:06

GoogleCodeExporter commented 9 years ago
Hello again.

I have now come up with a solution that should work for everyone. If you hold 
Ctrl, AltDrag thinks your mouse is still within the monitor that you initiated 
the dragging on. So if you hold Ctrl and drag the mouse to monitor 2, AltDrag 
will think that you are on the edge between monitor 1 and monitor 2 (but still 
on monitor 1's side). This means that the window will Aero-moved to the right 
side of monitor 1.

What do you think of this solution? It will be included in the upcoming beta so 
you can try it out for yourself and submit feedback.

Multi-monitor features and bugs take a long time for me to work on because I do 
not own two monitors myself. I only get a chance to work on these when I'm 
either at a friends house or home at my parents. So sorry for the long delay.

Original comment by recover89 on 22 Jul 2011 at 11:36

GoogleCodeExporter commented 9 years ago
Small detail; AltDrag will think the window is within the monitor that the 
cursor was in *when you pressed down Ctrl*. I changed it to this since it makes 
more sense when using three monitors or more.

Original comment by recover89 on 22 Jul 2011 at 3:05

GoogleCodeExporter commented 9 years ago
This solution is included in the beta that I just released. I suggest that you 
try it, and if you can't find any problem with it I will close this issue.

Original comment by recover89 on 30 Jul 2011 at 10:55

GoogleCodeExporter commented 9 years ago
No one responds so I suppose this is a sufficient solution.

Original comment by recover89 on 28 Aug 2011 at 1:47

GoogleCodeExporter commented 9 years ago
Sorry for the delay but i was away for some time. Yes this solution seems 
sufficient, thanks for it.

Original comment by nange...@gmail.com on 1 Sep 2011 at 7:43