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 doesn't open if it's the first window #5258

Closed
jabuxas opened this issue Apr 2, 2024 · 6 comments
Closed

Wezterm doesn't open if it's the first window #5258

jabuxas opened this issue Apr 2, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@jabuxas
Copy link

jabuxas commented Apr 2, 2024

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

Linux Wayland

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

Hyprland, built from branch HEAD at commit c5e28ebcfe00a510922779b2c568cfa52a317445 (props: bump ver 0.37.1).
Date: Sat Mar 16 14:51:49 2024
Tag: v0.37.1

flags: (if any)

WezTerm version

wezterm 20240325-093507-e5ac32f2

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 doesn't appear on screen if it's the first terminal being opened, but it opens if I for example open kitty first and then wezterm.

To Reproduce

  1. Start hyprland
  2. start wezterm
  3. wezterm doesn't start.
  4. open kitty
  5. open wezterm, wezterm now opens

Configuration

no config

Expected Behavior

Wezterm opens normally.

Logs

It doesn't log, the process starts but doesn't log anything

Anything else?

It might have to do with hyprland, i'm not sure how to diagnose it. It happens both on my desktop with Gentoo and my laptop with Arch.

@jabuxas jabuxas added the bug Something isn't working label Apr 2, 2024
@RangHo
Copy link

RangHo commented Apr 3, 2024

I assume this issue is related to #4708 and #5103.

Affected compositors do not send a window initialization message with (0, 0) as the window size, and this list includes Hyprland v0.37.
Forcing wezterm to use XWayland is a temporary workaround, though.

@jabuxas
Copy link
Author

jabuxas commented Apr 3, 2024

it definitely is the same problem, though i'd assume its something on hyprland side and not wezterm then, right?

opening kitty first then wezterm then wezterm works though.. for some odd reason (without the enable_wayland = false)

@RangHo
Copy link

RangHo commented Apr 3, 2024

It is on wezterm, as it apparently does not (well, as far as I understand, that is) respond correctly to a window sizing and positioning message. Check out the explanation here: #5197 (comment)

I don't have much wayland experience to contribute so I'm waiting for a fix as well 😂

@woojiq
Copy link

woojiq commented Apr 19, 2024

Duplicate of #5103

@wez
Copy link
Owner

wez commented May 5, 2024

Duplicate of #5103

@wez wez marked this as a duplicate of #5103 May 5, 2024
@wez wez closed this as completed May 5, 2024
Copy link
Contributor

github-actions bot commented Jun 5, 2024

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 github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants