Page 1 of 1

xmbc prevents a RMB+wheel = tab cycler feature in Vivaldi browser

Posted: Sat Apr 17, 2021 8:37 pm
by WildEnte
XMBC Version: 2.19.2
Windows Version: Win10 b19042
Mouse Information (brand/model): Microsoft Bluetooth 3600
Relevant Computer Information (CPU, RAM etc): Dell XPS 9570
Did the problem occur after an upgrade of XMBC? (If so, from what version?): no
Did the problem occur after a Windows update/upgrade? (If so, from what version?): no
How long have you used XMBC?: months
What language and keyboard layout do you use in Windows?: german & english

Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:

Hi all,
(new to this forum, I did search, apologies if this question has already been answered)

I have used XMBC for a while but I have realized that it causes precisely one problem for me using the Vivaldi browser. Vivaldi allows to cycle through open tabs with a neat thumbnail view by pressing the RMB and using the wheel. When XMBC is active, RMB still opens the context menu, and wheel works fine for scrolling. Only this feature is disabled and I initially thought it was a Vivaldi bug (posted in their forum AND wrote a bug report :-) )

I have reproduced this problem by uninstalling XMBC (-> Vivaldi feature works), Downloading & installing XMBC 2.19.2 with resetting all existing profiles without setting up anything (all on "no change")
Consistently the Vivaldi feature breaks when XMBC is enabled, and the Vivaldi feature works when XMBC is disabled through right-click on the task manager icon

XMBC enables the tilt wheel of my MS mouse to actually do what I want (the silly MS control center does not, well done MS). But I really like that Vivaldi feature in its default.

Ideally this interference can be resolved in a future update of the program. Looking for Vivaldi on this forum I saw a thread that apparently it is possible to set up tab switching with XMBC, but have not yet been able to figure out how and see if it is giving me an adequate experience compared to Vivaldi's default. Any pointers would be very welcome. Thanks a lot!

Re: xmbc prevents a RMB+wheel = tab cycler feature in Vivaldi browser

Posted: Mon Apr 19, 2021 12:02 am
by phil
I'll have to grab vivaldi again and try to reproduce this here, then maybe I can come up with a solution or fix.
I'll let you know when I have more info for you...

Re: xmbc prevents a RMB+wheel = tab cycler feature in Vivaldi browser

Posted: Tue Apr 20, 2021 1:33 pm
by reyn
"Settings - Make scroll wheel scroll window under cursor" = is the culprit, switching it Off allows to use scroll-abilities of other programs.
Yet i presume "Settings - Advanced - Remap simulated input from other application" to be bugged, as even with it's being set Off(but above setting On), i still couldn't use other app's mouse scrolling combinations, while i'd expect this "Remap"-setting to have major influence.

Re: xmbc prevents a RMB+wheel = tab cycler feature in Vivaldi browser

Posted: Tue Apr 20, 2021 9:53 pm
by phil
That makes sense (would have been my first thing to check - sorry I didn't mention it the other day!)...

Actually if your using Windows 10, you don't really need the scroll window under the cursor option anymore as *most* of the time Windows 10 does this automatically. Its almost advised to turn it off.

However you can also turn it off per profile if you find you would rather have XMBC do it - and then just setup a profile for vivaldi.exe and turn it off on the profile's options tabs.

Remap simulated input from other application is nothing to do with this. This if for applications that use SendInput to simulate keys or mouse input - and tells XMBC to treat them as hardware generated inputs and remap them, or not. Unfortunately the only thing to go on inside the mouse hook is a flag to say it is "injected" (ie. sent using SendInput). Its impossible to actually know the source. When XMBC sends injected messages, it adds an extra info flag to the message which it attempts to detect and thus NOT remap something it has sent itself - but the messaging system is not really designed to accommodate such functions so its not ideal.

Re: xmbc prevents a RMB+wheel = tab cycler feature in Vivaldi browser

Posted: Tue Apr 20, 2021 10:33 pm
by reyn
phil wrote: Tue Apr 20, 2021 9:53 pmRemap simulated input from other application is nothing to do with this. This if for applications that use SendInput to simulate keys or mouse input - and tells XMBC to treat them as hardware generated inputs and remap them, or not.
In my description i exactly meant such simulation apps, and that "Remap simulated input from other application" didn't really allowed them to work(till i experimentally found that "Make scroll wheel scroll window under cursor" kinda "hijacks focus", not allowing other app to make scrolling-based actions).

Re: xmbc prevents a RMB+wheel = tab cycler feature in Vivaldi browser

Posted: Tue Apr 20, 2021 11:07 pm
by phil
reyn wrote: Tue Apr 20, 2021 10:33 pm"Make scroll wheel scroll window under cursor" kinda "hijacks focus", not allowing other app to make scrolling-based actions).
Fair enough, but yes that's exactly what it does - it takes the wheel message and instead of letting that message through to the window with focus, it directs it to the window under the cursor (sending it directly to the window itself - which is some cases does not work as that it may need to be routed to the windows parent or sibling etc.) so in some cases it breaks things. There are many many built in exceptions for lots of apps but obviously I can't find them all, and they keep changing with every new version of every application! - So I have tended to add them as required) but these days, with Windows 10, its less of an issue because the OS handles it itself (and better than XMBC does!)

So generally turning it off globally (or per application if need be) is the best option. In fact, so much so that the default will probably be changed to OFF (at least on Windows 10) if/when I find enough time to spend on the next version of XMBC!

Re: xmbc prevents a RMB+wheel = tab cycler feature in Vivaldi browser

Posted: Wed Apr 21, 2021 9:23 pm
by WildEnte
hey reyn and phil,

thanks a whole lot, "Settings - Make scroll wheel scroll window under cursor" does the trick. Awesome!

:cheers:

I also have linked to this thread in the Vivaldi forum (hope you don't mind) just in case someone else runs into the problem. I can't post the link - just search for xmbc on the Vivaldi community forum.

Re: xmbc prevents a RMB+wheel = tab cycler feature in Vivaldi browser

Posted: Wed Apr 21, 2021 11:43 pm
by phil
Glad that worked....

Here's the link mentioned above for anyone interested
https://forum.vivaldi.net/topic/59188/t ... lang=en-GB

NOTE: Links can only be posted after you have 4 or 5 posts (to prevent spammers killing the forum!).