QuestPDF / QuestPDF/QuestPDF.CompanionApp
If a window is opened Companion doesn't show up
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 19
- Forks
- 5
- Avg merge
- 12m
- Merged PRs (30d)
- 3
Description
After installing QuestPDF Companion v. 2026.2.2 in Windows 11 25H2, when trying to run "QuestPDF.ExampleInvoice" Visual Studio 2022 throws the exception "Cannot connect to the QuestPDF Companion tool. Please ensure that the tool is running and the port is correct.", but when trying to execute any other application, after the command "document.ShowInCompanion()" it seems that it enters a loop and the only solution is to cancel the excecution.
Companion App says the connection port is 12500, but specifying it manually changes nothing. I've tried Companion v. 2026.2.1 and 2024.10.8 but the result is the same.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure on Windows 11 25H2 with QuestPDF.ExampleInvoice, then compare it with an application calling document.ShowInCompanion() and the configured port 12500. Check whether the Companion connection succeeds, throws the reported exception, or leaves execution looping across the listed app versions. Done means the connection works without manual cancellation and the example runs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100