contour icon indicating copy to clipboard operation
contour copied to clipboard

Monitor scaling behaves weird on Windows.

Open ferdinandyb opened this issue 1 year ago • 1 comments

Contour Terminal version

Contour Terminal Emulator 0.4.3.6442

Installer source

GitHub: release page

Operating System

Windows

Architecture

x86-64

Other Software

No response

Steps to reproduce

Have two monitors where one is set to 100% scale and the other to 125% scale. Open contour on the 100% scale monitor and move it to the other one.

Expected Behavior

No response

Actual Behavior

This is how contour looks on the 100% scale monitor: image

And this is how it looks on the 125% scale monitor: image

The horizontal distance between characters is somehow squished.

Here's another view on the 125% scale monitor, where the top one was opened on the 125% scale monitor, while the other one was opened on the 100% scale and move to the 125% scale: image

Additional notes

No response

ferdinandyb avatar Feb 12 '24 16:02 ferdinandyb

Can be connected to https://github.com/contour-terminal/contour/issues/940

Yaraslaut avatar Feb 12 '24 17:02 Yaraslaut

This is an interesting one. I actually implemented responding to monitor changes (and thus, responding to DPI changes) in the frontend code. But I obviously did something wrong there. At least it worked back then when we only used Qt Widgets. We need to re-assure how this should be working when using QML I think... 🤔

p.s.: for reference https://stackoverflow.com/a/63943742/386670

christianparpart avatar Mar 17 '24 10:03 christianparpart

@christianparpart I just grabbed the latest msi from https://github.com/contour-terminal/contour/actions/runs/8314676103, because I thought #1487 might fix this and indeed it did.

ferdinandyb avatar Mar 19 '24 08:03 ferdinandyb

@christianparpart I just grabbed the latest msi from https://github.com/contour-terminal/contour/actions/runs/8314676103, because I thought #1487 might fix this and indeed it did.

Thanks for checkin @ferdinandyb :) I am closing this issue then

Yaraslaut avatar Mar 19 '24 09:03 Yaraslaut