Giter VIP home page Giter VIP logo

smoothscroll's Introduction

Kaiyuan Liu Top Langs

smoothscroll's People

Contributors

imreker avatar lkytal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

smoothscroll's Issues

Can't install your extension in new VS"15"Preview

Hi,

Installed product versions

  • Visual Studio: [15 Preview]

Description

At build 2016 Microsoft released Visual Studio 15 Preview.
There are some extensions that work there, but some that are not even searchable in "Extensions and Updates". Yours is one of those that are not searchable and not installable.

Steps to recreate

  1. Install Visual Studio 15 Preview: https://www.visualstudio.com/en-us/downloads/visual-studio-next-downloads-vs.aspx (Visual Studio "15" Preview with new installer)
  2. Open VS15Preview
  3. Open Extensions and Updates
  4. Click on Online in the menu
  5. Search for Smooth Scroll
  6. Your extension doesn't pop up

Current behavior

Your extension is not searchable in new Visual Studio 15 Preview

Expected behavior

Your extension should or could be also in VS15Preview :)

Steps to fix

As I am writing this, one of other extension makers already fixed this issue for his extension here:
cpmcgrath/codealignment#43

You only need to add these:

<VisualStudio Version="15.0">
    <Edition>Pro</Edition>
    <Edition>Community</Edition>
</VisualStudio>

into your .vsixmanifest file into section <SupportedProducts> and it should work. :)

Regards.

Question: Possible to DISABLE smoothScroll in VS2022?

Hi, here's a maybe weird question :)
VS2022 has some smooth scrolling enabled in it's IDE/TextEditor by default.
this is causing very blurry text after scrolling (for half a second or so) - at least if you are connected via RDP

So the question is:

  • do you know a way to disable this smooth scrolling and get back to the scroll-by-n-lines?

I know it's the opposite of what this extension is doing :D but i thought, maybe you (or some of the users/readers) has the expertise / knowledge and may have an idea ...

thanks a lot

how to use this extension ?

I had install this extension, after restart visual studio 2013 , i can't find how to use this extension, or maybe it will automatically work, should i press some short cut keys ? or chang it setting in the tool menu ?

Cannot scroll smoothly with scrollbar

Using mouse wheel, one can see that the scrollbar is also moving smoothly.
When the screen is in a mid-line position, grabbing the scrollbar with the mouse and moving sligthly makes the whole line jump. Not smooth.
I'm using VS 2019.
This is somewhat a subissue of #8 but I think it is worth to divide it to keyboard support and scrollbar support. Would be really great if the scrollbar was supported, even if the keyboard isn't.
Last but not least, even without this feature, this is a great extension, thank you for making it.

Smooth Scrolling Only Works for Mouse Wheel Scrolling

I'm using version 2.1.1 with Visual Studio 2015 Update 3 (14.0.25431.01) and smooth scrolling only works when I scroll using the mouse wheel without any modifiers. When I use alt-wheel for scrolling a page at a time or shift-wheel for scrolling horizontally, the transition is instant. I also observe this behavior for both scrolling with page-up and page-down keys as well as ctrl-up and ctrl-down (line-scrolling).

Is this intended or a known issue? If so, it would be nice if this could be mentioned in the readme and/or the visual studio gallery page.

No way to lower the scroll amount/speed

Hello,
I really like this extension, but i want to disable the smooth scrolling and only use the other features.
The problem is, it still scrolls way to much up or down with one mouse wheel step. It is like triple the amount of it with the extension completely disabled and I don't want to change the Windows setting.
If I lower the scroll speed ratio below 1 in the options page, nothing changes.

If this gets changed, it would be great.

Custom animation speed

I am currently using this extension with Visual Studio 2019 and I find that the animation is rather slow, even if I set the "Animation speed" parameter to "Fast".

Could you please make it possible to have a finer-grained control over the animation speed by, for example, allowing users to enter a (floating-point?) number as the animation speed instead of choosing between "Slow", "Normal" and "Fast" ?

If you want to still keep the above-mentioned 3 options (for backward-compatibility), perhaps you could add a 4th option named "Custom" which would create a new "Animation speed value" property in which users can enter a custom value for the animation speed that they prefer?

