cosmic-epoch icon indicating copy to clipboard operation
cosmic-epoch copied to clipboard

Discord stops accepting mouse input after its window is resized

Open estokes opened this issue 6 months ago • 5 comments

On PopOs 22.04 with the latest cosmic debs as of 2024-08-13 using the scroll wheel in discord causes Xwayland to crash (all X11 windows become just title bars with no content and cannot be closed). Cosmic does not restart Xwayland after that and the only way to restore X11 functionality is to log out and back in.

discord output [181:0813/124034.181059:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [181:0813/124040.253123:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [5:0813/124049.287721:FATAL:electron_browser_main_parts.cc(502)] Failed to shutdown. [181:0813/124049.287622:ERROR:connection.cc(61)] X connection error received. Connection lost to X server ':1'

journal Aug 13 12:40:49 mazikeen cosmic-comp[253704]: Event thread exiting due to connection error Connection reset by peer (os error 104) Aug 13 12:40:49 mazikeen systemd[2165]: app-flatpak-com.discordapp.Discord-255813.scope: Consumed 14.704s CPU time. Aug 13 12:40:50 mazikeen systemd[1]: Started crash report submission. Aug 13 12:40:50 mazikeen whoopsie[256143]: [12:40:50] Using lock path: /var/lock/whoopsie/lock Aug 13 12:40:50 mazikeen systemd[1]: whoopsie.service: Deactivated successfully. Aug 13 12:40:51 mazikeen systemd[1]: Started crash report submission. Aug 13 12:40:51 mazikeen whoopsie[256147]: [12:40:51] Using lock path: /var/lock/whoopsie/lock Aug 13 12:40:51 mazikeen systemd[1]: whoopsie.service: Deactivated successfully. Aug 13 12:41:31 mazikeen cosmic-comp[253704]: Failed to update Xwm stacking order. Aug 13 12:41:31 mazikeen cosmic-comp[253704]: Failed to update Xwm stacking order.

cosmic-comp then outputs Failed to update Xwm stacking order several times per second until it is restarted.

estokes avatar Aug 13 '24 16:08 estokes