Forums

Input reading issues

Quick find code: 443-444-40-66088006

MiraOfStars

MiraOfStars

Posts: 238 Silver Posts by user Forum Profile RuneMetrics Profile
Putting this in its own thread for longer discussion, hope it's ok.

Device name: Google Pixelbook
Model Number: Unknown
Location: Canada
Wifi: Yes
Cellular: No
Data Provider: N/A
OS: ChromeOS
OS version: 72.0.3626.117 (Official Build) (64-bit)

Playtime (Approx): a few minutes
What is the issue?: See below.
Where is the issue?: Bank interface but likely elsewhere, see below.
Does restarting the client fix the issue?: No

So the specific bug is that if you are in the bank interface and you use the two-finger swipe scroll on the touchpad (the mouse, not the actual touch screen), Runescape *also* registers a click. This means that if you start scrolling when you have your cursor over an item, you will withdraw that item in addition to scrolling.

I wanted to write a longer post about this because I think it's related to other issues with NXT on Windows and Linux, which is that if you press a key, then alt-tab into NXT, it registers the keypress. This one is frustrating to me since I have keybinds that switch workspaces with number keys and I have to never tab away with the bank interface open or else I'll load a preset when I switch back. I've debugged this and the client doesn't seem to be receiving a keydown event, which means that the client must be actually polling the state of the key actively rather than relying on OS events. I wouldn't be surprised if something similar is happening here, where the mobile client polls the OS for the state of the mouse, gets "clicked" because there are fingers pressing on the trackpad, but the OS never sends a click event because it generates scroll events instead. As a result the client generates its own "click" event in addition to the scrolls from the OS.

It might also be related to another issue which is that, on NXT on Linux, if you alt-tab into it, the game won't notice the mouse has moved until you actually move it; if you spin the camera by keyboard you can get hovers to appear nowhere near the actual mouse cursor.

06-Mar-2019 19:06:26

Quick find code: 443-444-40-66088006 Back to Top