Skip to content

cuti fails to render in preview when partialRendering is enabled on long documents #2280

@ScrapW

Description

@ScrapW

Is there an existing issue for this?

  • I have searched the existing issues

Platform

x64 Windows (win32-x64, Most Common)

Editor

VS Cod(e,ium)

Editor Version

Version: 1.106.2 (system setup)
Commit: 1e3c50d64110be466c0b4a45222e81d2c9352888
Date: 2025-11-19T16:56:50.023Z
Electron: 37.7.0
ElectronBuildId: 12781156
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Describe the bug

At normal zoom, 测试3 is not bolded.
It only becomes bold if the document is shortened or the preview is zoomed out.

#import "@preview/cuti:0.4.0": *
#show: show-cn-fakebold

// #set page(height: 60pt)

*测试1*
#pagebreak()
*测试2*
#pagebreak()
*测试3*
Image

Server Logs

[2025-11-25T07:47:39Z INFO  tinymist::cmd::lsp] tinymist version information: [["Build Timestamp", "2025-11-22T10:35:34.935798600Z"], ["Build Git Describe", "v0.14.2"], ["Commit SHA", "3c5bba0ad44ef49b80a285d96f49669c0dce33af"], ["Commit Date", "None"], ["Commit Branch", "None"], ["Cargo Target Triple", "x86_64-pc-windows-msvc"], ["Typst Version", "0.14.0"], ["Typst Source", "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist/v0.14.0-rc1#4a3335c4a1ec26aa0cb3c747ae01ebc061c7832f"]]
[2025-11-25T07:47:39Z INFO  tinymist::cmd::lsp] starting language server: LspArgs { mirror: MirrorArgs { mirror: "", replay: "" }, font: CompileFontArgs { font_paths: [], ignore_system_fonts: false } }
[2025-11-25T07:47:39Z INFO  sync_ls::server] handling initialize - (0)
[2025-11-25T07:47:39Z INFO  tinymist::config] ServerState: config update_by_map {}
[2025-11-25T07:47:39Z INFO  tinymist::config] Server: running lsp in full mode
[2025-11-25T07:47:39Z INFO  tinymist::config] ServerState: config update_by_map {"colorTheme":"dark","compileStatus":"enable","completion":{"postfix":true,"postfixUfcs":true,"postfixUfcsLeft":true,"postfixUfcsRight":true,"symbol":"step","triggerOnSnippetPlaceholders":false},"configureDefaultWordSeparator":"disable","copyAndPaste":"enable","customizedShowDocument":true,"delegateFsRequests":false,"dragAndDrop":"enable","exportPdf":"never","exportTarget":"paged","formatterIndentSize":2,"formatterMode":"typstyle","formatterPrintWidth":120,"formatterProseWrap":false,"lint":{"enabled":false,"when":"onSave"},"onEnterEvent":true,"onPaste":"$root/assets","outputPath":"","preview":{"cursorIndicator":false,"fontPaths":[],"invertColors":"never","partialRendering":true,"pinPreviewFile":false,"refresh":"onType","scrollSync":"onSelectionChange","sysInputs":{},"systemFonts":true},"previewFeature":"enable","probedServerPath":"c:\\Users\\username\\.vscode\\extensions\\myriad-dreamin.tinymist-0.14.2-win32-x64\\out\\tinymist.exe","projectResolution":"singleFile","renderDocs":"enable","semanticTokens":"enable","showExportFileIn":null,"statusBarFormat":"{compileStatusIcon} {wordCount} [{fileName}]","supportExtendedCodeAction":true,"supportHtmlInMarkdown":true,"syntaxOnly":"auto","systemFonts":true,"trace":{"server":"off"},"triggerParameterHints":true,"triggerSuggest":true,"triggerSuggestAndParameterHints":true,"typingContinueCommentsOnNewline":true,"typstExtraArgs":[]}
[2025-11-25T07:47:39Z INFO  tinymist::server] ServerState: initialized with config Config { const_config: ConstConfig { position_encoding: Utf16, cfg_change_registration: true, notify_will_rename_files: true, tokens_dynamic_registration: true, tokens_overlapping_token_support: false, tokens_multiline_token_support: false, doc_line_folding_only: true, doc_fmt_dynamic_registration: true, locale: Some("en") }, const_dap_config: ConstDapConfig { path_format: Path, lines_start_at1: true, columns_start_at1: true }, delegate_fs_requests: false, customized_show_document: true, has_default_entry_path: false, notify_status: true, support_html_in_markdown: true, extended_code_action: true, development: false, syntax_only: false, color_theme: Some("dark"), entry_resolver: EntryResolver { project_resolution: SingleFile, root_path: None, roots: ["e:\\issue"], entry: None, typst_toml_cache: {} }, lsp_inputs: {"x-preview": "{\"version\":1,\"theme\":\"dark\"}"}, periscope_args: None, typst_extra_args: Some(TypstExtraArgs { root_dir: None, entry: None, inputs: {}, font: CompileFontArgs { font_paths: [], ignore_system_fonts: false }, package: CompilePackageArgs { package_path: None, package_cache_path: None }, features: [], pdf_standard: [], ppi: 144.0, no_pdf_tags: false, creation_timestamp: None, cert: None }), semantic_tokens: Enable, completion: CompletionFeat { trigger_on_snippet_placeholders: false, trigger_suggest: true, trigger_parameter_hints: true, trigger_suggest_and_parameter_hints: true, symbol: Some(Step), postfix: Some(true), postfix_ufcs: Some(true), postfix_ufcs_left: Some(true), postfix_ufcs_right: Some(true), postfix_snippets: None }, preview: PreviewFeat { browsing: BrowsingPreviewOpts { args: None }, background: BackgroundPreviewOpts { enabled: false, args: None }, refresh: Some(OnType), partial_rendering: true, invert_colors: Enum(Never) }, lint: LintFeat { enabled: Some(false), when: Some(OnSave) }, on_enter: OnEnterFeat { handle_list: false }, font_opts: CompileFontArgs { font_paths: [], ignore_system_fonts: false }, font_paths: [], fonts: OnceLock(<uninit>), system_fonts: Some(true), watch_access_model: OnceLock(<uninit>), access_model: OnceLock(<uninit>), export_target: Paged, export_pdf: Never, output_path: PathPattern(""), formatter_mode: Typstyle, formatter_print_width: Some(120), formatter_indent_size: Some(2), formatter_prose_wrap: Some(false), warnings: [] }
[2025-11-25T07:47:39Z INFO  tinymist_project::watch] NotifyActor: start watching files...
[2025-11-25T07:47:39Z INFO  tinymist::config] creating AccessModel with delegation=false
[2025-11-25T07:47:39Z INFO  tinymist::project] ServerState: creating ProjectState, entry: EntryState { root: Some("e:\\issue"), main: None }, inputs: {"x-preview": "{\"version\":1,\"theme\":\"dark\"}"}
[2025-11-25T07:47:39Z INFO  tinymist::config] creating SharedFontResolver with CompileFontArgs { font_paths: [], ignore_system_fonts: false }
[2025-11-25T07:47:39Z INFO  tinymist::tool::preview] Stopping all preview tasks
[2025-11-25T07:47:39Z INFO  tinymist::project] ServerState: creating ProjectState, entry: EntryState { root: Some("e:\\issue"), main: None }, inputs: {"x-preview": "{\"version\":1,\"theme\":\"dark\"}"}
[2025-11-25T07:47:39Z INFO  sync_ls::server] handled  initialize - (0) in 264.34ms
[2025-11-25T07:47:39Z INFO  sync_ls::server] notifying initialized
[2025-11-25T07:47:39Z INFO  tinymist::lsp] server initialized
[2025-11-25T07:47:39Z INFO  sync_ls::server] notify initialized succeeded in 158.70µs
[2025-11-25T07:47:39Z INFO  sync_ls::server] handling workspace/executeCommand - (1)
[2025-11-25T07:47:39Z INFO  sync_ls::server] notifying textDocument/didChange
[2025-11-25T07:47:39Z INFO  sync_ls::server] handled  workspace/executeCommand - (1) in 5.55ms
[2025-11-25T07:47:39Z ERROR sync_ls::server] notify textDocument/didChange failed in 128.70µs: ResponseError { code: -32602, message: "file missing, with [(\"path\", \"\\\\untitled\\\\Untitled-1\")]", data: None }
[2025-11-25T07:47:39Z INFO  sync_ls::server] notifying textDocument/didClose
[2025-11-25T07:47:39Z INFO  sync_ls::server] notify textDocument/didClose succeeded in 84.20µs
[2025-11-25T07:47:39Z INFO  sync_ls::server] handling workspace/executeCommand - (2)
[2025-11-25T07:47:39Z INFO  tinymist::cmd] first manual focusing is coming
[2025-11-25T07:47:39Z INFO  tinymist::input] the task of the primary is changing to TaskInputs { entry: Some(EntryState { root: Some("e:\\issue"), main: Some(@ws/p0:0.0.0\issue.typ) }), inputs: None }
[2025-11-25T07:47:39Z INFO  tinymist::cmd] file focused: Some("e:\\issue\\issue.typ")
[2025-11-25T07:47:39Z INFO  sync_ls::server] notifying textDocument/didOpen
[2025-11-25T07:47:39Z INFO  tinymist::lsp] did open file:///e%3A/issue/issue.typ
[2025-11-25T07:47:39Z INFO  sync_ls::server] notify textDocument/didOpen succeeded in 121.40µs
[2025-11-25T07:47:39Z INFO  sync_ls::server] handled  workspace/executeCommand - (2) in 3.20ms
[2025-11-25T07:47:39Z INFO  sync_ls::server] notifying textDocument/didOpen
[2025-11-25T07:47:39Z INFO  tinymist::lsp] did open untitled:Untitled-1
[2025-11-25T07:47:39Z INFO  sync_ls::server] notify textDocument/didOpen succeeded in 67.70µs
[2025-11-25T07:47:39Z INFO  sync_ls::server] handling workspace/executeCommand - (3)
[2025-11-25T07:47:39Z INFO  sync_ls::server] handled  workspace/executeCommand - (3) in 5.64ms
[2025-11-25T07:47:39Z INFO  sync_ls::server] handling textDocument/documentSymbol - (4)
[2025-11-25T07:47:39Z INFO  sync_ls::server] handling textDocument/documentLink - (5)
[2025-11-25T07:47:39Z INFO  sync_ls::server] handled  textDocument/documentSymbol - (4) in 1.11ms
[2025-11-25T07:47:39Z INFO  sync_ls::server] handled  textDocument/documentLink - (5) in 6.60ms
[2025-11-25T07:47:39Z INFO  sync_ls::server] handling textDocument/documentColor - (6)
[2025-11-25T07:47:39Z INFO  sync_ls::server] handled  textDocument/documentColor - (6) in 7.03ms
[2025-11-25T07:47:39Z INFO  tinymist_project::compiler] e:\issue\issue.typ: compilation succeeded in 46.9717ms
[2025-11-25T07:47:39Z INFO  tinymist::project] Project: emit compilation again for ProjectInsId("primary"), reason: CompileSignal { by_mem_events: false, by_fs_events: true, by_entry_update: false }
[2025-11-25T07:47:40Z INFO  sync_ls::server] handling textDocument/codeLens - (7)
[2025-11-25T07:47:40Z INFO  sync_ls::server] handled  textDocument/codeLens - (7) in 143.90µs
[2025-11-25T07:47:40Z INFO  sync_ls::server] handling textDocument/documentSymbol - (8)
[2025-11-25T07:47:40Z INFO  sync_ls::server] handled  textDocument/documentSymbol - (8) in 77.50µs
[2025-11-25T07:47:40Z INFO  sync_ls::server] handling textDocument/foldingRange - (9)
[2025-11-25T07:47:40Z INFO  sync_ls::server] handled  textDocument/foldingRange - (9) in 61.20µs
[2025-11-25T07:47:40Z INFO  sync_ls::server] handling textDocument/semanticTokens/full - (10)
[2025-11-25T07:47:40Z INFO  sync_ls::server] handled  textDocument/semanticTokens/full - (10) in 1.00ms
[2025-11-25T07:47:40Z INFO  sync_ls::server] handling textDocument/foldingRange - (11)
[2025-11-25T07:47:40Z INFO  sync_ls::server] handled  textDocument/foldingRange - (11) in 56.20µs
[2025-11-25T07:47:40Z INFO  sync_ls::server] handling textDocument/formatting - (12)
[2025-11-25T07:47:40Z INFO  sync_ls::server] handled  textDocument/formatting - (12) in 156.00µs
[2025-11-25T07:47:40Z INFO  sync_ls::server] notifying textDocument/didSave
[2025-11-25T07:47:40Z INFO  tinymist::project] Project: skip compilation for ProjectInsId("primary") due to harmless vfs changes
[2025-11-25T07:47:40Z INFO  sync_ls::server] notify textDocument/didSave succeeded in 41.80µs
[2025-11-25T07:47:41Z INFO  sync_ls::server] handling workspace/executeCommand - (13)
[2025-11-25T07:47:41Z INFO  tinymist::input] the task of the primary is changing to TaskInputs { entry: Some(EntryState { root: Some("e:\\issue"), main: Some(@ws/p0:0.0.0\issue.typ) }), inputs: None }
[2025-11-25T07:47:41Z INFO  tinymist::tool::preview] PreviewTask(uomn0b): arguments: PreviewCliArgs {
        preview: PreviewArgs {
            preview_mode: Document,
            enable_partial_rendering: None,
            invert_colors: None,
            refresh_style: None,
        },
        compile: CompileOnceArgs {
            input: Some(
                "e:\\issue\\issue.typ",
            ),
            root: None,
            font: CompileFontArgs {
                font_paths: [],
                ignore_system_fonts: false,
            },
            package: CompilePackageArgs {
                package_path: None,
                package_cache_path: None,
            },
            pdf: PdfExportArgs {
                standard: [],
                no_tags: false,
            },
            png: PngExportArgs {
                ppi: 144.0,
            },
            features: [],
            inputs: [],
            creation_timestamp: None,
            cert: None,
        },
        task_id: "uomn0b",
        data_plane_host: "127.0.0.1:0",
        control_plane_host: "127.0.0.1:23626",
        static_file_host: "",
        not_as_primary: false,
        open: false,
        no_open: false,
    }
[2025-11-25T07:47:41Z INFO  tinymist_preview] Previewer: editor actor spawned
[2025-11-25T07:47:41Z INFO  tinymist_project::compiler] e:\issue\issue.typ: compilation succeeded in 112.9µs
[2025-11-25T07:47:41Z INFO  tinymist_preview] Preview("uomn0b"): received notification: signal(true, false), when OnType
[2025-11-25T07:47:41Z INFO  tinymist::project] skipping emit pending reasons for 4 != 3
[2025-11-25T07:47:41Z INFO  tinymist_project::compiler] e:\issue\issue.typ: compilation succeeded in 71.3µs
[2025-11-25T07:47:41Z INFO  tinymist_preview] Preview("uomn0b"): received notification: signal(true, false), when OnType
[2025-11-25T07:47:41Z INFO  tinymist::tool::preview::http] preview server listening on http://127.0.0.1:9699
[2025-11-25T07:47:41Z INFO  tinymist::tool::preview] PreviewTask(uomn0b): preview server listening on: 127.0.0.1:9699
[2025-11-25T07:47:41Z INFO  sync_ls::server] handled  workspace/executeCommand - (13) in 4.78ms
[2025-11-25T07:47:42Z INFO  sync_ls::server] handling workspace/executeCommand - (14)
[2025-11-25T07:47:42Z INFO  sync_ls::server] handled  workspace/executeCommand - (14) in 57.40µs
[2025-11-25T07:47:42Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: waiting for message
[2025-11-25T07:47:42Z DEBUG tinymist_preview::actor::render] RenderActor: waiting for message
[2025-11-25T07:47:42Z DEBUG tinymist_preview::actor::render] RenderActor: has_full_render: true
[2025-11-25T07:47:42Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: received message: RenderFullLatest
[2025-11-25T07:47:42Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: sending outline
[2025-11-25T07:47:42Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: waiting for message
[2025-11-25T07:47:42Z DEBUG tinymist_preview::actor::render] RenderActor: waiting for message
[2025-11-25T07:47:53Z INFO  sync_ls::server] notifying $/setTrace
[2025-11-25T07:47:53Z WARN  sync_ls::server::lsp_srv] unhandled notification: $/setTrace
[2025-11-25T07:47:53Z INFO  sync_ls::server] notify $/setTrace succeeded in 24.20µs
[2025-11-25T07:47:53Z INFO  sync_ls::server] notifying workspace/didChangeConfiguration
[2025-11-25T07:47:53Z INFO  sync_ls::server] notify workspace/didChangeConfiguration succeeded in 100.70µs
[2025-11-25T07:47:53Z INFO  tinymist::config] ServerState: config update_by_map {"colorTheme":"dark","compileStatus":"enable","completion":{"postfix":true,"postfixUfcs":true,"postfixUfcsLeft":true,"postfixUfcsRight":true,"symbol":"step","triggerOnSnippetPlaceholders":false},"development":null,"exportPdf":"never","exportTarget":"paged","fontPaths":null,"formatterIndentSize":2,"formatterMode":"typstyle","formatterPrintWidth":120,"formatterProseWrap":false,"hoverPeriscope":null,"lint":{"enabled":false,"when":"onSave"},"onEnter":null,"outputPath":"","preview":{"cursorIndicator":false,"fontPaths":[],"invertColors":"never","partialRendering":true,"pinPreviewFile":false,"refresh":"onType","scrollSync":"onSelectionChange","sysInputs":{},"systemFonts":true},"projectResolution":"singleFile","rootPath":null,"semanticTokens":"enable","syntaxOnly":"auto","systemFonts":true,"tinymist":{"compileStatus":"enable","completion":{"postfix":true,"postfixUfcs":true,"postfixUfcsLeft":true,"postfixUfcsRight":true,"symbol":"step","triggerOnSnippetPlaceholders":false},"configureDefaultWordSeparator":"disable","copyAndPaste":"enable","dragAndDrop":"enable","exportPdf":"never","exportTarget":"paged","fontPaths":null,"formatterIndentSize":2,"formatterMode":"typstyle","formatterPrintWidth":120,"formatterProseWrap":false,"lint":{"enabled":false,"when":"onSave"},"onEnterEvent":true,"onPaste":"$root/assets","outputPath":"","preview":{"cursorIndicator":false,"fontPaths":[],"invertColors":"never","partialRendering":true,"pinPreviewFile":false,"refresh":"onType","scrollSync":"onSelectionChange","sysInputs":{},"systemFonts":true},"previewFeature":"enable","projectResolution":"singleFile","renderDocs":"enable","rootPath":null,"semanticTokens":"enable","serverPath":null,"showExportFileIn":null,"statusBarFormat":"{compileStatusIcon} {wordCount} [{fileName}]","syntaxOnly":"auto","systemFonts":true,"trace":{"server":"off"},"typingContinueCommentsOnNewline":true,"typstExtraArgs":[]},"typstExtraArgs":[]}
[2025-11-25T07:47:53Z INFO  tinymist::config] Server: running lsp in full mode
[2025-11-25T07:47:53Z INFO  tinymist::lsp] new settings applied
[2025-11-25T07:47:58Z INFO  sync_ls::server] notifying $/setTrace
[2025-11-25T07:47:58Z WARN  sync_ls::server::lsp_srv] unhandled notification: $/setTrace
[2025-11-25T07:47:58Z INFO  sync_ls::server] notify $/setTrace succeeded in 21.80µs
[2025-11-25T07:47:58Z INFO  sync_ls::server] notifying workspace/didChangeConfiguration
[2025-11-25T07:47:58Z INFO  sync_ls::server] notify workspace/didChangeConfiguration succeeded in 59.70µs
[2025-11-25T07:47:58Z INFO  tinymist::config] ServerState: config update_by_map {"colorTheme":"dark","compileStatus":"enable","completion":{"postfix":true,"postfixUfcs":true,"postfixUfcsLeft":true,"postfixUfcsRight":true,"symbol":"step","triggerOnSnippetPlaceholders":false},"development":null,"exportPdf":"never","exportTarget":"paged","fontPaths":null,"formatterIndentSize":2,"formatterMode":"typstyle","formatterPrintWidth":120,"formatterProseWrap":false,"hoverPeriscope":null,"lint":{"enabled":false,"when":"onSave"},"onEnter":null,"outputPath":"","preview":{"cursorIndicator":false,"fontPaths":[],"invertColors":"never","partialRendering":true,"pinPreviewFile":false,"refresh":"onType","scrollSync":"onSelectionChange","sysInputs":{},"systemFonts":true},"projectResolution":"singleFile","rootPath":null,"semanticTokens":"enable","syntaxOnly":"auto","systemFonts":true,"tinymist":{"compileStatus":"enable","completion":{"postfix":true,"postfixUfcs":true,"postfixUfcsLeft":true,"postfixUfcsRight":true,"symbol":"step","triggerOnSnippetPlaceholders":false},"configureDefaultWordSeparator":"disable","copyAndPaste":"enable","dragAndDrop":"enable","exportPdf":"never","exportTarget":"paged","fontPaths":null,"formatterIndentSize":2,"formatterMode":"typstyle","formatterPrintWidth":120,"formatterProseWrap":false,"lint":{"enabled":false,"when":"onSave"},"onEnterEvent":true,"onPaste":"$root/assets","outputPath":"","preview":{"cursorIndicator":false,"fontPaths":[],"invertColors":"never","partialRendering":true,"pinPreviewFile":false,"refresh":"onType","scrollSync":"onSelectionChange","sysInputs":{},"systemFonts":true},"previewFeature":"enable","projectResolution":"singleFile","renderDocs":"enable","rootPath":null,"semanticTokens":"enable","serverPath":null,"showExportFileIn":null,"statusBarFormat":"{compileStatusIcon} {wordCount} [{fileName}]","syntaxOnly":"auto","systemFonts":true,"trace":{"server":"off"},"typingContinueCommentsOnNewline":true,"typstExtraArgs":[]},"typstExtraArgs":[]}
[2025-11-25T07:47:58Z INFO  tinymist::config] Server: running lsp in full mode
[2025-11-25T07:47:58Z INFO  tinymist::lsp] new settings applied
[2025-11-25T07:47:58Z INFO  sync_ls::server] handling workspace/executeCommand - (15)
[2025-11-25T07:47:58Z INFO  sync_ls::server] handled  workspace/executeCommand - (15) in 47.10µs
[2025-11-25T07:48:01Z INFO  sync_ls::server] handling workspace/executeCommand - (16)
[2025-11-25T07:48:01Z INFO  sync_ls::server] handled  workspace/executeCommand - (16) in 41.80µs
[2025-11-25T07:48:02Z INFO  sync_ls::server] handling workspace/executeCommand - (17)
[2025-11-25T07:48:02Z INFO  sync_ls::server] handled  workspace/executeCommand - (17) in 74.70µs
[2025-11-25T07:48:18Z INFO  sync_ls::server] handling workspace/executeCommand - (18)
[2025-11-25T07:48:18Z INFO  sync_ls::server] handled  workspace/executeCommand - (18) in 97.70µs
[2025-11-25T07:48:19Z INFO  sync_ls::server] handling textDocument/codeLens - (19)
[2025-11-25T07:48:19Z INFO  sync_ls::server] handled  textDocument/codeLens - (19) in 138.10µs
[2025-11-25T07:48:19Z INFO  sync_ls::server] notifying textDocument/didOpen
[2025-11-25T07:48:19Z INFO  tinymist::lsp] did open untitled:Untitled-1
[2025-11-25T07:48:19Z INFO  sync_ls::server] notify textDocument/didOpen succeeded in 53.90µs
[2025-11-25T07:48:19Z INFO  sync_ls::server] handling workspace/executeCommand - (20)
[2025-11-25T07:48:19Z INFO  sync_ls::server] handled  workspace/executeCommand - (20) in 164.40µs
[2025-11-25T07:48:20Z INFO  sync_ls::server] notifying textDocument/didClose
[2025-11-25T07:48:20Z INFO  sync_ls::server] notify textDocument/didClose succeeded in 75.70µs
[2025-11-25T07:48:20Z INFO  tinymist_preview] Preview("uomn0b"): received notification: signal(false, true), when OnType
[2025-11-25T07:48:20Z INFO  tinymist::project] Project: emit compilation again for ProjectInsId("primary"), reason: CompileSignal { by_mem_events: false, by_fs_events: true, by_entry_update: false }
[2025-11-25T07:48:20Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: received message: RenderIncremental
[2025-11-25T07:48:20Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: sending outline
[2025-11-25T07:48:20Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: waiting for message
[2025-11-25T07:48:20Z DEBUG tinymist_preview::actor::render] RenderActor: has_full_render: false
[2025-11-25T07:48:20Z DEBUG tinymist_preview::actor::render] RenderActor: waiting for message
[2025-11-25T07:48:21Z INFO  sync_ls::server] handling textDocument/documentColor - (21)
[2025-11-25T07:48:21Z INFO  sync_ls::server] handled  textDocument/documentColor - (21) in 259.50µs
[2025-11-25T07:48:21Z INFO  sync_ls::server] handling textDocument/codeAction - (22)
[2025-11-25T07:48:21Z INFO  sync_ls::server] handled  textDocument/codeAction - (22) in 138.50µs
[2025-11-25T07:48:21Z INFO  sync_ls::server] handling textDocument/documentLink - (23)
[2025-11-25T07:48:21Z INFO  sync_ls::server] handled  textDocument/documentLink - (23) in 194.60µs
[2025-11-25T07:48:21Z INFO  sync_ls::server] handling workspace/executeCommand - (24)
[2025-11-25T07:48:21Z INFO  sync_ls::server] handled  workspace/executeCommand - (24) in 53.60µs
[2025-11-25T07:48:21Z INFO  sync_ls::server] handling textDocument/foldingRange - (25)
[2025-11-25T07:48:21Z INFO  sync_ls::server] handled  textDocument/foldingRange - (25) in 67.80µs
[2025-11-25T07:48:21Z INFO  sync_ls::server] handling textDocument/codeLens - (26)
[2025-11-25T07:48:21Z INFO  sync_ls::server] handled  textDocument/codeLens - (26) in 122.60µs
[2025-11-25T07:48:21Z INFO  sync_ls::server] handling textDocument/semanticTokens/full/delta - (27)
[2025-11-25T07:48:21Z INFO  sync_ls::server] handled  textDocument/semanticTokens/full/delta - (27) in 159.30µs
[2025-11-25T07:48:21Z INFO  sync_ls::server] handling textDocument/documentSymbol - (28)
[2025-11-25T07:48:21Z INFO  sync_ls::server] handled  textDocument/documentSymbol - (28) in 97.90µs
[2025-11-25T07:48:21Z INFO  sync_ls::server] handling textDocument/foldingRange - (29)
[2025-11-25T07:48:21Z INFO  sync_ls::server] handled  textDocument/foldingRange - (29) in 88.70µs
[2025-11-25T07:48:41Z INFO  sync_ls::server] handling textDocument/codeLens - (30)
[2025-11-25T07:48:41Z INFO  sync_ls::server] handled  textDocument/codeLens - (30) in 137.50µs
[2025-11-25T07:49:15Z INFO  sync_ls::server] handling textDocument/codeLens - (31)
[2025-11-25T07:49:15Z INFO  sync_ls::server] handled  textDocument/codeLens - (31) in 173.60µs
[2025-11-25T07:49:22Z INFO  sync_ls::server] handling textDocument/codeLens - (32)
[2025-11-25T07:49:22Z INFO  sync_ls::server] handled  textDocument/codeLens - (32) in 96.20µs
[2025-11-25T07:49:23Z INFO  sync_ls::server] notifying textDocument/didOpen
[2025-11-25T07:49:23Z INFO  tinymist::lsp] did open untitled:Untitled-1
[2025-11-25T07:49:23Z INFO  sync_ls::server] notify textDocument/didOpen succeeded in 80.50µs
[2025-11-25T07:49:23Z INFO  sync_ls::server] handling workspace/executeCommand - (33)
[2025-11-25T07:49:23Z INFO  sync_ls::server] handled  workspace/executeCommand - (33) in 81.70µs
[2025-11-25T07:49:23Z INFO  sync_ls::server] notifying textDocument/didChange
[2025-11-25T07:49:23Z INFO  sync_ls::server] notify textDocument/didChange succeeded in 309.80µs
[2025-11-25T07:49:24Z INFO  sync_ls::server] notifying textDocument/didClose
[2025-11-25T07:49:24Z INFO  sync_ls::server] notify textDocument/didClose succeeded in 77.90µs
[2025-11-25T07:49:24Z INFO  tinymist::project] Project: skip compilation for ProjectInsId("primary") due to harmless vfs changes
[2025-11-25T07:49:24Z INFO  sync_ls::server] notifying textDocument/didOpen
[2025-11-25T07:49:24Z INFO  tinymist::lsp] did open untitled:Untitled-1
[2025-11-25T07:49:24Z INFO  sync_ls::server] notify textDocument/didOpen succeeded in 219.20µs
[2025-11-25T07:49:24Z INFO  sync_ls::server] handling workspace/executeCommand - (34)
[2025-11-25T07:49:24Z INFO  sync_ls::server] handled  workspace/executeCommand - (34) in 3.38ms
[2025-11-25T07:49:46Z INFO  sync_ls::server] notifying textDocument/didChange
[2025-11-25T07:49:46Z INFO  sync_ls::server] notify textDocument/didChange succeeded in 477.50µs
[2025-11-25T07:50:07Z INFO  sync_ls::server] handling workspace/executeCommand - (35)
[2025-11-25T07:50:07Z DEBUG tinymist_preview::actor::editor] EditorActor: received message from editor: ResolveSourceLocRequest { filepath: "Untitled-1", line: 168, character: 0 }
[2025-11-25T07:50:07Z DEBUG tinymist_preview::actor::render] RenderActor: resolving ResolveSourceLoc: ResolveSourceLocRequest { filepath: "Untitled-1", line: 168, character: 0 }
[2025-11-25T07:50:07Z DEBUG tinymist_preview::actor::render] RenderActor: has_full_render: false
[2025-11-25T07:50:07Z INFO  sync_ls::server] handled  workspace/executeCommand - (35) in 192.20µs
[2025-11-25T07:50:07Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: received message: ResolveSourceLoc(ResolveSourceLocRequest { filepath: "Untitled-1", line: 168, character: 0 })
[2025-11-25T07:50:07Z DEBUG tinymist_preview::actor::render] RenderActor: waiting for message
[2025-11-25T07:50:07Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: sending outline
[2025-11-25T07:50:07Z DEBUG tinymist_preview::actor::render] OutlineRenderActor: waiting for message
[2025-11-25T07:50:08Z INFO  sync_ls::server] notifying textDocument/didOpen
[2025-11-25T07:50:08Z INFO  tinymist::lsp] did open untitled:Untitled-2
[2025-11-25T07:50:08Z INFO  sync_ls::server] notify textDocument/didOpen succeeded in 46.10µs
[2025-11-25T07:50:08Z INFO  sync_ls::server] handling workspace/executeCommand - (36)
[2025-11-25T07:50:08Z INFO  sync_ls::server] handled  workspace/executeCommand - (36) in 90.90µs
[2025-11-25T07:50:13Z INFO  sync_ls::server] handling workspace/executeCommand - (37)
[2025-11-25T07:50:13Z INFO  sync_ls::server] handled  workspace/executeCommand - (37) in 146.10µs

Browser Logs

log.ts:450  WARN [twxs.cmake]: Cannot register 'cmake.cmakePath'. This property is already registered.
warn @ log.ts:450
log.ts:460   ERR Cannot read properties of null (reading '$ref'): TypeError: Cannot read properties of null (reading '$ref')
    at UMe (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3015:25963)
    at vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3015:26084
    at Array.forEach (<anonymous>)
    at UMe (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3015:26019)
    at vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3015:26084
    at Array.forEach (<anonymous>)
    at UMe (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3015:26019)
    at vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3015:26084
    at Array.forEach (<anonymous>)
    at UMe (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3015:26019)
error @ log.ts:460
log.ts:440  INFO Started local extension host with pid 2404.
log.ts:440  INFO ChatSessionStore: Migrating 0 chat sessions from storage service to file system
log.ts:440  INFO MCP Registry configured: https://api.mcp.github.com
log.ts:440  INFO Settings Sync: Account status changed from uninitialized to unavailable
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.macro.
Old grammar file: file:///d%3A/Program%20Files/Microsoft%20VS%20Code/resources/app/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.27.1/autogenerated/cpp.embedded.macro.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///d%3A/Program%20Files/Microsoft%20VS%20Code/resources/app/extensions/cpp/syntaxes/cpp.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.27.1/autogenerated/cpp.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.python.
Old grammar file: file:///d%3A/Program%20Files/Microsoft%20VS%20Code/resources/app/extensions/python/syntaxes/MagicPython.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/ms-python.vscode-pylance-2025.10.1/grammars/PylancePython.tmLanguage
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cmake.
Old grammar file: file:///c%3A/Users/username/.vscode/extensions/ms-vscode.cmake-tools-1.21.36/syntaxes/CMake.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/twxs.cmake-0.0.17/syntaxes/CMake.tmLanguage
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cmakecache.
Old grammar file: file:///c%3A/Users/username/.vscode/extensions/ms-vscode.cmake-tools-1.21.36/syntaxes/CMakeCache.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/twxs.cmake-0.0.17/syntaxes/CMakeCache.tmLanguage
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.macro.
Old grammar file: file:///d%3A/Program%20Files/Microsoft%20VS%20Code/resources/app/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.27.1/autogenerated/cpp.embedded.macro.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///d%3A/Program%20Files/Microsoft%20VS%20Code/resources/app/extensions/cpp/syntaxes/cpp.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.27.1/autogenerated/cpp.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.python.
Old grammar file: file:///d%3A/Program%20Files/Microsoft%20VS%20Code/resources/app/extensions/python/syntaxes/MagicPython.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/ms-python.vscode-pylance-2025.10.1/grammars/PylancePython.tmLanguage
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cmake.
Old grammar file: file:///c%3A/Users/username/.vscode/extensions/ms-vscode.cmake-tools-1.21.36/syntaxes/CMake.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/twxs.cmake-0.0.17/syntaxes/CMake.tmLanguage
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cmakecache.
Old grammar file: file:///c%3A/Users/username/.vscode/extensions/ms-vscode.cmake-tools-1.21.36/syntaxes/CMakeCache.tmLanguage.json.
New grammar file: file:///c%3A/Users/username/.vscode/extensions/twxs.cmake-0.0.17/syntaxes/CMakeCache.tmLanguage
register @ TMScopeRegistry.ts:46
log.ts:460   ERR [Extension Host] (node:2404) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
error @ log.ts:460
console.ts:139 [Extension Host] (node:2404) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
gCs @ console.ts:139
console.ts:139 [Extension Host] cph: activate() execution started
console.ts:139 [Extension Host] Fetching remote message
console.ts:139 [Extension Host] Registering commands
console.ts:139 [Extension Host] Read preference for  general.retainWebviewContext false
console.ts:139 [Extension Host] Companion server listening on port 27121
console.ts:139 [Extension Host] Changed editor to Untitled-1
log.ts:440  INFO [perf] Render performance baseline is 37ms
console.ts:139 [Extension Host] remote-message
console.ts:139 [Extension Host] Pushing to buffer remote-message
console.ts:139 [Extension Host] Remote message fetched 
api.github.com/copilot/mcp_registry:1  Failed to load resource: the server responded with a status of 404 ()
log.ts:460   ERR Failed to fetch MCP registry providers Server returned 404
error @ log.ts:460
console.ts:139 [Extension Host] [INFO] 2025-11-25T07:47:38.039Z - Translations initialized.
console.ts:139 [Extension Host] [INFO] 2025-11-25T07:47:38.041Z - Extension activated!
log.ts:440  INFO Auto updating outdated extensions. vadimcn.vscode-lldb
console.ts:139 [Extension Host] Setting up language configuration true
console.ts:139 [Extension Host] Closed editor: Untitled-1
console.ts:139 [Extension Host] Read preference for  general.saveLocation 
console.ts:139 [Extension Host] new-problem
console.ts:139 [Extension Host] Changed editor to undefined
console.ts:139 [Extension Host] new-problem
console.ts:139 [Extension Host] online judge env: false
console.ts:139 [Extension Host] Changed editor to e:\issue\issue.typ
console.ts:139 [Extension Host] online judge env: false
console.ts:139 [Extension Host] Read preference for  general.saveLocation 
console.ts:139 [Extension Host] new-problem
console.ts:139 [Extension Host] Preview Command e:\issue\issue.typ
console.ts:139 [Extension Host] Launched preview, browsing:false, data plane port:9699, static server port:9699
webviewElement.ts:489 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ webviewElement.ts:489
console.ts:139 [Extension Host] Changed editor to undefined
console.ts:139 [Extension Host] new-problem
console.ts:139 [Extension Host] online judge env: false
VM7:17 state eyJtb2RlIjoiZG9jIiwiaXNOb3RQcmltYXJ5IjpmYWxzZSwiaXNCcm93c2luZyI6ZmFsc2UsImlzRGV2IjpmYWxzZSwidXJpIjoiZmlsZTovLy9lJTNBL2lzc3VlL2lzc3VlLnR5cCJ9
VM7:21 vscode_state Object
VM8:8638 using deprecated parameters for the initialization function; pass a single object instead
__wbg_init @ VM8:8638
VM8:5692 plugin initialized, build info: Object
VM8:5551 WebSocket connection opened WebSocket
VM8:5591 batch 1 messages
VM8:5613 recv partial-rendering 22
VM8:5670 Experimental feature: partial rendering enabled
VM8:5591 batch 1 messages
VM8:5613 recv invert-colors 21
VM8:5676 Experimental feature: invert colors strategy taken: never
VM8:5591 batch 1 messages
VM8:5613 recv diff-v1 3644
VM8:1313 render_in_window with partial rendering enabled window 0.7573480581812579 0 0 595.2755737304688 711.9071746903825 , patch scale 4434
VM8:376 parse 4.90 ms, rerender 5.70 ms, total 10.60 ms
VM8:1700 updateCanvas start
VM8:1732 updateCanvas one miss undefined cs3trR8qBjBslnQgE0O1Lk8
VM8:1732 updateCanvas one miss undefined cs3trR8qBjBslnQgE0O1Lk8
VM8:1740 updateCanvas done 26.69999998807907
VM8:1313 render_in_window with partial rendering enabled window 0.7730220492866408 0 0 607.5953307392996 408.15564202334633 , patch scale 867
VM8:598 reuse directly <g class=​"typst-page" transform=​"translate(0, 849.7302204928665)​" data-tid=​"ps3trR8qBjBslnQgE0O1Lk8" data-page-width=​"596" data-page-height=​"842" data-x=​"0" data-y=​"849.7302204928665" data-page-number=​"1" clip-path=​"url(#typst-page-clip-1)​">​</g>​
VM8:376 parse 0.00 ms, rerender 2.40 ms, total 2.40 ms
VM8:1700 updateCanvas start
VM8:1740 updateCanvas done 13.300000011920929
log.ts:460   ERR TreeError [DebugRepl] Tree input not set: Error: TreeError [DebugRepl] Tree input not set
    at zg.C (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:434:29263)
    at zg.updateChildren (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:434:29044)
    at Ple.value (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2628:33771)
    at I.C (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2392)
    at I.D (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2462)
    at I.fire (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2680)
    at FDe.setVisible (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:570:2730)
    at vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:596:13950
    at Array.map (<anonymous>)
    at Td.setVisible (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:596:13941)
error @ log.ts:460
console.ts:139 [Extension Host] Changed editor to tasks
console.ts:139 [Extension Host] Closed editor: tasks
console.ts:139 [Extension Host] Read preference for  general.saveLocation 
console.ts:139 [Extension Host] Changed editor to undefined
console.ts:139 [Extension Host] new-problem
console.ts:139 [Extension Host] online judge env: false
console.ts:139 [Extension Host] Changed editor to extension-output-myriad-dreamin.tinymist-#1-Tinymist Typst
console.ts:139 [Extension Host] skip extension-output file extension-output-myriad-dreamin.tinymist-#1-Tinymist Typst
console.ts:139 [Extension Host] skip extension-output file extension-output-myriad-dreamin.tinymist-#1-Tinymist Typst
console.ts:139 [Extension Host] skip extension-output file extension-output-myriad-dreamin.tinymist-#1-Tinymist Typst
console.ts:139 [Extension Host] Changed editor to e:\issue\issue.typ
console.ts:139 [Extension Host] online judge env: false
console.ts:139 [Extension Host] Read preference for  general.saveLocation 
console.ts:139 [Extension Host] new-problem
console.ts:139 [Extension Host] Changed editor to undefined
console.ts:139 [Extension Host] new-problem
console.ts:139 [Extension Host] online judge env: false
console.ts:139 [Extension Host] Changed editor to Untitled-1
VM8:5591 batch 1 messages
VM8:5613 recv diff-v1 244
VM8:1313 render_in_window with partial rendering enabled window 0.7730220492866408 0 0 607.5953307392996 408.15564202334633 , patch scale 867
VM8:376 parse 0.10 ms, rerender 0.80 ms, total 0.90 ms
VM8:1700 updateCanvas start
VM8:1740 updateCanvas done 9
console.ts:139 [Extension Host] Changed editor to undefined
console.ts:139 [Extension Host] new-problem
console.ts:139 [Extension Host] online judge env: false
console.ts:139 [Extension Host] Closed editor: Untitled-1
console.ts:139 [Extension Host] Read preference for  general.saveLocation 
console.ts:139 [Extension Host] Changed editor to e:\issue\issue.typ
console.ts:139 [Extension Host] online judge env: false
console.ts:139 [Extension Host] Read preference for  general.saveLocation 
console.ts:139 [Extension Host] new-problem

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstream

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions