Open DerAlbertCom opened 5 years ago
I'm not sure what are you doing? Do you run in ConEmu something? If you run some App (which is not able to support high-dpi properly) from ConEmu (which notes Windows that it's high-dpi aware) you may see some strange artifacts.
I type code $Profile
from the command line (pwsh.exe) within ConEmu, this will starts Visual Studio Code, with the PowerShell Profile file as parameter.
Visual Studio Code runs fine with HiDpi, except when I run it from PowerShell Core within ConEmu.
I know, this is strange.
Environment
I'm using ConEmu64 190108 preview. I'm Visual Studio Code (current stable), and have a 27" 4K Display in 150% Zoom, Windows 10 1809.
What?
Today I installed PowerShell Core 6.1.2 on my machine (never used/installed PowerShell Core before).
If i start Visual Studio Code with
code $Profile
as an example. I get the following behavior.With ConEmu64 and PowerShell Core, Code will be started and I get a normal sized Black Box with a Code Windows half of the Size of the Black Box. So it is scaled down 50%, but the controls like Closing X react on the supposed position, not at the scaled position.
With ConEmu64 and normal PowerShell this not happens, and everything is normal. Without ConEmu64 using PowerShell Core in the Windows Shell Host this also does not happen and everything is as expected.
Actual Results
I attached two Screenshots
PowerShell Core within ConEmu64
PowerShell Core without ConEmu64 PowerShell .NET 5.x within ConEmu64
Other Stuff
Code is an Electron App, so i died the same with Slack (installed from Microsoft Store). No Problem with Slack.
So, don't know if this a Code, ConEmu64 or PowerShell Core Problem but I have to start somewhere ;)