This project is read-only.
3
Vote

Cropper misbehavior with multi-monitors

description

Hello Cropper team,
First of all, the tool is a greate source for study and use. I love it.

The thing is I just bought a new Dell monitor (Dell) and set the resolution to 1920x1080 (same with my Dell Laptop) and I found that Cropper only does it work properly only on my new Dell monitor. When I move/drag Cropper to my Dell laptop desktop, the MainCropForm seems not to update to the current resolution (Control.Scale()) and that leads to the capture method doesn't work properly.

Here is the screen-cast link, hope it helps you understand the issue http://screencast.com/t/TUI5s6Ws3

I also tryied to debug Cropper, and you can see that the CalculateNewFormLocation in MainCropForm returns different Point value when moving Cropper among monitors.

``` private Point CalculateNewFormLocation()
    {
        Rectangle formBound = Screen.GetBounds(this);
        System.Diagnostics.Debug.WriteLine("Bound: {0}", formBound);

        Point putin = new Point(MousePosition.X - offset.X, MousePosition.Y - offset.Y);
        System.Diagnostics.Debug.WriteLine("Pos: {0}", putin);

        return putin;
    }
Please help me fix this issue. Thank you.

owickedfox

comments

RayBernard wrote Nov 12, 2014 at 1:47 AM

I have the same problem. In my secondary monitors. Here is how it manifests on my computer.
  • Main monitor: desktop area is 1280 x 980, because the taskbar area is excluded. Full screen resolution is 1280 x 1024.
  • Secondary Monitors: The 980 height limitation is carried over onto my two secondary monitors, which are 1920 x 1080. I can achieve the 1920 width (and more - extending onto more than one monitor). However, I can't exceed the 980 height on any monitor.
  • The Predefined Size feature is also subject to the size restriction. When selecting wither 1920 x 1080 on the HD monitors, or 1280 x 1024 on the Main Monitor, the height tab turns red when Cropper downsizes the predefined height setting.
  • The PrintScreen Capture and Save feature can be used to work around this. PrintScreen will capture all three full monitor displays in a single image. Alt+PrintScreen will take a screen show of the active window, without being bound by the height restriction. Ctrl+Alt_PrintScreen will capture the region of the active window that's under the mouse. For example, the RH file list pane in Windows Explorer or the displayed part of a web page for Internet Explorer (or other browsers).
For my purposes, I have to use the full-screen capture and then crop the images down to the size that I want' It is frustrating, especially because it would not be a hard fix.

Please do fix this, as I know I am not the only individual affected.

Ray

wrote Dec 2, 2015 at 5:16 PM