jakubovic / open-phd-guiding

Automatically exported from code.google.com/p/open-phd-guiding
0 stars 0 forks source link

Child windows need to protect against "too-small" windows after resize of main frame #358

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some of the child windows need minimum sizes to work correctly.  These limits 
are honored when the windows are undocked but can be violated when the child 
windows are docked and the main frame is resized.  At the least, each child 
window should protect itself against these conditions.

One example: 
1. Start guiding with the simulator, launch the graph window, then the star 
target window.
2. Grab the lower right corner of the main frame and shrink it until the star 
target window is barely visible. 
3. Logic in the Target Paint() method will compute a negative value for 
max_radius and then subsequently get into an endless loop.

Original issue reported on code.google.com by bw_ms...@earthlink.net on 2 Nov 2014 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by andy.gal...@gmail.com on 3 Nov 2014 at 7:12

GoogleCodeExporter commented 9 years ago
fixed by r1245

Original comment by andy.gal...@gmail.com on 3 Nov 2014 at 7:13

GoogleCodeExporter commented 9 years ago
Issue 341 has been merged into this issue.

Original comment by andy.gal...@gmail.com on 5 Nov 2014 at 9:08