Comments (5)
ooh, nice find! looking at this now, thank you for the feedback...
from konsole.
Hi @Darida ;
If you can please give me a small sample of it breaking then I can write an acceptance test to add this to the code and fix it.
I believe the workaround for this (for now) is to create all the progress bars using a single thread and pass the 'created' progress bars to your threads doing any processing as a parameter, rather than having each separate thread create their own progress bar.
I can't confirm this workaround will work for you without a bit of sample code. A small sample will also help me make sure the fix I'm about to commit will definitely work for you.
For an example on multiple threads accessing ProgressBar
checkout ProgressBarDemos.cs
If you want to play with the examples I've written, the solution is really easy to check-out and build.
git clone https://github.com/goblinfactory/konsole.git
After cloning the project, right click on Konsole.Sample
project and set as startup project, and press F5, ...you'll get a menu with demos (see below) , press 'l' for the parallel thread demo.
Thanks, Alan
from konsole.
@Darida No worries, I have a test that reproduces the problem; fix is on the way...
from konsole.
fix and test committed. will push a new package a bit later.
Here's test proving fix works
from konsole.
I will close issue as soon as new package has been published to nuget.
from konsole.
Related Issues (20)
- Prevent console window resize HOT 16
- ProgressBar does not expose current HOT 8
- IWrite allow StringBuilder type of parameter HOT 9
- SplitRows and SplitColumns without border HOT 1
- Embedded CrLf cause window isolation to break.
- HighSpeed writer to support resize on window size change
- Fix spelling, Boxstyle.Thickness to Thickness.
- Menu not explained in the README. HOT 2
- when splitRows with 3 splits, with even number of parent rows, the last split is not expanding by 1 row
- Konsole.Writer.MoveBufferArea throws System.PlatformNotSupportedException on Nix Platforms HOT 4
- ProgressBar not working on Linux HOT 2
- Does window support chinese character text auto wrap? HOT 4
- Trying to use Konsole for First Time HOT 3
- Ability to close boxes. HOT 9
- Support non "lined" borders (line numbers, blue statusbar, and text header) HOT 1
- Seemingly impossible divide by zero exception thrown HOT 4
- System.ArgumentOutOfRangeException in ProgressBar.Refresh() HOT 16
- How to prevent console from being moved by user? Snap windows feature is changing size of Console. HOT 1
- The simple initialization of ProgressBar is throwing "The handle is invalid." exception in VSCode while debugging. HOT 7
- Add image support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from konsole.