Thank you in advance for considering this request 😊

Lost compatibility with VS 2015

The README mentions compatibility with VS 2013 and 2015, but at least on VS 2015 the plugin doesn't work anymore. If the plugin was already installed, going to the options for SmoothScroll will show "an error has occured" instead of the usual options.

On the VS plugin market, compatibility with 2017 and 2019 only is mentioned. The Online section of the plugin window in VS 2015 doesn't list SmoothScroll anymore, and if I download the .vsix from the market, the installer only suggests me to install for 2017 and 2019 indeed.

Should I try to go back to a previous version compatible with 2015 of in the Git history and recompile myself? If so, which commit would you recommend me? Is there a way you can preserve compatibility without adding too many hacks in code?

Visual Studio crash

Exception details:

System.ObjectDisposedException was unhandled
Message: An unhandled exception of type 'System.ObjectDisposedException' occurred in mscorlib.dll
Additional information: Cannot access a disposed object.

Call stask:

mscorlib.dll!System.Threading.TimerQueueTimer.Change(uint dueTime, uint period)
mscorlib.dll!System.Threading.Timer.Change(int dueTime, int period)
SmoothScroll.dll!SmoothScroll.ScrollController.~ScrollController()

I wrote a comment about possible fix: e53679a#commitcomment-20832459

The XAML designer doesn't smooth in VS 2015 Update 3

OS Version: Windows 10 Insider Preview Build 14385
VS Version: Visual Studio 2015 Community Update 3 Ver.14.0.25422.01

The plugin works fine with text editor, but not work in XAML designer. Need I take some extra configuration or provide some more information?

Thank you.

Version 3.0.0 does not work with Visual Studio 2017

The version 3.0.0 does not work any more with Visual Studio 2017.

When opening a file, this error message is displayed:

---------------------------
Microsoft Visual Studio
---------------------------
The 'SmoothScrollPackage' package did not load correctly.

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\...\AppData\Roaming\Microsoft\VisualStudio\15.0_d1378007\ActivityLog.xml'.

Restarting Visual Studio could help resolve this issue.

Continue to show this error message?
---------------------------
Yes   No   
---------------------------

ActivityLog.xml contains this entry:

<entry>
  <record>2295</record>
  <time>2019/05/10 10:45:53.473</time>
  <type>Error</type>
  <source>VisualStudio</source>
  <description>CreateInstance failed for package [SmoothScrollPackage]Source: &apos;mscorlib&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A;   at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)&#x000D;&#x000A;   at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)&#x000D;&#x000A;   at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)&#x000D;&#x000A;   at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)&#x000D;&#x000A;&#x000D;&#x000A;WRN: Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>
  <guid>{6BB22343-DF63-4F19-8088-66CAEAFDE0AD}</guid>
  <hr>80004005 - E_FAIL</hr>
  <errorinfo></errorinfo>
</entry>

On my computer, the file Microsoft.VisualStudio.Shell.15.0.dll has version 15.0.28307.539, but not 16.

I currently don’t have Visual Studio 2019 installed.

Improve the frame rate

It's a good plugin (I just can't understand how Visual studio Code and Jetbrians have this for years while Visual studio doesn't). Anyway, it would be so much better if you can improve the frame rate of scrolling, because it looks particularly bad on higher refresh rate monitors.

3.0 bug in VS 2019: settings not applied on VS start

ever since I updated the extension on VS2019 most of the time (but not every time) the smooth scroll feature is activated even though I have it deactivated in the settings. When I go into the settings it's set to 'false' but only after I turned it on and off again it's actually off.

Are there any logs I could sent you? Where would I find them?

Edit: looks like this is more an issue with the new async starting process of VS 2019. After a few seconds, when the solution is fully loaded the setting is applied. But it takes a few seconds in my case.

Scrolling pauses while mouse is moving

When I start the scrolling and right after that wildly move the mouse around, the scroll animation pauses/stutters while I move the mouse. As soon as I stop moving the mouse, the scroll animation is smooth.

Tested on Visual Studio 2019 Preview 2.1

Disable smooth scrolling for Shift + Scroll

Anyway to support horizontal scrolling without the smooth part?
It seems like this is the only extension that support horizontal scrolling for Visual Studio 2017 though...

