GithubHelp home page GithubHelp logo

Comments (6)

rabite0 avatar rabite0 commented on August 19, 2024 1

Yeah, that builds a debug version, which has a lot of overhead. On my system it easily goes up to >100% cpu usage while scrolling, but the "--release" build only uses 20-40%, depending on the content of the directory.

If you see any other issues, feel free to open a bug report.

from hunter.

coldfix avatar coldfix commented on August 19, 2024 1

To me this behaviour feels like a bug. I would never have guessed it is intended, and it almost made me directly turn away from this program. In fact, I'd guess there are many users like me, and I'd recommend to disable it by default, since I believe it is rather irritating and unexpected for new users. Obviously, I can't speak for everyone, so just my two cents ;)

from hunter.

rabite0 avatar rabite0 commented on August 19, 2024

That's intended behaviour :).

It's supposed to be a slide up animation.

I did this first as a joke when I saw how fast rendering is with Rust, but I actually started really liking it. Makes scrolling feel nice and smooth, instead of abruptly switching between previews. But I'm aware that other people might think differently.

If you don't like it, you can easily disable it. Put "animation=off" into ~/.config/hunter/config and it will disable all animations.

BTW: It doesn't look very smooth on your picture/video. Maybe you compiled it with just "cargo build" instead of "cargo build --release"? Makes a huge difference. Or the terminal is not fast enough. Or it's just the picture/video. Anyway, if you don't like it, you can disable it.

from hunter.

meain avatar meain commented on August 19, 2024

Oops, sorry for not reading the docs. Thank you for the fast reply.

Btw, great work on this.

from hunter.

meain avatar meain commented on August 19, 2024

It was cargo run. I just pulled in the latest version and was trying it out.

from hunter.

meain avatar meain commented on August 19, 2024

Yeah, it feels smooth on a release build. But I think I will stick with no animation.

I think I am just used to it being that way.

from hunter.

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.