wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Initial font size is wrong when launched on external display

Open zasdaym opened this issue 2 years ago • 2 comments

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

macOS

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

No response

WezTerm version

20230408-112425-69ae8472

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

No, and I'll explain why below

Describe the bug

The initial font size is wrong when launching on an external display (27 inches, 2K resolution). After doing one of these actions the font size is corrected:

  1. Resizing the window
  2. Changing the font size via keyboard shortcut

To Reproduce

  1. Use the configuration provided below
  2. Open on a external display
  3. The font size will be too big
  4. Try resizing the window, the font size will be corrected

Configuration

local wezterm = require 'wezterm'

return {
  font = wezterm.font("Berkeley Mono"),
  font_size = 14,
  front_end = "WebGpu",
  hide_tab_bar_if_only_one_tab = true,
  initial_cols = 180,
  initial_rows = 50,
}

Expected Behavior

The font size is correct when launched on an external display.

Logs

No response

Anything else?

No response

zasdaym avatar Jun 26 '23 01:06 zasdaym

related to:

  • https://github.com/wez/wezterm/issues/2958
  • https://github.com/wez/wezterm/issues/3575
  • https://github.com/wez/wezterm/issues/3396
  • https://github.com/wez/wezterm/issues/1983

wez avatar Jul 10 '23 15:07 wez

Please try the latest nightly build and let me know if this is still an issue!

wez avatar Feb 08 '24 12:02 wez

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Feb 22 '24 13:02 github-actions[bot]

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.

github-actions[bot] avatar Mar 24 '24 03:03 github-actions[bot]