Skip to content

Manuscript preview build should not pump the event loop #2935

Description

@vkbo

The preview build runs the full DocumentBuilder on the GUI thread with a processEvents() per document, leaving the rest of the UI live mid-build. Run tokenization per document in a worker; assemble the ToQTextDocument on the main thread in timer-driven chunks instead of pumping.

Part of #2923.

Activity

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

    refactoringEnhancement: Code refactoring needed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions