-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slow preview cleaning after quit #64
Comments
ctpvquit checks if it needs to kill ctpv every second, hence the delay. I think I should change the frequency. A more proper fix is to replace |
ok so i've removed the
to what you said
which turns out that if you get unlucky which i did in the second try while i was completely testing it manually at first, you could get stuck with a permanently lingering preview when i saw that i changed the line also if you remove nonetheless this issue isn't really important and already has a workaround for lf >= r27 as you said so feel free to close the issue if you want :) |
hey so there is this issue that when you close lf using q keymap which defaults to quit, the preview lingers for too much time after the exit
video preview showcasing the problem :
https://i.imgur.com/2gBZaxg.mp4
some system information :
os : archlinux
ctpv version from aur(yay) : local/ctpv-git r257.930535c-1
lf config files : https://github.com/NotMurPh/DotFiles/tree/main/StarryNight/home/murphy/.config/lf
ctpv config files : https://github.com/NotMurPh/DotFiles/tree/main/StarryNight/home/murphy/.config/ctpv
zshrc file contaning lfcd : https://github.com/NotMurPh/DotFiles/blob/main/StarryNight/home/murphy/.config/zsh/.zshrc
i think what happens is that ctpv doesn't run its cleaner on-quit and it causes images to only get cleaned after ctpv fully closes i am currenlty using this work around in my lfrc
i couldn't use
ctpv -c $id
because when on-quit runs it refreshes the lf which causes ctpv to redraw the preview so its basically useless herethanks in advance for your time :)
The text was updated successfully, but these errors were encountered: