IPv4 ranges vertically truncated after restart
3 posts · Closed
Hi,
I might have found a small glitch. Steps:
- Add at least three IPv4 addresses using the green '+' button.
- Hit Scan, wait for the scan to complete.
- Exit the program using File - Exit, or 'X' of the main window.
- Launch the program again.
The multiple IP ranges added in step 1 are now vertically truncated and only display one IPv4 range.
This may happen with other types of IP ranges, but I only use IPv4, so I haven't been able to test that.
If you then go on to click the green '+' button or resize the window, the vertical space will be restored. I've noticed that does not happen all the time - it seems to be related to the window size and maybe position too.
For your info, I'm at 4k and 150% scaling on Win10x64. Let me know if I can help any further with it.
Hope this helps and you guys are keeping safe.
Best Regards,
Jake
Update:
I've spent the morning opening and closing NetScanner and checking the View - Width value in netscan.xml (line 1234) trying to get a reproducible test case for you. I found that it is related to the width of the program window and that there is no need to run a scan to produce this behaviour. If I set the View - Width parm to >= 2238 then the behaviour occurs.
Running the application, resizing the window width >= 2238 (I assume pixels is the unit in the xml), then closing and re-opening produces the issue (for me). The window's height does not seem to matter.
So my updated steps are:
- Start the program, add three IPv4 ranges.
- Resize the window width to >= 2238.
- Close the program, then open again.
Let me know if I can help any more.
Thank you for reporting this issue and for the detailed description of how to reproduce it. It was very helpful!
Although the exact cause of the glitch is unclear (most likely one of the quirks of the underlying library), we have added a simple workaround that resizes the inputs once the initialisation is completed. Please download the updated build and it should resolve the problem.
That's done it, thank you.