mgth / LittleBigMouse

DPI Aware mouse move across screens
GNU General Public License v3.0
3.63k stars 178 forks source link

LittleBigMouse still spontaneously does not auto-apply or start the saved config (happens about 60% of the time) #121

Closed just4747 closed 9 months ago

just4747 commented 4 years ago

Similar to past releases, the program still always successfully starts with Windows via the automatically configured scheduled task (it runs fine in the task bar), but often does not automatically start/apply the configured display set up. I find that maybe 60% of the time, I have to right-click on the taskbar icon and click "Start" to manually apply the configuration. I have tried, re-setting the app up, re-installing, messing with the scheduled task, etc and nothing seems to prevent this from happening, even on latest version (on Windows 10, dual monitors).

I've also noticed that sometimes, when this happens, if I try to mouse over the task bar icon to right-click and manually Start the config, it will crash the whole app and the icon disappears. This may happen only when it is still very early after Windows has just booted up and I try to do it, but can't be sure.

My copied config is below (my desired config is making my 4k and quadHD monitors line up properly in Windows interface, which the app does well, but only when the config is properly applied/started):

**{ "Config": { "Id": "ACR0490_#ASPajhp/M1/d_0.GSM5B090", "AllScreens": [ { "Id": "ACR0490_#ASPajhp/M1/d_0", "IdResolution": "2560x1440", "Primary": true, "Orientation": 0, "PhysicalRotated": { "Borders": "20,20,20,20", "Bounds": "0,0,598,336", "OutsideBounds": "-20,-20,638,376" }, "InMm": { "Borders": "20,20.2,20,20.2", "Bounds": "2.74447131687339E-13,1.40000000000007,598,339.36", "OutsideBounds": "-19.9999999999997,-18.7999999999999,638,379.76" }, "InMmUnrotated": { "Borders": "20,20.2,20,20.2", "Bounds": "2.74447131687339E-13,1.40000000000007,598,339.36", "OutsideBounds": "-19.9999999999997,-18.7999999999999,638,379.76" }, "InPixel": { "Borders": "0,0,0,0", "Bounds": "0,0,2560,1440", "OutsideBounds": "0,0,2560,1440" }, "InDip": { "Borders": "0,0,0,0", "Bounds": "0,0,2560,1440", "OutsideBounds": "0,0,2560,1440" }, "RealPitch": { "X": 0.23359375, "Y": 0.23333333333333334 }, "PhysicalRatio": { "X": 1.0, "Y": 1.01 }, "Pitch": { "X": 0.23359375, "Y": 0.23566666666666666 }, "OverallBoundsWithoutThisInMm": "638,0.760000000000025,600,340", "GuiLocation": "0.5,-0.0285714285714285,0.5,1.02857142857143", "WinDpiX": 96.0, "WinDpiY": 96.0, "RawDpi": { "X": 108.0, "Y": 108.0 }, "EffectiveDpi": { "X": 96.0, "Y": 96.0 }, "DpiAwareAngularDpi": { "X": 108.0, "Y": 108.0 }, "WpfToPixelRatio": { "X": 1.0, "Y": 1.0 }, "PixelToDipRatio": { "X": 1.0, "Y": 1.0 }, "PhysicalToPixelRatio": { "X": 4.2809364548494981, "Y": 4.2432814710042432 }, "MmToDipRatio": { "X": 4.2809364548494981, "Y": 4.2857142857142856 }, "RealDpi": { "X": 108.73578595317724, "Y": 108.85714285714285 }, "DpiX": { "X": 108.73578595317724, "Y": 107.77934936350778 }, "RealDpiAvg": 108.79648132608789 }, { "Id": "GSM5B090", "IdResolution": "3840x2160", "Primary": false, "Orientation": 0, "PhysicalRotated": { "Borders": "20,20,20,20", "Bounds": "0,0,600,340", "OutsideBounds": "-20,-20,640,380" }, "InMm": { "Borders": "20,20,20,20", "Bounds": "638,0.760000000000025,600,340", "OutsideBounds": "618,-19.24,640,380" }, "InMmUnrotated": { "Borders": "20,20,20,20", "Bounds": "638,0.760000000000025,600,340", "OutsideBounds": "618,-19.24,640,380" }, "InPixel": { "Borders": "0,0,0,0", "Bounds": "2560,-716,3840,2160", "OutsideBounds": "2560,-716,3840,2160" }, "InDip": { "Borders": "0,0,0,0", "Bounds": "2560,-716,2560,1440", "OutsideBounds": "2560,-716,2560,1440" }, "RealPitch": { "X": 0.15625, "Y": 0.15740740740740741 }, "PhysicalRatio": { "X": 1.0, "Y": 1.0 }, "Pitch": { "X": 0.15625, "Y": 0.15740740740740741 }, "OverallBoundsWithoutThisInMm": "2.74447131687339E-13,1.40000000000007,598,339.36", "GuiLocation": "0.5,-0.0285714285714285,0.5,1.02857142857143", "WinDpiX": 144.0, "WinDpiY": 144.0, "RawDpi": { "X": 162.0, "Y": 161.0 }, "EffectiveDpi": { "X": 144.0, "Y": 144.0 }, "DpiAwareAngularDpi": { "X": 161.0, "Y": 160.0 }, "WpfToPixelRatio": { "X": 1.5, "Y": 1.5 }, "PixelToDipRatio": { "X": 0.66666666666666663, "Y": 0.66666666666666663 }, "PhysicalToPixelRatio": { "X": 6.4, "Y": 6.3529411764705879 }, "MmToDipRatio": { "X": 4.2666666666666666, "Y": 4.235294117647058 }, "RealDpi": { "X": 162.56, "Y": 161.36470588235292 }, "DpiX": { "X": 162.56, "Y": 161.36470588235292 }, "RealDpiAvg": 161.96345560727312 } ], "AutoUpdate": true, "PrimaryScreen": { "Id": "ACR0490_#ASPajhp/M1/d0", "IdResolution": "2560x1440", "Primary": true, "Orientation": 0, "PhysicalRotated": { "Borders": "20,20,20,20", "Bounds": "0,0,598,336", "OutsideBounds": "-20,-20,638,376" }, "InMm": { "Borders": "20,20.2,20,20.2", "Bounds": "2.74447131687339E-13,1.40000000000007,598,339.36", "OutsideBounds": "-19.9999999999997,-18.7999999999999,638,379.76" }, "InMmUnrotated": { "Borders": "20,20.2,20,20.2", "Bounds": "2.74447131687339E-13,1.40000000000007,598,339.36", "OutsideBounds": "-19.9999999999997,-18.7999999999999,638,379.76" }, "InPixel": { "Borders": "0,0,0,0", "Bounds": "0,0,2560,1440", "OutsideBounds": "0,0,2560,1440" }, "InDip": { "Borders": "0,0,0,0", "Bounds": "0,0,2560,1440", "OutsideBounds": "0,0,2560,1440" }, "RealPitch": { "X": 0.23359375, "Y": 0.23333333333333334 }, "PhysicalRatio": { "X": 1.0, "Y": 1.01 }, "Pitch": { "X": 0.23359375, "Y": 0.23566666666666666 }, "OverallBoundsWithoutThisInMm": "638,0.760000000000025,600,340", "GuiLocation": "0.5,-0.0285714285714285,0.5,1.02857142857143", "WinDpiX": 96.0, "WinDpiY": 96.0, "RawDpi": { "X": 108.0, "Y": 108.0 }, "EffectiveDpi": { "X": 96.0, "Y": 96.0 }, "DpiAwareAngularDpi": { "X": 108.0, "Y": 108.0 }, "WpfToPixelRatio": { "X": 1.0, "Y": 1.0 }, "PixelToDipRatio": { "X": 1.0, "Y": 1.0 }, "PhysicalToPixelRatio": { "X": 4.2809364548494981, "Y": 4.2432814710042432 }, "MmToDipRatio": { "X": 4.2809364548494981, "Y": 4.2857142857142856 }, "RealDpi": { "X": 108.73578595317724, "Y": 108.85714285714285 }, "DpiX": { "X": 108.73578595317724, "Y": 107.77934936350778 }, "RealDpiAvg": 108.79648132608789 }, "PhysicalOutsideBounds": "-19.9999999999997,-19.24,1278,380.2", "PhysicalBounds": "2.74447131687339E-13,0.760000000000025,1238,340", "Enabled": true, "LoadAtStartup": true, "LoopAllowed": true, "LoopX": false, "LoopY": false, "IsRatio100": false, "AdjustPointerAllowed": false, "AdjustPointer": false, "AdjustSpeedAllowed": false, "AdjustSpeed": false, "AllowCornerCrossing": false, "HomeCinema": false, "Pinned": false, "ConfigLocation": "0,0,0,0", "AllowOverlaps": false, "AllowDiscontinuity": true, "MaxEffectiveDpiX": 144.0, "MaxEffectiveDpiY": 144.0 }, "Monitors": [ { "DeviceId": "MONITOR\ACR0490\{4d36e96e-e325-11ce-bfc1-08002be10318}\0007", "PnpCode": "ACR0490", "IdMonitor": "ACR0490#ASPajhp/M1/d", "DeviceKey": "\Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0007", "DeviceString": "Generic PnP Monitor", "Devices": [ { "AttachedToDesktop": true, "DisplayModes": [], "DeviceCaps": { "Size": "0,0", "Resolution": "0,0", "LogPixels": "0,0", "Aspect": "0,0", "BitsPixel": 0 }, "CurrentMode": null, "DeviceName": "\\.\DISPLAY1\Monitor0", "DeviceString": "Generic PnP Monitor", "State": 3, "DeviceId": "MONITOR\ACR0490\{4d36e96e-e325-11ce-bfc1-08002be10318}\0007", "DeviceKey": "\Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0007" } ], "AttachedDevice": { "AttachedToDesktop": true, "DisplayModes": [], "DeviceCaps": { "Size": "0,0", "Resolution": "0,0", "LogPixels": "0,0", "Aspect": "0,0", "BitsPixel": 0 }, "CurrentMode": null, "DeviceName": "\\.\DISPLAY1\Monitor0", "DeviceString": "Generic PnP Monitor", "State": 3, "DeviceId": "MONITOR\ACR0490\{4d36e96e-e325-11ce-bfc1-08002be10318}\0007", "DeviceKey": "\Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0007" }, "AttachedDisplay": { "AttachedToDesktop": true, "DisplayModes": [], "DeviceCaps": { "Size": "598,336", "Resolution": "2560,1440", "LogPixels": "96,96", "Aspect": "36,36", "BitsPixel": 32 }, "CurrentMode": { "Position": "0,0", "BitsPerPixel": 32, "Pels": "2560,1440", "DisplayFlags": 0, "DisplayFrequency": 144, "DisplayFixedOutput": 0, "DisplayOrientation": 0 }, "DeviceName": "\\.\DISPLAY1", "DeviceString": "NVIDIA GeForce GTX 1080", "State": 5, "DeviceId": "PCI\VEN_10DE&DEV_1B80&SUBSYS_66863842&REVA1", "DeviceKey": "\Registry\Machine\System\CurrentControlSet\Control\Video\{54ED69A9-8CA2-11EA-926B-A76B68F34A0E}\0000" }, "MonitorArea": "0,0,2560,1440", "WorkArea": "0,0,2560,1400", "HKeyName": "\REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\DISPLAY\ACR0490\5&1c45aff8&0&UID160004\Device Parameters", "AttachedToDesktop": true, "Primary": true, "Edid": { "ProductCode": "0490", "Serial": "7420723D", "PhysicalSize": "598,336", "ManufacturerCode": "ACR", "Model": "XB271HU", "SerialNo": "#ASPajhp/M1/d" }, "EffectiveDpi": "96,96", "AngularDpi": "108,108", "RawDpi": "108,108", "ScaleFactor": 1.0, "CapabilitiesString": null, "MonitorNo": 1 }, { "DeviceId": "MONITOR\GSM5B09\{4d36e96e-e325-11ce-bfc1-08002be10318}\0008", "PnpCode": "GSM5B09", "IdMonitor": "GSM5B09", "DeviceKey": "\Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0008", "DeviceString": "Generic PnP Monitor", "Devices": [ { "AttachedToDesktop": true, "DisplayModes": [], "DeviceCaps": { "Size": "0,0", "Resolution": "0,0", "LogPixels": "0,0", "Aspect": "0,0", "BitsPixel": 0 }, "CurrentMode": null, "DeviceName": "\\.\DISPLAY2\Monitor0", "DeviceString": "Generic PnP Monitor", "State": 3, "DeviceId": "MONITOR\GSM5B09\{4d36e96e-e325-11ce-bfc1-08002be10318}\0008", "DeviceKey": "\Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0008" } ], "AttachedDevice": { "AttachedToDesktop": true, "DisplayModes": [], "DeviceCaps": { "Size": "0,0", "Resolution": "0,0", "LogPixels": "0,0", "Aspect": "0,0", "BitsPixel": 0 }, "CurrentMode": null, "DeviceName": "\\.\DISPLAY2\Monitor0", "DeviceString": "Generic PnP Monitor", "State": 3, "DeviceId": "MONITOR\GSM5B09\{4d36e96e-e325-11ce-bfc1-08002be10318}\0008", "DeviceKey": "\Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0008" }, "AttachedDisplay": { "AttachedToDesktop": true, "DisplayModes": [], "DeviceCaps": { "Size": "600,340", "Resolution": "3840,2160", "LogPixels": "96,96", "Aspect": "36,36", "BitsPixel": 32 }, "CurrentMode": { "Position": "2560,-716", "BitsPerPixel": 32, "Pels": "3840,2160", "DisplayFlags": 0, "DisplayFrequency": 60, "DisplayFixedOutput": 0, "DisplayOrientation": 0 }, "DeviceName": "\\.\DISPLAY2", "DeviceString": "NVIDIA GeForce GTX 1080", "State": 134217729, "DeviceId": "PCI\VEN_10DE&DEV_1B80&SUBSYS_66863842&REV_A1", "DeviceKey": "\Registry\Machine\System\CurrentControlSet\Control\Video\{54ED69A9-8CA2-11EA-926B-A76B68F34A0E}\0001" }, "MonitorArea": "2560,-716,3840,2160", "WorkArea": "2560,-716,3840,2100", "HKeyName": "\REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\DISPLAY\GSM5B09\5&1c45aff8&0&UID160006\Device Parameters", "AttachedToDesktop": true, "Primary": false, "Edid": { "ProductCode": "5B09", "Serial": "00046BE5", "PhysicalSize": "600,340", "ManufacturerCode": "GSM", "Model": "LG Ultra HD", "SerialNo": "" }, "EffectiveDpi": "144,144", "AngularDpi": "161,160", "RawDpi": "162,161", "ScaleFactor": 1.4, "CapabilitiesString": null, "MonitorNo": 2 } ] }**

just4747 commented 4 years ago

STILL AN ISSUE. Any comment/fix? Why is this still an issue years after people had been first experiencing it?

Piprian commented 2 years ago

The same thing happens for me about 20% of the time.

I can not just click start to actually get it to work. I have to change a setting and back to allow me to do that.