Page 1 of 1

OneNote 2016 - select stuck

Posted: Fri Mar 04, 2016 1:12 pm
by ariuskooo
Hi I am having a problem with OneNote 2016, every time I select something my left mouse button act as it was stuck down. Ony way I know of to unstuck it, is to alt+tab to another application and back, or select using the keyboard. Any ideas?
(I could make a video if the description is not enough)
Thanks

Re: OneNote 2016 - select stuck

Posted: Fri Mar 04, 2016 1:18 pm
by ariuskooo
Ok nevermind, I've had left mouse button to left mouse button... strange that it only makes problems in OneNote...
Anyway, I am leaving this here, as someone might have this same problem.

Re: OneNote 2016 - select stuck

Posted: Thu Apr 28, 2016 3:25 pm
by flebas
Hello,

I have the same problem. OneNote 2016 on W7 64bit. X-Mouse 2.12.1

My X-Mouse settings are for using a Kensington Expert Mouse trackball with left hand :
Layer 1 : Left button : right click, Right button: left click
Scrolling & navigation : Invert mouse wheel scrolling

Any idea ?
Thanks

Re: OneNote 2016 - select stuck

Posted: Thu Apr 28, 2016 8:22 pm
by phil
Looks like there may be some issue send simulated buttons. Have you tried the swap mouse buttons instead of assigning left to right and visa-versa?
Check the scrolling and navigation tab, or general setting (it uses the built in windows swap buttons which is always going to be more reliable that XMBC sending the remapped input.

Re: OneNote 2016 - select stuck

Posted: Mon Aug 20, 2018 1:45 pm
by farbul
Hello,
I just stumbled across this problem myself and since i did not find any solution, i am reopening this old thread.
When xmb is disabled (scroll-lock) it works, and when it is enabled and either offolowing mappings is done, it is stuck in "select mode":
- left button is mapped to right click, right button is mapped to left click
- left button is mapped to left click, right button is mapped to right click
This is a problem since i need remaping of buttons because of remote connections that use same mouse layout as host computer.
Is there any solution in sight for this? Thank you.

Re: OneNote 2016 - select stuck

Posted: Mon Aug 20, 2018 3:25 pm
by phil
I never looked into it as its not a problem when using "swap left and right" only when changing the mappings in XMBC. I guess in your remote desktop situation, you cant just use the swap left and right?!

I'll try and have to have a look to see if there is anything obvious I can do to prevent this problem (at least I have onenote 2016!), but XMBC is only using standard windows APIs to simulate the buttons, so there may not be much I can do (as in it may be a onenote problem with simulated input and if that is the case, it will require a fix from MS (not much chance of that!)).

Re: OneNote 2016 - select stuck

Posted: Fri Aug 24, 2018 8:30 am
by farbul
Exactly. If i "swap left and right", main button becomes right, but in remote desktop it is still left, so quite confusing to operate that way. If i swap them through xmb, remote buttons are the same as on host computer.

Thank you for looking into it.
I just looked for alternate solutions, and for button swapping i found it in "Moure". It swaps buttons for specific device (which is usefull in case of laptop), and xmb can work from there onward. Additional benefit is that click on scroll wheel works as double-click again which i did not realize stopped working when i remapped left/right buttons in xmb.
I do not know if this can be usefull for xmb or if it can be implemented/improved, but just thought i should share my find.

Re: OneNote 2016 - select stuck

Posted: Mon Aug 27, 2018 3:11 pm
by phil
Unfortunatly, although I can reproduce this, I can not for the life of me figure out why OneNote is doing this.
I have tried several different things with no success...

Ive also seen others reporting such problems in the autohotkey forums, where onenote behaves badly with simulated input.
I had a quick look at Moure - and its a kernel mouse filter driver - ie it operates at a much lower level than XMBC.
I have always tried to stay away from drivers due to the complexity and signing requirements - but it could be interesting to look at, especially if the filter driver does not need to be signed (if it does that rules me out because driver signing is not cheap and more to the point, an individual cant purchase a driver signing certificate!). But Moure is open source so I'd be surprised if its signed - hence maybe signing is not required for filter drivers.

Re: OneNote 2016 - select stuck

Posted: Mon Aug 27, 2018 5:40 pm
by phil
Moure uses a signed kernel mode driver to swap the buttons. Whilst the source code is published on github, a kernel driver requires driver code signing certificates which are a) very expensive and b) not available to individuals (only registered companies) so I think that idea is off the table. At least Moure is a workaround for you - but I think that is as good as it is going to get I'm afraid.

Re: OneNote 2016 - select stuck

Posted: Tue Sep 04, 2018 9:52 pm
by farbul
Pity it is dead end for your implementation. :(
Thank you for looking into it though.

I will use one with the other for now as it seems they do the job well together. :)