I think it would be better if you disable momentum

In browser, I can flick on my touchpad and touch again with two finger to stop scrolling immediately, or if I use mouse then when I stop scrolling it also stop immediately. I feel like is better to do it that way

VS15 update 2 - 4.6.0.1038 - Jerky not smooth

As the title says, scrolling has become jerky with latest updates from MS.
Shift-scroll (side to side) is great
Alt-scroll (page by page) is great
Using scroll bar is fine.
But just regular scroll wheel scrolling shows noticeable delay between scroll wheel and text actually scrolling... is jerky not smooth...

FYI: This is on a 3rd monitor, in portrait mode, on a C# file of 3000 lines.
Same configuration as I've always had, but noticed the jerkiness since most recent MS KB update for VS2015update2.

Precision Touchpad - Decoupled behaviour

In general, the behaviour feels decoupled from the trackpad, if you can, compare it with Scrolling in Edge using a Surface Book / Pro 4 (or hopefully a MS-approved precision touchpad), or any MacBook.

When i scroll on my Surface Book, there is a maximum acceleration happening in vs, leading to a distinct lag between what i do at the trackpad and what happens in the window. Also, when i suddenly stop with my fingers, scrolling does not stop but takes about two seconds decelerate (as if i just lifted my fingers). Also, when i initiate scrolling, lift my fingers off and put them back on, scrolling again does not stop.

If this would be doable, imitating OSX/Edge, it'd feel wunderful.

VS crashes when scrolling vertically and horizontally.

When you try to scroll down and to the left or right at the same time Visual Studio crashes. This works with a mouse like the logitech G502 with a scroll wheel which is capable of scrolling down and to the side at the same time.

Visual.Studio.Crash.mp4

Lag

There's too much lag between the movement of the scroll wheel and the scroll. VS 2019 Community

Blurred Text Before Scrolling Stops

When scrolling smoothly, the the font is blurred quite a bit shortly before . In fact, I was unable to perceive any scrolling movement while this was happening.

My guess is that this can be solved by clamping the scroll value after it reached a certain threshold (which might be set in the options), effectively stopping the scrolling earlier than it would have.

VS2019: SmoothScroll settings freeze VS and crash it

I really like the shift scroll feature of this extensions but I always turn off the smooth scolling. After the update to version 3.0 I can't access the SmoothScroll settings anymore.

  • I use VS 2019 latest update (16.0.3) but also happens in 16.1 preview 3
  • open VS settings
  • click on SmoothScroll
  • VS freezes and crashes shortly after

as a work around until this is fixed where can I turn off smooth scroll in a settings file?

No scrolling after alt-scroll

Firstly, I really like your extension, it is one of my first installs on a new Visual Studio environment.

I have found that after holding alt+scrolling (to scroll down per page), upon release of alt, the scrolling no longer works until I click Visual studio again. This is because the first pressing of the alt key selects menu items.
Your fix would deselect the menu item that is triggered by the initial alt press.

from version 3.2 does not work (crashes) in vs 2017 on start

from version 3.2 does not work (crashes) in vs 2017.
on vs start shows message box saying:
"The SmoothScrollPackage did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users*
****\ActivityLog.xml'."

From ActivityLog.xml:

<entry>
    <record>2637</record>
    <time>2020/06/07 10:25:46.436</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [SmoothScrollPackage]Source: &apos;SmoothScroll&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.Threading, Version=16.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.Threading, Version=16.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.Threading, Version=16.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A;   at SmoothScroll.SmoothScrollPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass17_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.GetResult()&#x000D;&#x000A;&#x000D;&#x000A;WRN: Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>
    <guid>{6BB22343-DF63-4F19-8088-66CAEAFDE0AD}</guid>
    <hr>80070002</hr>
    <errorinfo></errorinfo>
  </entry>
  <entry>
    <record>2638</record>
    <time>2020/06/07 10:25:46.436</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>End package load [SmoothScrollPackage]</description>
    <guid>{6BB22343-DF63-4F19-8088-66CAEAFDE0AD}</guid>
    <hr>80070002</hr>
    <errorinfo></errorinfo>
  </entry>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.