Hi @tl...@chromium.org,
thanks in advance for your time and guidance,this fixescrashing when you drag windows between monitors on Hyprland.
We were destroying the old color profile object after creating the new one,but the Wayland protocol says to destroy old ones first.
for example on hyperland it crashed with:
```
google-chrome-stable --ozone-platform=wayland
[25566:25566:1003/120242.562772:ERROR:ui/ozone/platform/wayland/host/wayland_wp_image_description.cc:219] Incomplete image description info from compositor.
[25566:25566:1003/120242.562831:ERROR:ui/ozone/platform/wayland/host/wayland_wp_image_description.cc:219] Incomplete image description info from compositor.
[25566:25566:1003/120243.276944:ERROR:ui/ozone/platform/wayland/host/wayland_wp_image_description.cc:219] Incomplete image description info from compositor.
[25566:25566:1003/120244.619696:ERROR:ui/events/platform/wayland/wayland_event_watcher.cc:47] libwayland: wl_display#1: error 0: invalid object 63
[1003/120244.631334:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found
[1003/120244.631782:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found
Trace/breakpoint trap (core dumped) google-chrome-stable --ozone-platform=wayland
```
they fixed it on their side: https://github.com/hyprwm/Hyprland/pull/11877
still think its worth, fixing it on our end in the first place!
let me know if you want me to address anything.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Thanks for the detailed context
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[Wayland] Fix crash when moving windows between monitors with color management
Chrome crashes when moving windows between monitors on Wayland
compositors that support the wp_color_management_v1 protocol.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |