Conversation
|
I would like to confirm, after applying this patch that…
Thank you!!!! |
|
@sukima I'm not sure why you have so many things fixed if this PR literally changed nothing compared to them. Probably an oversight. |
|
It is possible that a |
9f5def3 to
d2e9ff0
Compare
|
This PR solves major issues with MacOS 14 Sonoma that was released today. Alacritty 0.12.2 doesn't work at all, it hangs. The current master branch makes the first line of text appear partially behind the title. Selecting text with the mouse selects on the line above the expected one. Alacritty build from this PR is working properly for me. Not sure if we need a bug to track Sonoma issues, but I believe a new release is needed very soon. |
|
did mac broke things so badly? We have the same macOS code for 4 years, I'm pretty sure we're not the only one affected by that. |
|
Everything else appears to be working correctly, including the standard Terminal app. I've opened a ticket #7242 specifically for that issue. |
|
Hm, I think it's because Apple changed the way resizes work and the way viewport sizes are being reported, and given that winit used different thing it sort of broke stuff. Out of curiousity, could check with I question, because maybe we should really back port and do a patch release of the winit itself, and maybe even alacritty? |
|
I'm sure it's that issue. |
|
Thanks, I'll try to see whether we can backport that, but maybe not into alacritty itself. At least the rest of the ecosystem could have the fix without waiting on the update of winit. |
|
I reverted rust-windowing/winit#2876 on a local copy of winit and used it with the code from this PR. It triggered both issues I reported in #7242, the overflow panic in the Windowed mode and the lines behind the title in the Maximized mode. So apparently the backport would be very useful, considering that users are updating to MacOS 14 en masse after the release. |
dfbb01d to
9d3cea5
Compare
|
Please don't forget to update copypasta version in the commit title. |
9d3cea5 to
67382eb
Compare
1f8d62b to
c472fc9
Compare
|
With this last version of pr only upper left quarter of a terminal window is clickable (beam cursor, can select text, instead of regular cursor and unable to select text in other three quarters). |
|
@tbozan could you be more specific on that matter? Which platform, compositor, etc? |
|
Sorry about that. Latest mesa and linux kernel, picom compositor. |
|
@tbozan could you provide the |
|
When moving the cursor or clicking on upper left quarter i'm getting the usual events: With other three quarters nothing happens when moving the cursor, only when i click on the window i get: One pair of |
|
Could you also paste the log |
|
Does it happen with |
|
Good catch. When i comment out window.dimensions and restart alacritty everything works, even when i manually resize window. |
The cursor hittest was not reloaded on window size changes, only when `Window::request_inner_size` was called leading to regions of the window being not clickable. Links: alacritty/alacritty#7220
The cursor hittest was not reloaded on window size changes, only when `Window::request_inner_size` was called leading to regions of the window being not clickable. Also, don't try to apply hittest logic when user never requested a hittest. Links: alacritty/alacritty#7220
The cursor hittest was not reloaded on window size changes, only when `Window::request_inner_size` was called leading to regions of the window being not clickable. Also, don't try to apply hittest logic when user never requested a hittest. Links: alacritty/alacritty#7220
The cursor hittest was not reloaded on window size changes, only when `Window::request_inner_size` was called leading to regions of the window being not clickable. Also, don't try to apply hittest logic when user never requested a hittest. Links: alacritty/alacritty#7220
The cursor hittest was not reloaded on window size changes, only when `Window::request_inner_size` was called leading to regions of the window being not clickable. Also, don't try to apply hittest logic when user never requested a hittest. Links: alacritty/alacritty#7220
c472fc9 to
54d1210
Compare
|
@tbozan your issue should be fixed now. Thanks. |
54d1210 to
607f32f
Compare
Fixes alacritty#7236. Fixes alacritty#7201. Fixes alacritty#7146. Fixes alacritty#6848. Fixes alacritty#3601. Fixes alacritty#3108. Fixes alacritty#2453.
607f32f to
6372d41
Compare
|
Edit: Apologies, found the issue ( #7607 ) which is fixed by #7739 After this commit, Alacritty hangs if moved off my primary monitor. |
Fixes #7236.
Fixes #7201.
Fixes #6848.
Fixes #3601.
Fixes #3108.
Fixes #2453.