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

Slow Rendering issue with Custom Control when using Clipping. #22319

Open
Ahamed-Ali opened this issue May 9, 2024 · 3 comments
Open

Slow Rendering issue with Custom Control when using Clipping. #22319

Ahamed-Ali opened this issue May 9, 2024 · 3 comments
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.)
Milestone

Comments

@Ahamed-Ali
Copy link

Description

Main Issue : when navigation the contentview , the control is displayed and then clipping happened. Both should render at same time

I created a custom control with clipping enabled. I placed this custom control in a grid within a ContentView. Then, I changed the translation position of the ContentView and reverted it back to position 0. Upon resetting the translation to 0, I changed the a busy indicator grid and custom control grid enabled. However, there is noticeable performance degradation in rendering, where the control is displayed after that clipping is happened.

We designed this layout based on our control layout. For more detailed information, please refer to the video and repository link provided below.

SlowRendering.mp4

Steps to Reproduce

Obtain the sample from the below repository
Replicate the issue as did like in the above video

Link to public reproduction project repository

https://github.com/Ahamed-Ali/SlowRendering/tree/main

Version with bug

Unknown/Other

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No

Relevant log output

No response

@Ahamed-Ali Ahamed-Ali added the t/bug Something isn't working label May 9, 2024
Copy link
Contributor

github-actions bot commented May 9, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 10, 2024
@Zhanglirong-Winnie
Copy link
Collaborator

Verified this issue with Visual Studio 17.10 Preview 6.0 (8.0.21&8.0.3). Can repro on android platform with sample project.

@Eilon Eilon added the t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.) label May 11, 2024
@Ahamed-Ali
Copy link
Author

Any update on this ?

@mattleibow mattleibow added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label May 15, 2024
@jsuarezruiz jsuarezruiz added this to the Backlog milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.)
Projects
None yet
Development

No branches or pull requests

6 participants