First and foremost: I'm still an emacs noob, so please consider me misunderstanding things.
I'm currently experience weird rendering errors when using child frames in emacs. This problems is consistent over many packages. Whenever a package creates a child frame, it get's rendered poorly.
Another package I've the same experience with is lsp-ui
or specifially lsp-ui-doc
. For the sake of making sure no other package is causing this I'm using this minimal setup. The artifacts still remain:
To me it looks like that the size the child frame should have is the portion thats being displayed + the black artifact (or grey in the lsp-ui pictures. But somehow it only displays a portion of the content correctly and blanks out the rest. You can see that the actual content in the portion being displayed is cut off.
I have to note that this doesn't happen 100% of times. But about 80% I guess. Sometimes the frame is displayed correctly.
I have absolutely no idea what is causing this. One thing that might be of interest is my setup:
OS: Windows 10 (using WSL) Emacs: 26.3 (running in Ubuntu 18.04 LTS) X Server: VcXsrv 1.20.5.1 (But I've also tried Xming 6.9.0.31 - same result)
I've trouble finding any information about this online. There's at least one person having the same issue using company-box
. He's also launching emacs using wsl and VcXsrv, which makes me think this may be related to WSL/VcXsrv.
I'd appreciate any help.