UbuntuBudgie / budgie-extras

Additional Budgie Desktop enhancements for user experience
https://ubuntubudgie.org
GNU General Public License v3.0
175 stars 34 forks source link

Occasional crash of budgie window previews from 'X Window System error' #464

Open solomongrundy6 opened 9 months ago

solomongrundy6 commented 9 months ago

Occasionally, I'll try to alt-tab and find that nothing comes up because the window previews process has crashed or gotten into some other unrecoverable state. If I go into dconf editor, and toggle 'enable-previews' in 'org/ubuntubudgie/budgie-wpreviews' off and then on again, it fixes whatever was wrong or restarts the process and everything is fine again.

In trying to figure out what's going on, I found this in my system journal:

Dec 11 16:20:13 hostname previews_creato[1819]: The program 'previews_creator' received an X Window System error.
                                                This probably reflects a bug in the program.
                                                The error was 'BadWindow (invalid Window parameter)'.
                                                  (Details: serial 7784 error_code 3 request_code 20 (core protocol) minor_code 0)
                                                  (Note to programmers: normally, X errors are reported asynchronously;
                                                   that is, you will receive the error a while after causing it.
                                                   To debug your program, run it with the GDK_SYNCHRONIZE environment
                                                   variable to change this behavior. You can then get a meaningful
                                                   backtrace from your debugger if you break on the gdk_x_error() function.)

This appears to happen every 1-3 days on my system and seem to correspond to when the program breaks. I'm running Solus 4.4 Budgie, and using the window previews package in their repository.