microsoft / microsoft/WindowsAppSDK
The default Print UI dialogue is not shown on the Windows platform when the EntryPoint is set as "Windows.PartialTrustApplication" in Package.appxmanifest.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
### Describe the bug
The default Print UI dialogue is not shown on the Windows platform when the **EntryPoint** is set as **"Windows.PartialTrustApplication"** in **Package.appxmanifest**.
### Steps to reproduce the bug
1. Run the attached sample on a machine with a Windows platform.
2. Click the button to execute the associated functionality to open the default print dialogue of the Windows platform.
3. Observe that the application does not show the Print preview dialogue.
[App1.zip](https://github.com/microsoft/microsoft-ui-xaml/files/15233197/App1.zip)
### Expected behavior
When the **EntryPoint** is set as **"$targetentrypoint$"** in **Package.appxmanifest**, it displays the default Print UI dialogue correctly in the Windows platform. However, when the **EntryPoint** is changed to **"Windows.PartialTrustApplication"** in **Package.appxmanifest**, the print dialogue is not shown. The print dialogue should be displayed properly.
### Screenshots
_No response_
### NuGet package version
None
### Windows version
Windows 10
### Additional context
_No response_
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
Run the attached App1.zip sample on Windows 10 and inspect Package.appxmanifest, comparing the "$targetentrypoint$" and "Windows.PartialTrustApplication" EntryPoint values. Reproduce the print action and determine why the default Print preview dialogue appears for one setting but not the other. Done means the default Print UI dialogue is displayed correctly with Windows.PartialTrustApplication.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100