MouseImp icon indicating copy to clipboard operation
MouseImp copied to clipboard

BUG: In VS2019 right mouse click is bugged if MouseImp is ON

Open MikeKholomeev opened this issue 4 years ago • 8 comments

Reproduce: Install VS2019 | install MouseImpx64 | open a project | in file mimpwnds.xml add <item wndclass="HwndWrapper[DefaultDomain" horscroll="false" lockedscrolldirection="false" lockedwheeldelta="true" /> | reload in Admin mode both MouseImp and VS2019 | right mouse click on the text in Text Area or on a file in Solution Explorer. Actual: No context menu is shown. Expected: Context menu is shown.

Workaround: Need to make the right mouse click a second time to see the context menu.

FYI: in a program that shows keys events, after the first RMС, I see a whole bunch of artificial RMC-up/down events

MikeKholomeev avatar Dec 22 '20 13:12 MikeKholomeev

Maybe someone can point me out to the place in the project where to look to investigate this issue?

MikeKholomeev avatar Dec 22 '20 18:12 MikeKholomeev

You can try to play with mimpwnds.xml file further. Probably, the setting for the class has to be changed due to changes in the VS. Proper class can be found by using Spy++ tool.

axxie avatar Dec 23 '20 18:12 axxie

I mean, the real file, the one installed with the MouseImp.

axxie avatar Dec 23 '20 18:12 axxie

You can try to play with mimpwnds.xml file further.

I tried. No results.

Probably, the setting for the class has to be changed due to changes in the VS. Proper class can be found by using Spy++ tool. I mean, the real file, the one installed with the MouseImp.

Sorry, don't follow you. I tied Spy++ and saw that VS, on RMC, start flooding with messages WM_MOUSEMOVE until I RMC again. Then VS receive WM_RBUTTONUP.

MikeKholomeev avatar Dec 23 '20 18:12 MikeKholomeev

I tried. No results.

What changes to the file did you try?

axxie avatar Dec 23 '20 18:12 axxie

What changes to the file did you try?

I tried only what I know - horscroll="false" lockedscrolldirection="false" played with these a bit.

MikeKholomeev avatar Dec 23 '20 18:12 MikeKholomeev

I can only say that current parameters for VS2010 in the file correspond to VS2019. Probably there is some issue (bug?.. incompatibility?..).

axxie avatar Dec 24 '20 15:12 axxie

Hmmm, I wonder, is there anyone facing the same bug? The one who use VS2019 and MouseImp with added in mimpwnds.xml line <item wndclass="HwndWrapper[DefaultDomain" horscroll="false" lockedscrolldirection="false" lockedwheeldelta="true" />

MikeKholomeev avatar Dec 24 '20 16:12 MikeKholomeev