Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Console] ProgressBar behavior (question) #13019

Copy link
Copy link
Closed
@llaville

Description

@llaville
Issue body actions

Platform: Windows with ANSICON 1.66 installed

My Windows Console 2.00.148 is configured with 120 char width and 32 lines

I've migrated recently from ProgressHelper to ProgressBar with Symfony Component 2.6.1, and I've a question about the new progress bar behavior.

When full win console is reached, the progress bar (even with ANSI support) changed from a one line display to a multi lines display.

Here are what I got when the full win/console width is not yet reached. A one line display that is refreshed at each changes


3 [--->------------------------]  1 sec 7.0 MiB File Reflect\Analyser\CompatibilityAnalyser.php in progress...

And after the full win/console width is reached (in my case : 120 char) at step 52


52 [------------------------>---] 13 secs 12.5 MiB File Reflect\Plugin\Cache\CacheAdapterInterface.php in progress...
53 [------------------------->--] 13 secs 12.5 MiB File Reflect\Plugin\Cache\CacheStorageInterface.php in progress...
54 [-------------------------->-] 13 secs 12.5 MiB File Reflect\Plugin\Cache\DefaultCacheStorage.php in progress...
55 [--------------------------->] 13 secs 12.5 MiB File Reflect\Plugin\Cache\DoctrineCacheAdapter.php in progress...
56 [>---------------------------] 14 secs 12.5 MiB File Reflect\Plugin\CachePlugin.php in progress...
57 [->--------------------------] 14 secs 12.5 MiB File Reflect\Plugin\Log\DefaultLogger.php in progress...
58 [-->-------------------------] 14 secs 12.5 MiB File Reflect\Plugin\LogPlugin.php in progress...
59 [--->------------------------] 14 secs 12.0 MiB File Reflect\Plugin\PlantUML\PlantUMLPlugin.php in progress...
60 [---->-----------------------] 15 secs 12.0 MiB File Reflect\Plugin\PluginInterface.php in progress...
61 [----->----------------------] 15 secs 11.8 MiB File Reflect\Plugin\PluginManager.php in progress...
62 [------>---------------------] 15 secs 11.8 MiB File Reflect\Plugin\ProfilerPlugin.php in progress...
63 [------->--------------------] 16 secs 11.8 MiB File Reflect\Printer\Text.php in progress...
64 [-------->-------------------] 16 secs 11.8 MiB File Reflect\Tokenizer\DefaultTokenizer.php in progress...
65 [--------->------------------] 16 secs 11.8 MiB File Reflect.php in progress...
65 [============================] 16 secs 11.8 MiB File Reflect.php in progress...

Is it supposed to be the standard ProgressBar behavior, or just a bug ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.