Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wezterm window glitches and lags behind cursor when moved between 2 windows on 150% window scale #2907

Open
anzepintar opened this issue Dec 30, 2022 · 3 comments
Labels
bug Something isn't working Windows Issue applies to Microsoft Windows

Comments

@anzepintar
Copy link

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

Windows, scale: 150%
display 1: 2560 x 1440
display 2: 1680 x 1050

WezTerm version

20221227-101049-8b05fdba

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

Wezterm window glitches and lags behind cursor when moved between 2 windows on 150% window scale. The issue is not present on 100% scale or with any other programs I tried.
https://user-images.githubusercontent.com/46792251/210055956-e780424b-3439-4618-a684-72b76e1dd68f.mp4

To Reproduce

Have 2 different screens, side by side, with different resolutions and windows scale at 150%. Move Wezterm window between them.

Configuration

local wezterm = require 'wezterm'

return {
font = wezterm.font 'Fira Code',
default_prog = { 'C:\Program Files\PowerShell\7\pwsh.exe', '-NoLogo' },
color_scheme = "Dracula (Official)",
harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' },
-- Start-Process wezterm pwsh -Verb runAs

use_fancy_tab_bar = false,

window_frame = {
-- The font used in the tab bar.
-- Roboto Bold is the default; this font is bundled
-- The size of the font in the tab bar.
-- Default to 10. on Windows but 12.0 on other systems
font_size = 10.0,

-- The overall background color of the tab bar when
-- the window is focused
active_titlebar_bg = '#333333',

-- The overall background color of the tab bar when
-- the window is not focused
inactive_titlebar_bg = '#333333',

},

colors = {
tab_bar = {
inactive_tab_edge = '#575757',
},
},
ssh_domains = {},
}

Expected Behavior

No response

Logs

No response

Anything else?

No response

@anzepintar anzepintar added the bug Something isn't working label Dec 30, 2022
@anzepintar
Copy link
Author

@anzepintar
Copy link
Author

I found a temporary workaround. In wezterm-gui.exe properties you need to change the High DPI setting to
Program DPI: [ ].
Override High DPI Scaling: [ x ] and choose Application or System, but not System Enhanced.

image

@wez
Copy link
Owner

wez commented Feb 9, 2023

Hmm, my understanding is that this bit of the manifest should make that setting be the default:
https://github.com/wez/wezterm/blob/main/assets/windows/manifest.manifest#L8-L10
I wonder if there is something else that needs to be added to the manifest?

@wez wez added the Windows Issue applies to Microsoft Windows label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Windows Issue applies to Microsoft Windows
Projects
None yet
Development

No branches or pull requests

2 participants