Giter Club home page Giter Club logo

Comments (8)

NullNoname avatar NullNoname commented on August 17, 2024

I also want this option. The scroll feels very slow that I am forced to switch to other text editors.
I actually downloaded xed source and looked at it, but I could not find where the smooth scroll is enabled.
A quick Google search indicates that this might actually be forced from GTK3's side, which makes this feature (disable smooth scroll) very difficult to implement.

from xed.

JosephMcc avatar JosephMcc commented on August 17, 2024

I'm curious as to what exactly you guys mean by "smooth scrolling" and where you find it slow?

from xed.

NullNoname avatar NullNoname commented on August 17, 2024

In most older text editors (like Leafpad and Emacs) when you scroll using PageDown/PageUp keys, the text area "flips" (or "jumps") instantly to the next page, without any animation. In the current versions of xed and gedit, on the other hand, the text area gradually scrolls to the new cursor position. The same behavior can also be seen by using "Go to Line..." and skipping ahead several lines, and (to some lesser extent) by press and hold the up/down cursor keys or by dragging the scrollbar. (For some reason, smooth scroll is not present for mouse wheel scrolling.)
Since many other applications in Linux (except web browsers) do not have this behavior, it feels out of place.
gedit, which shares most codes with xed, have this behavior too and there is no option to turn it off (https://mail.gnome.org/archives/gedit-list/2015-January/msg00001.html).

from xed.

JosephMcc avatar JosephMcc commented on August 17, 2024

Thanks for explaining. You are comparing to things like Leafpad which are gtk2 applications. The smooth scrolling you are talking about is just "how it works" in gtk3. There is no way to disable or change it.

Doing some quick testing I don't see any real speed difference between using page up/down in Leafpad vs. xed. It might give that perception but the actual speed difference seems really minimal.

from xed.

sannysanoff avatar sannysanoff commented on August 17, 2024

to turn off smooth scrolling in gtk3:

https://askubuntu.com/questions/903160/turn-off-smooth-scrolling-in-gtk3

see Gilles answer.

from xed.

white-flame avatar white-flame commented on August 17, 2024

Joseph: Regardless of local desktop refresh speed, over VNC the extra scrolling animation frames are captured and sent across the internet, only to be discarded when overwritten with the final scroll position. This takes a ton of time, and is quite exacerbated when the window is large or the connection is slower, really hampering interactivity.

from xed.

MarjaE2 avatar MarjaE2 commented on August 17, 2024

If you're sensitive to scrolling behavior, and get severe migraines from smooth scrolling, fom non-scrolling sidebars, etc. then the linked article isn't accessible either.

from xed.

MarjaE2 avatar MarjaE2 commented on August 17, 2024

I'm not encountering smooth scrolling. I think disabling effects disabled that; if so, this issue can probably be closed.

from xed.

Related Issues (20)

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.