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

Removal of BlobLeases halts rendering of entire terminal #5422

Open
xaviergmail opened this issue May 14, 2024 · 0 comments
Open

Removal of BlobLeases halts rendering of entire terminal #5422

xaviergmail opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xaviergmail
Copy link

xaviergmail commented May 14, 2024

Link to original GH discussion

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

wezterm 20240128-202157-1e552d76

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

08:52:46.213  ERROR  wezterm_gui::termwindow::render::paint > paint_pass failed: render_backgrounds: frames.current_frame.lease.get_data: Io error in BlobLease: No such file or directory (os error 2): No such file or directory (os error 2)

To Reproduce

Nuclear approach: rm -rf $TMPDIR/wezterm-blob-lease-*
Organic approach (on macOS): Leave WezTerm open for a few days with the laptop asleep, it'll eventually go blank

Configuration

I'm not sure whether each BlobLease is an individual frame or if they're due to changing hsb, but this is what I have in my config. Full config in the original discussion

config.background = {
  {
    source = {
      File = { path = assets .. "/blob_blue.gif", speed = 0.3 },
    },
    repeat_x = "Mirror",
    height = "100%",
    opacity = 0.10,
    hsb = {
      hue = 0.9,
      saturation = 0.9,
      brightness = 0.8,
    },
  },
}

Expected Behavior

Ideally, I'd expect the BlobLease(s) to be renewed when they are invalidated. Alternatively, having the exception caught and handled without blanking the entire terminal would be an acceptable solution.

Logs

08:52:43.531  ERROR  wezterm_gui::termwindow::render::paint > paint_pass failed: render_backgrounds: frames.current_frame.lease.get_data: Io error in BlobLease: No such file or directory (os error 2): No such file or directory (os error 2)
08:52:44.020  ERROR  wezterm_gui::termwindow::render::paint > paint_pass failed: render_backgrounds: frames.current_frame.lease.get_data: Io error in BlobLease: No such file or directory (os error 2): No such file or directory (os error 2)
08:52:44.341  ERROR  wezterm_gui::termwindow::render::paint > paint_pass failed: render_backgrounds: frames.current_frame.lease.get_data: Io error in BlobLease: No such file or directory (os error 2): No such file or directory (os error 2)
08:52:44.621  ERROR  wezterm_gui::termwindow::render::paint > paint_pass failed: render_backgrounds: frames.current_frame.lease.get_data: Io error in BlobLease: No such file or directory (os error 2): No such file or directory (os error 2)
08:52:46.131  ERROR  wezterm_gui::termwindow::render::paint > paint_pass failed: render_backgrounds: frames.current_frame.lease.get_data: Io error in BlobLease: No such file or directory (os error 2): No such file or directory (os error 2)
08:52:46.213  ERROR  wezterm_gui::termwindow::render::paint > paint_pass failed: render_backgrounds: frames.current_frame.lease.get_data: Io error in BlobLease: No such file or directory (os error 2): No such file or directory (os error 2)

Anything else?

No response

@xaviergmail xaviergmail added the bug Something isn't working label May 14, 2024
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

1 participant