Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll wheel does not work in settings UI #9340

Closed
ghost opened this issue Mar 2, 2021 · 18 comments
Closed

Scroll wheel does not work in settings UI #9340

ghost opened this issue Mar 2, 2021 · 18 comments
Labels
Area-Input Related to input processing (key presses, mouse, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-2 A description (P2) Product-Terminal The new Windows Terminal. Resolution-External For issues that are outside this codebase Tracking-External This bug isn't resolved, but it's following an external workitem.

Comments

@ghost
Copy link

ghost commented Mar 2, 2021

Environment

Windows build number: 10.0.19042.0
Windows Terminal version (if applicable): 1.7.572.0

Steps to reproduce

Open Windows Terminal tab & settings UI tab

Expected behavior

Scrolling with mouse wheel should work on both tabs

Actual behavior

scroll_test

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 2, 2021
@zadjii-msft
Copy link
Member

zadjii-msft commented Mar 2, 2021

oh my gosh is this that weird trackpad bug? Lemme try finding that in the history.

@otaconjh What mouse are you using to scroll the Terminal? Is it by any chance a synaptics trackpad?

EDIT: My theory is that this is a variation on #979, #2606 and microsoft/microsoft-ui-xaml#2101

@zadjii-msft zadjii-msft added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Mar 2, 2021
@ghost
Copy link
Author

ghost commented Mar 3, 2021

It occurred on my work laptop but I was using a bluetooth mouse. 'HID-compliant mouse' in Device Manager

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Mar 3, 2021
@zadjii-msft
Copy link
Member

Okay, well, that kinda ruins my theory about the trackpad. Other guesses:

  • Does hovering the min-max-close buttons highlight them? Do they work?
  • If you move the moust to like, the top-left corner of the scroll view in the settings UI, does scrolling work then?
  • If you open the Command Palette (Ctrl+Shift+P), does the mouse work to scroll that list?

@zadjii-msft zadjii-msft added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-Terminal The new Windows Terminal. and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Mar 3, 2021
@ghost ghost added the No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. label Mar 7, 2021
@ghost
Copy link

ghost commented Mar 7, 2021

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost
Copy link
Author

ghost commented Mar 8, 2021

  • Hovering buttons highlights them fine
  • Scrolling does not work anywhere in the settings UI
  • Scrolling does not work in the Command Palette

Issues with scrolling are with mouse only, scrolling works fine when a trackpad is used. Have tested with multiple mice.

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. labels Mar 8, 2021
@zadjii-msft
Copy link
Member

Issues with scrolling are with mouse only, scrolling works fine when a trackpad is used. Have tested with multiple mice.

what the heck? That's even weirder than I had expected. I'm gonna leave this open for now. My guess is that the hack we're doing to manually pass mouse events into the TermControl is what's making the mouse work for you in terminal tabs, but not the settings tab (or command palette). However, I'm not sure we can do that same hack for those UI elements. I don't know how to narrow the issue down more at this point, unfortunately. I'd bet that this is a Xaml Islands bug, but unsure where the root cause is exactly.

microsoft/PowerToys#3400 also looks like another case of this, an one where they're similarly seeing this with a mouse, not a trackpad. @otaconjh Out of curiosity, which mice did you try?

@zadjii-msft zadjii-msft added Area-Input Related to input processing (key presses, mouse, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-2 A description (P2) Tracking-External This bug isn't resolved, but it's following an external workitem. and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Mar 8, 2021
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Mar 8, 2021
@zadjii-msft zadjii-msft added this to the Terminal Backlog milestone Mar 8, 2021
@DHowett DHowett removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Mar 15, 2021
@jackemerson
Copy link

jackemerson commented Apr 16, 2021

microsoft/PowerToys#3400 also looks like another case of this, an one where they're similarly seeing this with a mouse, not a trackpad. @otaconjh Out of curiosity, which mice did you try?

Just to add some additional information, this issue occurs for me across PowerToys' and Windows Terminal's settings panels. It occurs only on my desktop, and not my laptop.

Desktop

The issue occurs with any of the following mice:

  • Logitech MX Master 2S
  • Logitech G703
  • Steelseries RIVAL
  • Razer Viper Ultimate

...I may need to take a look at my mice hoarding habit.

System Info Microsoft Windows Pro 64-bit [Version 10.0.19042.928] Windows Terminal Version: 1.7.1033.0 Microsoft PowerToys Version: 0.35.0

CPU: Intel i7-7700K
GPU: NVIDIA GTX 1070

User DPI Setting: 120 DPI (125 percent)
System DPI Setting: 96 DPI (100 percent)

Monitor, Primary: 27", 2560 x 1440 (32 bit) (144Hz) Acer XB271HU
Monitor, Second: 34", 3440 x 1440 (32 bit) (60Hz) Dell U3419W

Laptop

For my laptop (Dell XPS 9360), there are no issues with scrolling the settings panel, with either the trackpad or with a mouse (tested with MX Master 2s & G703).

System Info Microsoft Windows Home 64-bit [Version 10.0.19042.867] Windows Terminal Version: 1.7.1033.0 Microsoft PowerToys Version: 0.35.0

CPU: Intel i7-7500U
GPU: NVIDIA GTX 1070
User DPI Setting: 144 DPI (150 percent)
System DPI Setting: 144 DPI (150 percent)

Monitor: 13", 1920 x 1080 (32 bit) (60hz)

Changing the DPI and/or resolution for my desktop and laptop did not (respectively) allow me to, or stop me from, scrolling the settings panel.

I'll test this further with a restart following the DPI and/or resolution change, and report back.

@loopervfx
Copy link

loopervfx commented Jun 1, 2021

I am also unable to scroll in Terminal v1.8.1444.0 Settings, I'm using a Kensington Expert Mouse Wired Trackball (USB) on Windows 10 ver 1909 build 18363.1379

@jaortizco
Copy link

I have the same problem, I can scroll everywhere with my touchpad (Synaptics) except in the settings tab. It works fine when I use my Bluetooth mouse.

Windows Terminal
Version: 1.8.1521.0

@timadye
Copy link

timadye commented Jul 23, 2021

I had this same issue, but only in a specific set of circumstances, and now have a work-around. Here's what I observed:

  • Scroll doesn't work in Settings tab only (works in Terminal tabs)
  • Only with an external mouse (Evoluent VerticalMouse2; not tested with other external mice). Trackpad scrolling works on two different laptops.
  • Only when I have X-Mouse Button Control enabled and have the (default) option to "scroll window under cursor". Note that the behaviour is the same whether or not Windows Terminal is the active window.

That last point indicates that it's something going on with XMBC. If it were a problem, I could take it up with them. But actually it's easier just to "Disable Scroll Window Under Cursor".
XMBC
That option doesn't seem to do anything - I guess Windows now has this behaviour built-in, so there's no need to have XMBC do it. I didn't see a problem like this before I saw it in Windows Terminal Settings, so there is some funny interaction between the two programs.

I hope that gives a clue as to what's going on for other people who aren't so lucky to have an easy fix as (it looks like) I have. It might be possible for a developer to reproduce the issue by installing XMBC (making sure that option is not selected) and using an external mouse.

So this isn't a problem for me, but I hope my observation helps.
Tim.

Windows Terminal v1.9.1942.0.
X-Mouse Button Control v2.19.2.
Windows 10 20H2.

@jackemerson
Copy link

jackemerson commented Jul 24, 2021

Well, you're absolutely right. I've run XMBC for so long, I didn't even consider it. 😑

So disabling the relevant Global Setting:
image
or (as you mentioned, also) disabling it on a matched profile sorts this issue out.

Cheers, Tim!

@loopervfx
Copy link

loopervfx commented Jul 25, 2021

I also use X-Mouse Button Control and @timadye's workaround resolved the issue for me. @jackemerson's option also worked and is a less error prone solution in the long run. Same results for PowerToys settings scroll issue microsoft/PowerToys#3400

@zadjii-msft
Copy link
Member

Wow that's crazy. Glad someone was able to get to the bottom of this!

@ghost ghost added the Needs-Tag-Fix Doesn't match tag requirements label Jul 26, 2021
@zadjii-msft zadjii-msft added the Resolution-External For issues that are outside this codebase label Jul 26, 2021
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Jul 26, 2021
@loopervfx
Copy link

Wow that's crazy. Glad someone was able to get to the bottom of this!

for posterity sake, this issue hasn't been isolated / confirmed to be caused by X-Mouse Button Control or due to a conflict with this software exclusively. Only that a workaround has been found in this case. According to reports here and in the still open Power toys sister issue, This maybe also be happening with Synaptics and/or Logitech input devices, due to a conflict or flaw with their configuration software, drivers, and/or Windows.

@rozele
Copy link

rozele commented Sep 14, 2021

This issue also repro's when using WizMouse.

@rozele
Copy link

rozele commented Sep 29, 2021

In case anyone is interested, I implemented a workaround for this for a react-native-windows app built on XAML Islands:
https://gist.github.com/rozele/a4b26810b9a4f68373e421a49d06a5ab

@rozele
Copy link

rozele commented Nov 18, 2021

Also, just noticed that the bug "goes away" if you open Spy++ and put it in focus while trying to scroll the Settings tab 😮

@Haas11
Copy link

Haas11 commented May 24, 2022

In case anyone is interested, I implemented a workaround for this for a react-native-windows app built on XAML Islands: https://gist.github.com/rozele/a4b26810b9a4f68373e421a49d06a5ab

also when using alt-drag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Input Related to input processing (key presses, mouse, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-2 A description (P2) Product-Terminal The new Windows Terminal. Resolution-External For issues that are outside this codebase Tracking-External This bug isn't resolved, but it's following an external workitem.
Projects
None yet
Development

No branches or pull requests

8 participants