bp2008 / pingtracer

Graphical pinging and traceroute application. Ping Tracer continuously pings each network host between your computer and a given destination, helping identify the source of connectivity problems.
MIT License
291 stars 30 forks source link

full screen mode overscan #46

Open fragtion opened 5 months ago

fragtion commented 5 months ago

Bug report:

When clicking on the graph so that it becomes exclusive (ie, titlebar etc disappers), the graph becomes larger than the window was

So if the window was maximized (=1920x1080) before clicking the graph, now the graph is larger than the display (> 1920x1080), Resulting in details like Last Ping, Min/Max etc to not be visible on the screen, and overflowing onto other monitors

bp2008 commented 5 months ago

I am aware of that. What is actually going on is in the normal windowed form, the window actually appears a few pixels smaller than the code said to make it. But in graph-only view, all that built-in stuff like the title bar and curved corners goes away and the OS actually respects the size the code said to use.

There's definitely a layer of complexity in Windows Forms sizing that Ping Tracer's code is simply ignoring (because I don't actually know how to tell how big the Window is when the OS doesn't render it the size I asked for). If I stumble over a box of free time in the future, I will perhaps look into fixing this.