[Tip] Correcting an error does not close the window in sushi (nautilus file previewer)

Talking to colleagues from the GNOME Brazil group on Telegram, they confirmed to have the same bug that happened to me in the most recent versions, the sushi is reopening the window by pressing ESC, q, or clicking the close button when previewing video files.
I posted a temporary solution on the sushi gitlab, if you want to test just access the link and download the attachment that is in my comment.


then copy to /usr/share/sushi, just check if the problem has been solved.
For those who don’t know it yet, sushi is a file previewer that can be accessed with the “space bar” in most files on nautilus.

i hope it helps you, works fine with Wayland session.

Link bug gitlab.