System lags and doesn't give any indication of what is wrong when it cannot play event sounds.
Does the session log contain any hints? ~/.xsession-errors
Doesn't look like it. Let me give you some more information about my set up. Here are the steps I took: - Reset the system in question and waited at the login screen - Logged into another console and deleted the .xsession-errors - Turned off the pulseaudio server on the remote machine (this is what causes the sounds not to play) - Logged into xfce ("Enable event sounds" is off now) - Right-click on the desktop to get to settings manager, appearance, settings, and check "Enable event sounds" - Right-click on the desktop (this is where it lags) - Uncheck "Enable event sounds" - Right-click on the desktop (there is no lag now)
> this is where it lags Please describe what exactly happens. In case the problem is specific to xfdesktop (the component which manages the desktop area), check if the following command generates any output when you trigger the bug: xfdesktop --quit; xfdesktop
It's not specific to the desktop. Bringing up a right-click menu almost anywhere will trigger it. Other actions as well such as creating a new xfce4-terminal window, switching terminal tabs, alt+tab (with compositor and thumbnails on). Triggering the condition running xfdesktop did not produce any output. When I say lag, I mean the system becomes unresponsive to input. Triggering the condition, such as right-clicking in Thunar, makes it not respond to click or keyboard, and I cannot switch to another app (by clicking or by alt+tab) until the menu comes up after a few seconds. During this delay, other apps are still running and updating fine (as shown by running top -d 00.1).
Event sounds are properly set up on your system, correct? It requires a GTK module to be loaded, but it may somehow trigger your bug in case of failure. $ echo $GTK_MODULES canberra-gtk-module Check if unloading the module helps: $ xfdesktop --quit; GTK_MODULES= xfdesktop
That was somewhat effective. Right-clicking the desktop menu no longer triggers a lag. But I notice that switching tabs in xfce4-terminal still causes lag. This is both by clicking on the tab in the tab bar and by Alt+2. This happens only when the "Enable input feedback sounds" is checked.
So, this is not a bug in Xfce, but somewhere in the GTK toolkit or libcanberra. For the terminal make sure that all terminal windows are closed before starting it again without the module.
Yes, closing and re-opening the terminal made it not lag. I'll report this to the libcanberra project. Thanks for looking through this.