Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render will fail if zoomed in too far in ScrollViewer #555

Open
Avid29 opened this issue Sep 5, 2023 · 0 comments
Open

Render will fail if zoomed in too far in ScrollViewer #555

Avid29 opened this issue Sep 5, 2023 · 0 comments
Labels
bug 🐛 Something isn't working untriaged 🧰 A new issue that needs initial triage

Comments

@Avid29
Copy link
Contributor

Avid29 commented Sep 5, 2023

Reproduction Steps

  1. Wrap any shader in ScrollViewer with zooming enabled.
  2. Zoom in fully
  3. Observe the exception is thrown and handled, ending the render loop

Such as this:

<ScrollViewer x:Name="Scroller" ZoomMode="Enabled" HorizontalScrollBarVisibility="Visible">
    <computesharp:AnimatedComputeShaderPanel x:Name="RenderPanel" ShaderRunner="{x:Bind}"/>
</ScrollViewer>

Expected Behavior

Rendering should continue while zoomed in.

Actual Behavior

Render stops when zoomed in.

System info

This section should contain useful info such as:

  • ComputeSharp 2.0.3
  • 22621
  • i7-11700 / NVIDIA GTX 1660 Ti
  • Visual Studio 17.7.3 / net7.0-windows10.0.19041.0

Additional Info

Exception
image

StackTrace
image

@Avid29 Avid29 added bug 🐛 Something isn't working untriaged 🧰 A new issue that needs initial triage labels Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working untriaged 🧰 A new issue that needs initial triage
Projects
None yet
Development

No branches or pull requests

1 participant