AnimatedComputeShaderPanel Resolution Issue in WinUI 3 App
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- computer-graphics, desktop
Research direction
Reproduce the fluctuation with the attached ShaderApp.zip using ComputeSharp.WinUI v2.0.3 on the stated Windows setup, then inspect AnimatedComputeShaderPanel behavior around IsDynamicResolutionEnabled. Done means the ellipse keeps a stable size during File Explorer or folder changes without requiring the reported workaround.
Written by the indexing model from the issue text.
Description
Description
In my WinUI 3 application using AnimatedComputeShaderPanel, the rendered ellipse's size unexpectedly fluctuates when performing actions like opening File Explorer or changing folders. This occurs despite properly adding an AnimatedComputeShaderPanel and configuring the shader, as demonstrated in the following video.
https://github.com/Sergio0694/ComputeSharp/assets/12293818/eb31c7d6-fc54-4277-b806-a9779169f001
Resolution
This problem can be resolved by setting the IsDynamicResolutionEnabled property to False.
Sample Code
Here is a sample code demonstrating the issue for reference.
System info
ComputeSharp.WinUI v2.0.3from Nuget- Windows 10 Pro, Version 22H2, Build 19045.4291
- CPU: Intel(R) Core(TM) i7-9700KF CPU @ 3.60GHz 3.60 GHz
- GPU: NVIDIA GeForce RTX 3090 Ti
- Visual Studio 2022
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 148
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 3
Contributor guide
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.
More from Sergio0694/ComputeSharp
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Sergio0694/ComputeSharp#936 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Sergio0694/ComputeSharp#931 ·
-
D2D1: D2D.SampleInputAtOffset with a compound offset expression silently samples wrong coordinates Openbug :bug: untriaged :toolbox:
Difficulty 3/5 1-2 days Newbie friendliness 75/100
Sergio0694/ComputeSharp#929 ·
-
PIX integration Openquestion :question: untriaged :toolbox:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Sergio0694/ComputeSharp#926 ·
-
CopyToAsync Openproposal :bulb: untriaged :toolbox:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Sergio0694/ComputeSharp#925 ·
All issues in Sergio0694/ComputeSharp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100