Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.55k stars 572 forks source link

A problem when first run out-gridview in powershell, the out-gridview window size is too small not suitable for it's content. #1979

Open zhoujin7 opened 5 years ago

zhoujin7 commented 5 years ago

Versions

ConEmu build: 190714 x64 OS version: Windows 10(1903 18362.329) x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): powershell

Problem description

A problem when first run out-gridview in powershell, the out-gridview window size is too small not suitable for it's content.

Steps to reproduce

  1. create new console 1:{Shells} -> 5:{PowerShell}
  2. run command: ls | out-gridview

Actual results

The out-gridview window size is too small. image

Expected results

The out-gridview window size is suitable for it's content. image

Additional files

Settings logs screenshots, permanent link Settings logs screenshots Settings logs screenshots, another link

Workaround

image

Maximus5 commented 5 years ago

Just to be sure, if you change your {PowerShell} task to powershell.exe -new_console:i - would it mitigate the problem?

zhoujin7 commented 5 years ago

Just to be sure, if you change your {PowerShell} task to powershell.exe -new_console:i - would it mitigate the problem?

nope. The problem still exists.

zhoujin7 commented 5 years ago

I just installed PowerShell Core 7.0.0-preview.3. Install-Module Microsoft.PowerShell.GraphicalTools -Scope CurrentUser ### for Out-GridView Out-GridView Returns | PowerShell There is no this problem in PowerShell Core 7.0.0-preview.3.