Open matclab opened 1 year ago
Trying in venv with exact dependencies from requirements.txt doesn't solve the problem.
Modifying getWindow to save image show that the grabWindow
function return an all black image.
def getWindow(self):
res = self._screen.grabWindow(0)
res.save("/tmp/a.png", "PNG")
return res
Note that it sometimes work, but I didn't find a common scenario. I'll try to investigate more.
I tried with and without compositor (picom) but it doesn't improve the situation.
On recent Arch linux with i3wm window manager I often get
ERROR: Unable to read text from image, did not copy
.I have :