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

The window overflows bottom of screen #6318

Open
metal3d opened this issue Oct 24, 2024 · 2 comments
Open

The window overflows bottom of screen #6318

metal3d opened this issue Oct 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@metal3d
Copy link

metal3d commented Oct 24, 2024

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

Linux Wayland

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

Gnome Shell (Wayland) - Fedora 40

WezTerm version

20241020_002442_2381b8ac

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

When I maximize the window, it overflows the bottom of the screen (like it is the size of the title bar). So, the last line of the terminal is not visible.

image

If I don't set a font size, or not using the shortcut to reduce the font size, it is "OK".

To Reproduce

Set a "font size" in the configuration

Configuration

local wezterm = require("wezterm")
local config = {}
config.font_size = 10
config.hide_tab_bar_if_only_one_tab = true

-- necessary and I don't know why
config.default_prog = { "bash", "-i" }

config.window_decorations = "RESIZE"
config.enable_wayland = true

return config

Expected Behavior

Actually, IMHO, the font size should not change the window scaling, only the "font". And so, the last line will not overlap the screen.

Logs

No response

Anything else?

I love this terminal 😄

@metal3d metal3d added the bug Something isn't working label Oct 24, 2024
@metal3d
Copy link
Author

metal3d commented Oct 24, 2024

Ho and it seems it overflows on the right too

@jankatins
Copy link
Contributor

I can confirm this with config.window_decorations = "INTEGRATED_BUTTONS" as well
image
-> there should ba slight lighter grey under the last line similar to what is on the left side. E.g. this is in windowed mode:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants