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

[PT Run] Smooth scrolling of the results list #15033

Merged
merged 1 commit into from
Dec 17, 2021
Merged

Conversation

stefansjfw
Copy link
Collaborator

This fixes scrolling when using touchpad

According to this https://social.msdn.microsoft.com/Forums/vstudio/en-US/47bd6a75-7791-4c0f-93ae-931e9a6540e7/smooth-scrolling-on-listbox?forum=wpf, downside of this is we're losing virtualization. However, I don't expect that PT Run will produce amount of results to actually affect rendering of results list. I tested this with having hundreds of folders named test_<numbers> and then querying for test in PT Run. Also, it looks like PT Run (or plugins) have some limit of how many results can be shown. So we should be safe there.

Summary of the Pull Request

What is this about:

What is included in the PR:

How does someone test / validate:

  • Open PT v0.51.1

  • start PT Run

  • Run some query that produces a lot of results

  • Try scrolling using laptop touchpad

  • observe that scrolling is too sensitive

  • Redo the steps using this branch

  • observe that scrolling with touchpad is less sensitive and smoother

Quality Checklist

  • Linked issue: [Run] Touchpad scrolling is too sensitive #5383
  • Communication: I've discussed this with core contributors in the issue.
  • Tests: Added/updated and all pass
  • Installer: Added/updated and all pass
  • Localization: All end user facing strings can be localized
  • Docs: Added/ updated
  • Binaries: Any new files are added to WXS / YML

Contributor License Agreement (CLA)

A CLA must be signed. If not, go over here and sign the CLA.

This fixes scrolling when using touchpad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants