Giter Site home page Giter Site logo

Comments (5)

deajan avatar deajan commented on May 28, 2024 1

Well, that's a good idea.
Notifications cannot be used here since it would require plumbing through various OS supports, but a "close the progress bar" button is definitly a good idea for long backups.
Not a huge fan of putting the progress bar in a corner by default though, especially since multiscreen setups will have the progress bar placement weird depending on the setup.

The will be a new problem, since the GUI behind the progress bar will not accept user input until operation is finished, so it would be required to add a status message in that GUI with something along "operation X in progress for repo Y", so the user understands that the GUI isn't just waiting for user input.

from npbackup.

Xavron avatar Xavron commented on May 28, 2024

I guess there's no way to get it away from blocking the UI thread without major changes? Interesting.

from npbackup.

deajan avatar deajan commented on May 28, 2024

That's not the point.
What would happen if main UI buttons aren't blocked, and you push backup button while another task is running. Makes no sense to allow that, since the only return you'll get is "busy doing something else".

from npbackup.

Xavron avatar Xavron commented on May 28, 2024

Block the buttons instead of the whole UI. But, we have a different viewpoint on things as is apparent.

You can keep this open or close it as you wish. I have nothing further to input on this :)

from npbackup.

deajan avatar deajan commented on May 28, 2024

What's the purpose of a non blocked UI where you cannot push any button ?

Anyway, I've improved the backup progress bar into something I wanted, ie showing stdout and stderr from the runner, and from restic itself into the GUI progression window.
The progression window can now be minimized, which is what I expected in improving the bar.
image

from npbackup.

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.