JPlag icon indicating copy to clipboard operation
JPlag copied to clipboard

Added idle bars

Open TwoOfTwelve opened this issue 10 months ago • 8 comments

Adds Idle Bars, that behave like progress bars, but do not show a linear progress and instead only indicate that something is happening. They can be used, when the amount of operations is unknown.

TwoOfTwelve avatar Apr 02 '24 12:04 TwoOfTwelve

@tsaglam Could you check if this looks right on Mac?

Just run the main method, that is in IdleBar.java

TwoOfTwelve avatar Apr 02 '24 12:04 TwoOfTwelve

Works good in windows terminals. Only thing I noticed was that the bouncer did not reach the left end full. There alsways was a space between < and <+>.

Kr0nox avatar Apr 06 '24 09:04 Kr0nox

I can see the same effect happening. There are definitely "frames" of the animation, where there is no space in between. I think this is mainly happening because the terminal is not always updated in time. I think there is no way to prevent that from happening with pure Java.

TwoOfTwelve avatar Apr 07 '24 10:04 TwoOfTwelve

I could not see it hit the left side a single time. So maybe there actually is a windows issue here?

Kr0nox avatar Apr 08 '24 07:04 Kr0nox

Could you try it now? I have increased the time between frames, so it should not skip over that frame as often.

TwoOfTwelve avatar Apr 09 '24 07:04 TwoOfTwelve

yes, with this delay it works

Kr0nox avatar Apr 09 '24 08:04 Kr0nox

@TwoOfTwelve I dont get a progess bar during clustering is that on purpose?

Kr0nox avatar Apr 19 '24 08:04 Kr0nox