-
-
Notifications
You must be signed in to change notification settings - Fork 755
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
Initial dimensions on windows are not default and not configurable #1381
Comments
If I run Are you perhaps running some kind of window manager-y thing that might tweak the window size? You can debug by setting It should log info about resizing to stderr; this is what I see:
|
Got it. Problem is 125% scaling. Window size matches with the points for 80x24 with 100% scaling, but doesn't factor the os setting: Definitely can't give up that scaling - can I convince you to incorporate the following in your app manifest? They've been lying to you this whole time. Log from below indicating that 96 is being presented by the OS, while 120 is what you should have been told.
|
Hmm, the manifest is set to per-monitor dpi awareness: https://github.com/wez/wezterm/blob/main/assets/windows/manifest.manifest aee3778 was the last change that touched that code, and I recall changing scaling as part of testing that. I think that 827adf3 or a similar more recent change regressed something with this. |
This is fixed in the nightly build; give it about 40 minutes or so to build out for Windows and let me know how you get on! |
Great job, looks good after nightly download. Feel free to close unless you want to wait for a stable. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
What Operating System(s) are you seeing this problem on?
Windows
WezTerm version
20211208-072952-b262568f
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
Launching wezterm on windows ignores initial_rows/cols. It starts with a square-ish window, with 53x15 dimensions and 886x800 pixels. With or without config, with or without setting those values in it, despite the docs indicating that 80x24 is the start dimensions, and that the implication of the configs is that they will affect the startup window.
To Reproduce
Start wezterm on windows.
The window will appear with the above dimensions and row/col counts
Configuration
no config
Expected Behavior
The default values of 80x24 should be applied without a config.
The modified values when supplied in a config file should be applied in those cases.
Logs
13:09:33.875 INFO wezterm_mux_server_impl::local >setting up C:\Users\ggensure.local/share/wezterm\gui-sock-37556
13:09:34.924 WARNING window::os::windows::window >EGL init failed Config says to avoid EGL, fall back to WGL
13:09:35.150 WARNING wezterm_term::terminalstate >unhandled DecPrivateMode SetDecPrivateMode(Unspecified(9001))
13:09:35.161 INFO wezterm_gui::termwindow > OpenGLinitialized! NVIDIA GeForce RTX 3090/PCIe/SSE2 4.5.0 NVIDIA 497.09 is_context_loss_possible=true wezterm version: 20211208-072952-b262568f
Anything else?
Initial window size with no config and some helpful counters. Last char omitted to not incur line feed.
The text was updated successfully, but these errors were encountered: