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
Alacritty blinks on resize #869
Comments
Here is also a movie of another blinking behavior. Seems like alacritty fails to redraw content fast enough during resizing. gnome-terminal looks good.
|
I also experience this issue. OS: Arch Linux. |
@omtcyfz FTR, Xorg is neither a WM nor a compositor. Given that you use KDE, your compositing WM is likely to be KWin, but the usage of a compositor actually should prevent this issue, so it looks like you have compositing disabled or misconfigured in KWin. |
@intelfx I'm using compton (which i believe is a compositor) and I3 and I still have the issue. |
Here's a video recording of this with i3 and compton (and Xorg): Without compton the situation is similar, except that the window is black instead of transparent. I doubt there's anything do be done here, though. However, termite handles this better in that it seems to not be as eager with redrawing itself and only doing so when the number of columns or lines that can fit into the window change. |
So I've looked into this and it seems directly related to #969. When using |
Can confirm that this issue is basically non-existant with Following is a working patch for the scrollback branch: diff --git a/src/window.rs b/src/window.rs
--- a/src/window.rs
+++ b/src/window.rs
@@ -190,7 +190,7 @@
Window::platform_window_init();
let window = WindowBuilder::new()
.with_title(title)
- .with_transparency(true);
+ .with_transparency(false);
let context = ContextBuilder::new()
.with_vsync(true);
let window = ::glutin::GlWindow::new(window, context, &event_loop)?; |
Note as specified in #969 that this only affects High Sierra (and possibly Sierra) only. El Capitan performs great with transparency enabled. |
This has been fixed in winit 0.15.1. |
Tested on macos 10.13.5 now, window resizing feels greatly improved! dragging the corner to resize does make the window disappear temporarily as it always has, but performance is better overall. |
That's nice to hear! This issue was specifically about the window disappearing on X11, which has been fixed. I'm not sure if the MacOS behavior is tracked somewhere else. |
Hmm. on my 2017 MacBook (I built master earlier yesterday) it is currently resizing very very sluggishly. Still gotta disable transparency to have resizing not sluggish. So maybe I was too quick on the draw with that report. Both machines tested on 10.13.5 though. |
Yeah, that is tracked in #969, macos definitely still has some issues with resizing. Edit: Just noticed you created that issue, so you probably already know. :D |
OS: Arch Linux, openSUSE
DE: KDE
Compositor: KWin
Display Server: Xorg
Resizing Alacritty causes weird flickering
check this video:
(epilepsy warning)
example.zip
The text was updated successfully, but these errors were encountered: