angryip / ipscan

Angry IP Scanner - fast and friendly network scanner
angryip.org
GNU General Public License v2.0
4.16k stars 718 forks source link

Wrong main window position after external screen detach #393

Open marcoM32 opened 1 year ago

marcoM32 commented 1 year ago

When using the scanner in the external screen and close it in this position after detach the second screen and relaunch the scanner it is opened out of screen area and is impossibile use the GUI. For restore is necessary manually write the Window regitry to set window/X = 0 && window/Y = 0

To Reproduce Steps to reproduce the behavior:

  1. Plug external screen
  2. Open the scanner and maximized in the second screen
  3. Close the scanner
  4. Detach the eternal screen
  5. Run the scanner

Expected behavior If the position is out of screen area the position is restored automatically to 0/0

Version Versione: 3.9.0 Data compilazione: 2022-12-18 OS: Windows 10 10.0 SWT: win32 4956

0x09AF commented 1 year ago

I have the same issue Version: 3.9.1 Build date: 2023-02-11 OS: Windows 11 21H2 (0S Build 22000.1817)

lonlyboy commented 1 year ago

Same here. Where is that registry hack located? I currently can't get this into my laptop window unless I hook up my docking station. I need to reset the location of the window.

Version: 3.9.1 Build date: 09/27/2022 OS: Windows 10 22H2 (OS Build 19045.3448)

marcoM32 commented 1 year ago

@lonlyboy find this path "Computer\HKEY_CURRENT_USER\SOFTWARE\JavaSoft\Prefs\ipscan" in your registry