Page 1 of 1

Console Window retaining partial Window when Module Loads - see attachments

Posted: Tue Jul 18, 2017 10:07 pm
by rasdella
PS C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2017> $PSVersionTable

Name Value
---- -----
PSVersion 5.0.10586.117
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.10586.117
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Operating system: Windows 7 Enterprise SP1 x64
32 or 64 bit OS:64
PSStudio: 5.4.141

When I import a module - either manually in the console or by storing the required module in the Module Environment Path the console screen is keeping a portion of the module load Window - refer attached - Console1.PNG.
If I then later enter any command at the console, this adjusts to a smaller version - refer attached - Console2.PNG

Re: Console Window retaining partial Window when Module Loads - see attachments

Posted: Fri Jul 21, 2017 8:11 am
by davidc
It looks like a portion of the screen is not repainted. Is this displayed on a high resolution (high DPI) monitor?

Re: Console Window retaining partial Window when Module Loads - see attachments

Posted: Mon Jul 24, 2017 2:50 pm
by rasdella
Graphics Card NVDIA Quadro K2000 driver 9.18.13.4144
2 x monitors - extended desktop
Primary: Lenovo 24" LT2452 Resolution 1920 x 1200 (recommended)
Secondary: Dell P190S 1280 x 1024 (recommended)

Same result using Powershell on both screens, I wouldn't class this monitor / Graphics card particularly flash or state of the art

Re: Console Window retaining partial Window when Module Loads - see attachments

Posted: Tue Jul 25, 2017 11:18 am
by davidc
Is this caused by any module or a specific one?

I noticed a redraw issue when the console was reset and we are working to fix this for the next service release.

Re: Console Window retaining partial Window when Module Loads - see attachments

Posted: Tue Jul 25, 2017 6:22 pm
by rasdella
Hi David,

I had the following single line file file saved as profile.ps1 saved in my profile path:
Import-Module -Name ActiveDirectory

Profile Path:
C:\Users\<username>\Documents\WindowsPowerShell

After removing profile.ps1 and importing the module from the console manually typing it - no screen issue. I place the profile.ps1 file back in the profile path - issue returns as soon as I load the console?

Re: Console Window retaining partial Window when Module Loads - see attachments

Posted: Wed Jul 26, 2017 10:27 am
by davidc
Yes, if you reset the console, the color issue will appear. We made some changes that will hopefully address the issue in the next service release.

Re: Console Window retaining partial Window when Module Loads - see attachments

Posted: Tue Aug 01, 2017 7:57 am
by davidc
Please try the latest service build (v5.4.143) and let us know if the issue is resolved.