JocysCom / VsAiCompanion

AI Companion that analyzes your project files and works alongside you to streamline development and boost productivity.
Mozilla Public License 2.0
14 stars 5 forks source link

Multi monitor mouse issues #10

Closed grandoth closed 3 months ago

grandoth commented 3 months ago

Environment Windows 11 22H2 Visual Studio 2022 (tried both 17.9.7 and 17.10.1) VS AI Companion 1.10.41.0 (Extension)

Behavior With 2 monitors and the rightmost monitor set as "primary", the VS AI Companion app prevents dragging itself into negative X desktop coordinates (Left Monitor coordinates are in the -X direction). Additionally, if Visual Studio is on the Left Monitor, the mouse is prevented from hovering over it. In both cases, the mouse appears to bounce back to x >= 0 coordinates.

I have performed some basic troubleshooting, and it seems to only happen when VS AI Companion is installed and open. If I disable the extension, this behavior does not occur.

EJocys commented 3 months ago

@grandoth Thanks for reporting this issue. I found the source of the problem in the VA AI Companion's broken developer feature, which should show information about application control under the mouse (CTRL+SHIFT+RMB). I'll disable it by default, fix it and add an option to enable or disable it in the next release.

You can:

  1. Exit Visual Studio or the standalone app.
  2. Add <EnableShowFormInfo>false</EnableShowFormInfo> under <AppData> if it doesn't already exist to disable this feature.
  3. Restart Visual Studio.
<Data Version="2">
  <Items>
    <AppData>
        <EnableShowFormInfo>false</EnableShowFormInfo>
grandoth commented 3 months ago

Thanks much for the workaround!