JetBrains / JetBrainsRuntime

Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
GNU General Public License v2.0
1.32k stars 196 forks source link

JBR-7516 Wayland: DamageList_AddList: Assertion `list != add' failed #441

Closed mkartashev closed 2 months ago

mkartashev commented 2 months ago

JBR-7516 Wayland: DamageList_AddList: Assertion `list != add' failed

The main problem was that both list and add were NULL at the time of the check. This is normal and the check was corrected to account for such a possibility.

However, since buffers can be re-used for a different surface of the same java.awt.Window (which will likely have the same size after the second setVisible(true)), it's important that those buffers do not retain any residual information from their previous "life".