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
GNOME 45.2 Maximized/Fullscreen startup broken on Wayland #7465
Comments
Are you saying the Alacritty window is invisible, or is it creating an invisible window in addition to the Alacritty window? |
I'm not sure what your question means, but here's what I could see (or actually not see):
EDIT: From more tests requested by @chrisduerr on IRC, problem doesn't exist if window is maximized or fullscreen toggle by the Window Manager or through Alacritty's keybinds: it's only through the |
which gnome version are you using and could you bisect? It works just fine for me regardless of startup mode. |
This is gnome bug https://gitlab.gnome.org/GNOME/mutter/-/issues/3229 |
This patch should workaround the issue, though, I won't add it because I'm not adding workarounds for bugs in every compositor. diff --git a/alacritty/src/event.rs b/alacritty/src/event.rs
index 3b3d8297..ccfbecd3 100644
--- a/alacritty/src/event.rs
+++ b/alacritty/src/event.rs
@@ -1413,8 +1413,7 @@ impl input::Processor<EventProxy, ActionContext<'_, Notifier, EventProxy>> {
self.ctx.update_cursor_blinking();
self.on_focus_change(is_focused);
},
- WindowEvent::Occluded(occluded) => {
- *self.ctx.occluded = occluded;
+ WindowEvent::Occluded(_) => {
},
WindowEvent::DroppedFile(path) => {
let path: String = path.to_string_lossy().into(); |
I just put in config dimensions = { columns = 100, lines = 100} insted of starup_mode = "Maximized". Working well for a while. |
happened on GNOME wayland for me too. but i was using tiling extension so i just commented it out |
Also affected here. Workarround of |
I'm not sure what you want, it's a bug in gnome, it has a PR in gnome to solve that. |
The fedora package applied suggested workaround patch, so it'll propagate in a next few days. |
@leleobhz You can just run alacritty --print-events --ref-test -vvv with no dimensions set in config, maximize the window manually and see in the STDOUT what column and line number it arrived at, than specify just that. This gives you the maximized window with the correct font size from your config ATM. |
For bug reports, the following information can help speed up the process. Please
describe the bug that you have found and what you would expect to happen
instead.
System
OS: Linux
Version: 0.13.0
Gnome on Wayland
Logs
No troubleshooting section explaining how to gather debug logs (although I'm not sure what they'd show here).
Steps to reproduce:
On Gnome/Wayland, I could reproduce the issue with a minimal config file only containing only this:
Note that the issue also happens when setting it to
Fullscreen
.Documentation also mentions a
SimpleFullscreen
option on https://alacritty.org/config-alacritty.html but trying to set this throw a configuration error and this option seems to not be recognized (anymore?), so I don't know if the documentation is wrong, or alacritty should recognize it and doesn't.EDIT: This is a regression from 0.12.x, I just migrated the config and found out this issue while it had no problem right before.
EDIT2: Found out that
SimpleFullscreen
in only for mac, is there a way for the error message to specify it; I guess doc can also be updated, although I'm not sure what's the best way to show this information there.The text was updated successfully, but these errors were encountered: