-
Notifications
You must be signed in to change notification settings - Fork 768
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
Mac Catalyst on macOS does not render well when resizing an app #16690
Comments
Weird, it's like something is not aware of (all?) the resizing.
If it's fine with Windows and Linux then it's probably a Uno, macOS-specific issue.
Can you share a test case with me ? Sebastien at platform dot uno Thanks! |
@ArchieCoder not sure if you had the chance to send a test case to @spouliot for this issue |
@agneszitte the project was sent on May 21st, @spouliot replied: "je regarde ça asap" :) FYI: Mac Catalyst is not target platform anymore for me when I learned more about it. Skia / Mac does the job. It's up for the Uno team to close it or not since I won't use catalyst. |
Thank you for the feedback @ArchieCoder, appreciated. |
I can confirm that the provided code has issues with Catalyst (similar to the original video) but works fine on desktop/macOS. OTOH the livechart looked good to me. |
FYI, I created this GitHub issue just in case it was a bug from the library last month beto-rodriguez/LiveCharts2#1512 |
Thanks, I'll follow up on that issue for the graph. It seems, at least partially, related to the animation and a later redraw makes it look good (but with a black background). |
Origin Resize Issue![]() After some resizing the catalyst app (right) can have a grey bar (incorrect origin?) at the top of the window too. Variable Right Grey Band SizeThe size of the "grey band" (on the right) is related to showing/hiding the left menu list. Depending on with width of the app's main window, this list is either:
Changing the state of the list leads to different band size as seen in the next 3 screenshots: ![]() ![]() ![]() Fonts issueThe catalyst app does not find the That can explain why all the text looks smaller on the catalyst version, which in turn makes it show more content (since some elements are smaller). More a size issue than a resize issue.
The lack of this font (on some platforms, like macOS) is a known issue: #3954 |
The fonts issue is being address, apps will use OpenSans by default. |
The main issue (resize) seems related to the It has some iOS specific code (that would also be used by Catalyst) but I'm not convinced it's the (only) problem (still next thing to try). The fact that you don't often resize iOS apps (well never but a bit more often for iPadOS apps) is likely why this was not spotted earlier. The 2nd issue is very likely unrelated (or I missed something) and might to be a transparency issue - where it should not be transparent and overpaint the whole graph. |
Hey @ArchieCoder can you please attach/share a sample app or at least the XAML I could use to reproduce this issue? I will be looking into this, following @spouliot findings. |
@ajpinedam I sent my project a while ago to @spouliot. If he is not available, send me your email and I will forward the email. |
@ArchieCoder just back home, I forwarded your email w/attachment to @ajpinedam |
Thanks @spouliot :) |
@spouliot On the LiveCharts side, clearing the canvas is something we do depending on the UI framework, some frameworks require it, some frameworks don't. In the specific case of Uno, all the supported platforms do not require to clear the canvas, but on catalyst it seems that it behaves different, should this be handled in the LiveCharts side? |
@beto-rodriguez No. The Mac backend should behave identically with the others. If it does not it's a bug :) I suspect some optimizations are the problem - it's just not common to see the issue so I have not noticed. I'll look harder :D |
Any updates on this issue? |
@d2dyno1 have you been able to test with the |
@jeromelaban I think @d2dyno1 is referring in a different issue (on I'll double-check the status and, if needed, open a separate issue for it. |
new issue @ #19675 |
Current behavior
Resizing the app causes multiple rendering issues
Screen.Recording.2024-05-11.at.8.28.04.AM.mov
Expected behavior
Rendering should be using full window only
How to reproduce it (as minimally and precisely as possible)
Contact me for the sample project
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
Mac Catalyst
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: