dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.05k stars 1.73k forks source link

Flyout rendering #25053

Open eduardoagr opened 1 week ago

eduardoagr commented 1 week ago

Description

Maui on the Windows platform, when started in a way that Flyout is invisible, if the width of Flyout is less than the width required by Flyout Item, the renderer only renders the content with the set width., and if you reset the with programmatically, with a button that you toggle, saving the state of the with, the app don't renter correctly

For example,

if You create an app, and establish the flyout behavior on mobile Disabled, and for desktop Locked,

And save the current with in storage, when you reset the app, and et the flyout to normal, the items don't render

Steps to Reproduce

  1. Create a Maui app
  2. Create two pages with titles (Important)
  3. Create a Shell view Model
  4. Create a flyout header
  5. Out a button to toggle to turn of compact view (65) and normal (320)
  6. Make the flyout disabled for mobile and locked in desktop
  7. In the view Model, create a method to save in preferences, the width of the flyout
  8. Start the app
  9. Activate compact mode, making the width of the flyout 65
  10. Restart the app
  11. Turn of compact mode
  12. Titles don't appear (Bug)

Link to public reproduction project repository

No response

Version with bug

8.0.90 SR9

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

windows10.0.19041.0

Did you find any workaround?

No

Relevant log output

No response

drasticactions commented 1 week ago

If you could please make a reproduction project of your steps, debugging and stepping through your issue would be much easier. I know it's inconvenient, but it would be a big help.

eduardoagr commented 1 week ago

I now sorry, well this is happening in my app, so I don't know if this is an inconvenience

https://github.com/eduardoagr/METROWIND

can you please tell me when you cloned the repo, so I can put it private

look at this weird problem

https://reccloud.com/u/p2k3tzl

Microsoft QA told me, that it was a rendering problem

I hope you do not mind that I left license keys in there

eduardoagr commented 1 week ago

Since this is Microsoft repo, my keys are safe right

eduardoagr commented 1 week ago

Yes, I know I just put it public so you can see the error. Did you see the error, can I put it private again

eduardoagr commented 6 days ago

Hello, did you the error, what is the status, this is important for me

eduardoagr commented 5 days ago

Any Update