I tried to restore some files from trash but it just closes and the files aren't restored, they're still in the trash. The empty trash function works, however.
It is a bug: restore from trash fails
Was confirmed and as i see fixed by Jeremy Wootten.
I was able to compile Jeremy's branch and this fixes the bug for me.
Please read his comment...
Maybe someone else can test this and give an answer to the bug report.