- 
                Notifications
    
You must be signed in to change notification settings  - Fork 82
 
Open
Labels
Description
I was playing around with your control, and I faced inconsistent behavior when a region of the image is selected, and the windows is then maximized.
If the container window is maximized via a double click in the title bar, the selection area is messed up; everything is correct if the window is maximized using "Maximize" button.
I tried to replicate this behavior in the provided demo, and actually "General Demonstration" shows the same problem
Steps to reproduce
- Run the demo
 - Click on General Demonstration
 - Set "Selection Mode" to "Rectangle"
 - Select a region in the image
- look at the values in the lower right corner
 
 - Maximize the window using "Maximize" button
- look at the values in the lower right corner: they are still correct
 
 - Restore the previous size, using the same button
- look at the values in the lower right corner: they are still correct
 
 - Maximize the window, this time double-clicking in the title bar
- look at the values in the lower right corner: they are now wrong
 - selected region is no longer shown in the lower pan