You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Progress bar with user inputs, verbose or write-output sometimes interfered each other #6880
Try the following sample, press any key, let's say aaaaaaaa, you will see the progress bar moves to right while you are typing. This happens on Linux or Azure cloudshell.
should we turn off echo (stty -echo) before executing the cmdlet and turn it back on after completing the execution?
Steps to reproduce
Run the above sample on Linux
or
In Azure cloudshell bash + pwsh
Get-AzureRMWebApp and then press any key
Expected behavior
User inputs or write-output should not interference with progress bar position.
Actual behavior
The progress bar position changes based on user input. It impacts the verbose message start position too while running install-module.
Environment data
Name Value
---------
PSVersion 6.0.2
PSEdition Core
GitCommitId v6.0.2
OS Linux 4.4.0-124-generic #148-Ubuntu SMP Wed May 2 13:00:18 UTC 2018
Platform Unix
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
changed the title [-]Progress bar with user inputs, verbose or write-output sometimes interference each other[/-][+]Progress bar with user inputs, verbose or write-output sometimes interfered each other[/+]on May 15, 2018
But the gaps issue still exist which may or may not related to the write-progress. I will try to investigate it.
After the Azure drive appears, get <tab> which will start showing progress bar. After that, a big space gap appears. This issue is manifested in the PSReadline 2.0 beta version only.
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
Activity
[-]Progress bar with user inputs, verbose or write-output sometimes interference each other[/-][+]Progress bar with user inputs, verbose or write-output sometimes interfered each other[/+]jianyunt commentedon Jun 4, 2018
Bruce Payette (@BrucePay) I no longer can repro after applied your fix for the particular repro case:
But the gaps issue still exist which may or may not related to the write-progress. I will try to investigate it.
After the Azure drive appears, get
<tab> which will start showing progress bar. After that, a big space gap appears. This issue is manifested in the PSReadline 2.0 beta version only.Fix for #6880 Progress panel displays incorrectly on UNIX when the us…
ocitrev commentedon Jul 27, 2022
This happens not only on Linux
Easy to repro on Windows:
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.
Fix for PowerShell#6880 Progress panel displays incorrectly on UNIX w…