Hi! First of all: Great programm! I really like it and use it every day!
There is one thing though, which makes me nervous all the time. If I'm using Notepad++ on the 2nd monitor and then go to a presentation, where there is only one single monitor Notepad++ opens outside the visible area. With "Maximize" one gets it back, but the desktop coordinates are fully outside the actual visible desktop.
How to reproduce:
* add a second monitor
* start the program and move it to the secondary monitor
* close the program
* disable the 2nd monitor
* start the program
This has been discussed before:
I have sent to Don a source code modification that should fix this problem. He may include it, or something like it, with the next version.
Thank you for the detailed description on how to reproduce the problem.
I didn't get it.
It may be filtered by spam filter. Could you send it to me again?
Whoops! When I send things to you, I keep using (unintentionally) the altern.org address, which must be outdated.
I just now resent the message to the free.fr address. Let me know if it still does not arrive.
Thank you for the patch.
I merged your modification and tested on my 3 monitors PC, then I see this patch creates a regression on the multi-monitor environment.
The problem of this patch on my PC is it sticks on the main monitor, and ignores totally its old position (on the 2nd or 3rd monitor).
I believe the bug you mentioned is fixed (though I don't test it yet), but I can not integrate your modification due to the regression.
Do you have a solution about that?
I see what you mean.
I've just sent you a modified patch that seems to fix the original bug and the regression problem you observed.
I confirm that the original bug persists in 4.6 as motte described -- you see it when you disable the second monitor after closing the NP++ window on that monitor.
Tested under Vista and it works on both situations.
It'll be in the next release.
Thank you for your nice patch Greg.