Skip to content

UI: Erratic Behavior in "Location" Mode #450

Description

@DJStompZone

When attempting to reposition multiple monitors, I'm experiencing a pretty strange bug where monitors seem to "snap" to unexpected and unhelpful locations. This behavior is observed regardless of window size and persists after restarting LittleBigMouse. I've included a video demonstrating the issue below, as well as an export of my config.

Click to show/hide video
YWGfr3u.mp4
Click to show/hide config

{
    "Layout": {
        "Options": {
            "MinimalMaxTravelDistance": 31,
            "AllowDiscontinuity": false,
            "AllowOverlaps": false,
            "LoopX": false,
            "LoopY": false,
            "MaxTravelDistance": 1665,
            "AdjustPointer": false,
            "AdjustSpeed": false,
            "Algorithm": "Strait",
            "Priority": "Normal",
            "PriorityUnhooked": "Below",
            "IsUnaryRatio": false,
            "Enabled": true,
            "AutoUpdate": false,
            "LoadAtStartup": true,
            "HomeCinema": false,
            "Pinned": false,
            "StartMinimized": true,
            "LoopAllowed": true,
            "ExcludedList": [
                ":Excluded processes",
                "\\Epic Games\\",
                "\\steamapps\\",
                "\\Riot Games\\"
            ],
            "Saved": false
        },
        "DpiAwareness": 2,
        "Id": "ACI2493D5LMQS000982_12_07DD_C9+DEL40E8XVNNT85UAW7W_16_07E2_D5+GSM587ESerial Number_05_07DC_23",
        "Selected": null,
        "PrimaryMonitorId": "GSM587ESerial Number_05_07DC_23",
        "PrimarySource": {
            "Id": "GSM587ESerial Number_05_07DC_23",
            "IdResolution": "1080x1920",
            "Primary": true,
            "DeviceName": "\\\\.\\DISPLAY1\\Monitor2",
            "SourceName": "undefined:\\\\.\\DISPLAY1\\Monitor2",
            "DisplayName": "\\\\.\\DISPLAY1",
            "SourceNumber": "2",
            "DisplayFrequency": 60,
            "InPixel": {
                "Width": 1080,
                "Height": 1920,
                "X": -2160,
                "Y": 295,
                "TopBorder": 0,
                "BottomBorder": 0,
                "LeftBorder": 0,
                "RightBorder": 0,
                "Borders": {
                    "Left": 0,
                    "Top": 0,
                    "Right": 0,
                    "Bottom": 0,
                    "IsUniform": true
                },
                "Location": {
                    "X": -2160,
                    "Y": 295
                },
                "Size": {
                    "AspectRatio": 0.5625,
                    "Width": 1080,
                    "Height": 1920
                },
                "Center": {
                    "X": -1620,
                    "Y": 1255
                },
                "Bounds": {
                    "X": -2160,
                    "Y": 295,
                    "Width": 1080,
                    "Height": 1920,
                    "Position": {
                        "X": -2160,
                        "Y": 295
                    },
                    "Size": {
                        "AspectRatio": 0.5625,
                        "Width": 1080,
                        "Height": 1920
                    },
                    "Right": -1080,
                    "Bottom": 2215,
                    "Left": -2160,
                    "Top": 295,
                    "TopLeft": {
                        "X": -2160,
                        "Y": 295
                    },
                    "TopRight": {
                        "X": -1080,
                        "Y": 295
                    },
                    "BottomLeft": {
                        "X": -2160,
                        "Y": 2215
                    },
                    "BottomRight": {
                        "X": -1080,
                        "Y": 2215
                    },
                    "Center": {
                        "X": -1620,
                        "Y": 1255
                    }
                },
                "OutsideX": -2160,
                "OutsideY": 295,
                "OutsideWidth": 1080,
                "OutsideHeight": 1920,
                "OutsideBounds": {
                    "X": -2160,
                    "Y": 295,
                    "Width": 1080,
                    "Height": 1920,
                    "Position": {
                        "X": -2160,
                        "Y": 295
                    },
                    "Size": {
                        "AspectRatio": 0.5625,
                        "Width": 1080,
                        "Height": 1920
                    },
                    "Right": -1080,
                    "Bottom": 2215,
                    "Left": -2160,
                    "Top": 295,
                    "TopLeft": {
                        "X": -2160,
                        "Y": 295
                    },
                    "TopRight": {
                        "X": -1080,
                        "Y": 295
                    },
                    "BottomLeft": {
                        "X": -2160,
                        "Y": 2215
                    },
                    "BottomRight": {
                        "X": -1080,
                        "Y": 2215
                    },
                    "Center": {
                        "X": -1620,
                        "Y": 1255
                    }
                },
                "TransformToString": "",
                "Disposer": {
                },
                "Saved": false,
                "Changing": {
                },
                "Changed": {
                },
                "ThrownExceptions": {
                }
            },
            "Orientation": 1,
            "WallpaperPath": "C:\\Users\\desco\\Pictures\\schwifty25.png",
            "WallpaperStyle": 0,
            "BackgroundColor": {
                "A": 255,
                "R": 0,
                "G": 0,
                "B": 0
            },
            "InterfaceName": "nvidia geforce rtx 4060",
            "InterfaceLogo": "icon/pnp/nvidia",
            "AttachedToDesktop": false,
            "WinDpiX": 96,
            "WinDpiY": 96,
            "RawDpi": {
                "X": 91,
                "Y": 91,
                "IsUnary": false,
                "Disposer": {
                },
                "Saved": false,
                "Changing": {
                },
                "Changed": {
                },
                "ThrownExceptions": {
                }
            },
            "EffectiveDpi": {
                "X": 96,
                "Y": 96,
                "IsUnary": false,
                "Disposer": {
                },
                "Saved": false,
                "Changing": {
                },
                "Changed": {
                },
                "ThrownExceptions": {
                }
            },
            "DpiAwareAngularDpi": {
                "X": 90,
                "Y": 90,
                "IsUnary": false,
                "Disposer": {
                },
                "Saved": false,
                "Changing": {
                },
                "Changed": {
                },
                "ThrownExceptions": {
                }
            },
            "Disposer": {
            },
            "Saved": true,
            "Changing": {
            },
            "Changed": {
            },
            "ThrownExceptions": {
            }
        },
        "PhysicalBounds": {
            "X": -315,
            "Y": -470.7,
            "Width": 878,
            "Height": 1005.7,
            "Position": {
                "X": -315,
                "Y": -470.7
            },
            "Size": {
                "AspectRatio": 0.87302376454211,
                "Width": 878,
                "Height": 1005.7
            },
            "Right": 563,
            "Bottom": 535,
            "Left": -315,
            "Top": -470.7,
            "TopLeft": {
                "X": -315,
                "Y": -470.7
            },
            "TopRight": {
                "X": 563,
                "Y": -470.7
            },
            "BottomLeft": {
                "X": -315,
                "Y": 535
            },
            "BottomRight": {
                "X": 563,
                "Y": 535
            },
            "Center": {
                "X": 124,
                "Y": 32.15
            }
        },
        "X0": 315,
        "Y0": 470.7,
        "ConfigLocation": {
            "X": 0,
            "Y": 0,
            "Width": 0,
            "Height": 0,
            "Position": {
                "X": 0,
                "Y": 0
            },
            "Size": {
                "AspectRatio": "NaN",
                "Width": 0,
                "Height": 0
            },
            "Right": 0,
            "Bottom": 0,
            "Left": 0,
            "Top": 0,
            "TopLeft": {
                "X": 0,
                "Y": 0
            },
            "TopRight": {
                "X": 0,
                "Y": 0
            },
            "BottomLeft": {
                "X": 0,
                "Y": 0
            },
            "BottomRight": {
                "X": 0,
                "Y": 0
            },
            "Center": {
                "X": 0,
                "Y": 0
            }
        },
        "MaxEffectiveDpiX": 96,
        "MaxEffectiveDpiY": 96,
        "Disposer": {
        },
        "Saved": false,
        "Changing": {
        },
        "Changed": {
        },
        "ThrownExceptions": {
        }
    },
    "Devices": "Redacted for brevity, see attachment below for full config",
    "Zones": {
        "AdjustPointer": false,
        "AdjustSpeed": false,
        "LoopX": false,
        "LoopY": false,
        "Priority": "Normal",
        "PriorityUnhooked": "Below",
        "Algorithm": "Strait",
        "MaxTravelDistance": 1665,
        "Zones": [
            {
                "Id": 0,
                "DeviceId": "ACI2493D5LMQS000982_12_07DD_C9",
                "Name": "VE247",
                "PixelsBounds": {
                    "X": 0,
                    "Y": 0,
                    "Width": 1920,
                    "Height": 1080,
                    "Position": {
                        "X": 0,
                        "Y": 0
                    },
                    "Size": {
                        "AspectRatio": 1.77777777777778,
                        "Width": 1920,
                        "Height": 1080
                    },
                    "Right": 1920,
                    "Bottom": 1080,
                    "Left": 0,
                    "Top": 0,
                    "TopLeft": {
                        "X": 0,
                        "Y": 0
                    },
                    "TopRight": {
                        "X": 1920,
                        "Y": 0
                    },
                    "BottomLeft": {
                        "X": 0,
                        "Y": 1080
                    },
                    "BottomRight": {
                        "X": 1920,
                        "Y": 1080
                    },
                    "Center": {
                        "X": 960,
                        "Y": 540
                    }
                },
                "PhysicalBounds": {
                    "X": 20,
                    "Y": -94.7,
                    "Width": 523,
                    "Height": 294,
                    "Position": {
                        "X": 20,
                        "Y": -94.7
                    },
                    "Size": {
                        "AspectRatio": 1.77891156462585,
                        "Width": 523,
                        "Height": 294
                    },
                    "Right": 543,
                    "Bottom": 199.3,
                    "Left": 20,
                    "Top": -94.7,
                    "TopLeft": {
                        "X": 20,
                        "Y": -94.7
                    },
                    "TopRight": {
                        "X": 543,
                        "Y": -94.7
                    },
                    "BottomLeft": {
                        "X": 20,
                        "Y": 199.3
                    },
                    "BottomRight": {
                        "X": 543,
                        "Y": 199.3
                    },
                    "Center": {
                        "X": 281.5,
                        "Y": 52.3
                    }
                },
                "BorderResistance": {
                    "Left": 0,
                    "Top": 0,
                    "Right": 0,
                    "Bottom": 0
                },
                "MainId": 0,
                "IsMain": true,
                "Dpi": 93.2763929236202,
                "LeftLinks": [
                    {
                        "Distance": 200,
                        "From": -1.79769313486232E+308,
                        "To": 1.79769313486232E+308,
                        "SourceFromPixel": -2147483648,
                        "SourceToPixel": 2147483647,
                        "TargetFromPixel": -2147483648,
                        "TargetToPixel": 2147483647,
                        "BorderResistance": 0,
                        "TargetId": -1
                    }
                ],
                "TopLinks": [
                    {
                        "Distance": 200,
                        "From": -1.79769313486232E+308,
                        "To": 1.79769313486232E+308,
                        "SourceFromPixel": -2147483648,
                        "SourceToPixel": 2147483647,
                        "TargetFromPixel": -2147483648,
                        "TargetToPixel": 2147483647,
                        "BorderResistance": 0,
                        "TargetId": -1
                    }
                ],
                "RightLinks": [
                    {
                        "Distance": 200,
                        "From": -1.79769313486232E+308,
                        "To": 1.79769313486232E+308,
                        "SourceFromPixel": -2147483648,
                        "SourceToPixel": 2147483647,
                        "TargetFromPixel": -2147483648,
                        "TargetToPixel": 2147483647,
                        "BorderResistance": 0,
                        "TargetId": -1
                    }
                ],
                "BottomLinks": [
                    {
                        "Distance": 200,
                        "From": -1.79769313486232E+308,
                        "To": 1.79769313486232E+308,
                        "SourceFromPixel": -2147483648,
                        "SourceToPixel": 2147483647,
                        "TargetFromPixel": -2147483648,
                        "TargetToPixel": 2147483647,
                        "BorderResistance": 0,
                        "TargetId": -1
                    }
                ],
                "CenterPixel": {
                    "X": 960,
                    "Y": 540
                }
            }
        ]
    }
}

The full config including devices is available here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions