GithubHelp home page GithubHelp logo

Comments (6)

rafaelmardojai avatar rafaelmardojai commented on August 9, 2024

Now I'm binding the scroll with gsettings, could you test if this solve the issue?

Otherwise, I'm going to implement a more performant approach.

from blanket.

RedGradient avatar RedGradient commented on August 9, 2024

Nothing has changed. The program behavior is the same.
Version: 0.3.1.r6.g2d80889

from blanket.

rafaelmardojai avatar rafaelmardojai commented on August 9, 2024

Right. I will implement some logic to improve this.

from blanket.

rafaelmardojai avatar rafaelmardojai commented on August 9, 2024

I have implemented smart scroll position saving. Could you test if still lags for you?

from blanket.

RedGradient avatar RedGradient commented on August 9, 2024

There is no lags anymore. However, saving may not occur if less than a second has elapsed between changing the scroll and closing the window. You can set a smaller timeout, but why not just do the save when closing the window? The same approach can be applied to saving volume scrolls' position, which will drastically reduce the number of I/O operations.

from blanket.

rafaelmardojai avatar rafaelmardojai commented on August 9, 2024

That was my first idea, but constant electrical cuts where I live made me implement it in this way.

However, I agree about saving on close would be better. I will try to figure out a better approach, otherwise I will implement the save when closing the window.

from blanket.

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.