镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[Bug]: Preview PDF not updated #1686

Open

Description

@Scofield626

Current Behavior

The changed PDF in Files Preview blocks (or via wsh view <pdf>) is not updated, showing the old contents.
The preview seems to cache the old one. Even when I deleted the pdf and re-built a new one, the old one is displayed.
Only when I quit the Wave and re-launch it, the PDF preview is updated.

Expected Behavior

The preview show the latest file content.

Steps To Reproduce

A quick way to reproduce:

  1. compile a tex file to a pdf.
  2. make text changes and recompile
  3. check the PDF preview

Wave Version

v0.10.4

Platform

macOS

OS Version/Distribution

Sonoma 14.7.2

Architecture

arm64

Anything else?

No response

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later

Activity

  1. esimkowitz commented on Jan 6, 2025

    @esimkowitz
    Contributor

    we don't currently have file watchers implemented for the preview widget so changes you make in an app outside of Wave will not be reflected until you open the preview again. We're looking to address this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions