The problem:
In X, an old application window (or several), which I closed minutes or hours ago (or even days!), will suddenly appear on top of the currently active window. Sometimes an entire old virtual desktop will overwrite my current open applications.
As I move the mouse over this old overlaid display, the active programs which are actually running will gradually redraw their windows. E.g. if my mouse goes over some widgets such as a text field, a pushbutton, these widgets will get redrawn and overwrite again the old incorrectly drawn framebuffer.
If I switch between two virtual desktops in XFCE, back and forth, the entire screen usually gets redrawn correctly.
Despite this way to resolve it quickly, by switching virtual desktops, the problem can reappear a second later, multiple times. This renders the entire desktop almost completely useless a lot of the time.
Software/hardware:
I have a Debian 9.8 system running XFCE. I don't have this problem with Windows on the same hardware.
01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 710B] (rev a1) Subsystem: Micro-Star International Co., Ltd. [MSI] GK208 [GeForce GT 710B] Kernel driver in use: nouveau Kernel modules: nouveau What I've tried:
Switching to nvidia instead of nouveau.
Upgrading the kernel.
Updating the system multiple times (I've had the problem for a long time), reinstalling packages.
Reinstalling the OS.
xlsclients? Can you test with a different window manager (say,fvwm), and see if it shows the same problem? If not, that would point to a bug in XFCE.