Skip to content

prewview-tui with kitty: Video Preview stays frozen #2130

Description

@Carlisle96

I updated to the newest version, with newest plugins and the bug appeared. Previous version did not have this problem.

When previewing a video file it previews fine. When then selecting a different file ( text file with text preview or a folder with tree preview ) it keeps showing the frozen video preview.
Selecting a different video works perfectly fine.

The first time after the frozen video, when selecting a PDF or PNG/JPG it does not show the content but rather nothing ( the frozen video disappears, it "fixes" it ). The next 'ANYTHING' you select shows the preview correctly.

Environment details

  • Operating System: Fedora 44
  • Desktop Environment: Hyprland
  • Terminal Emulator: Kitty
  • Shell: Zsh
  • [ ] Custom desktop opener (if applicable):
  • Program options used: nnn -d -P p
  • Configuration options set: NNN_PLUG='p:preview-tui'
  • Plugins are installed
  • Issue exists on nnn master

Exact steps to reproduce the issue

  1. Open NNN.
  2. Preview a video. ( Preview works )
  3. Preview a folder or text file. ( Keeps showing frozen video )
  4. Preview a pdf or picture file. ( Empty preview )
  5. Preview Anything ( Preview works )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions