Skip to content

3D View laggy if full app is in view #21

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

Open
PerfectlyFineCode opened this issue Apr 12, 2025 · 3 comments
Open

3D View laggy if full app is in view #21

PerfectlyFineCode opened this issue Apr 12, 2025 · 3 comments

Comments

@PerfectlyFineCode
Copy link

Describe the bug

3D view is laggy whenever the full application is in view but smooth as butter whenever it is a little out of view.

Example:

Screen.Recording.2025-04-12.131142.mp4

To Reproduce

  1. Have a moderately complex application (try FAGallerySample (https://github.com/amwx/FluentAvalonia))
  2. Zoom out a little and center it.
  3. pan around and it should feel laggy.
  4. Now, pan to the left to make 5-10% of the right-side out of view.
  5. It should then be buttery smooth.

Expected behavior

It should be buttery smooth at all times.

Version information

2.0.2

OS

Windows

Logs

No response

Additional context

I have a high-end PC, it should not be an issue to render it.

@PerfectlyFineCode
Copy link
Author

PerfectlyFineCode commented Apr 12, 2025

Seems like /Template/ of Window is the cause.

I am using FluentAvaloniaUI (v2.2.0) package and its style.

I zoomed in till it stops lagging and went back once to where it lags.
And it seems like it is caused by the titlebar buttons (?)

Image

@maxkatz6
Copy link
Member

@PerfectlyFineCode is specifically "panning" slow on your machine? I.e. not zooming or rotating. Because that's what I see on my machine (though, it's a macOS, without any managed titlebar).

@PerfectlyFineCode
Copy link
Author

@PerfectlyFineCode is specifically "panning" slow on your machine? I.e. not zooming or rotating. Because that's what I see on my machine (though, it's a macOS, without any managed titlebar).

Correct, panning only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants