-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
IsVisible doesn't work anymore #8044
Comments
Some related issues with
|
The same here with the latest version (6.0.400). My whole application is now broken. |
Yes, and development will probably have to be postponed until the next version comes out |
Same here, this is a huge problem. |
I find disappointing and concerning that this release, after 3 weeks of known bugs, doesn't fix anything important and instead introduces new fatal bugs. In our application we had
And what is annoying the most is that we opened issues and there are even pull requests that fixes them opened since days that no one closed and so they didn't end up in SR1, making us wait WEEKS for them I really like Xamarin and of course I like Maui more for how many things it improved, but it's really frustrating to develop with it knowing that each new release is going to break more things than it fixes |
I don't think they're related, but I'll check it out. The first two ones will be fixed with #6892 |
Yes, and the comments are now filtered, although no one offended anyone |
Can reproduce the issue. Is a really critical one. I'm going to try to move it as fast as possible. |
Initial feedback from a quick review:
With the above, I suspect that the problem could be related to Layouts. We need to investigate it more. |
@jsuarezruiz While we wait for the fix, is there a way to regress the maui version? Can we choose the workload version manually? Since maui is not a nuget package... BTW, how is the plan for maui updates from the GA and going on? One every 2-3 weeks like dotnet stable? isn't it a little too much for a new project that has tons of issue to fix? Thank you for your work |
There is no official documentation to downgrade workloads. The Development Wiki can help you https://github.com/dotnet/maui/blob/main/.github/DEVELOPMENT.md. Sorry for the inconvenience, maybe we can find a workaround for this. Regarding the pace of releases, yes, will be with dotnet releases. |
To be honest not being able to choose the workload version seems like a big problem for new projects like Maui that aren't exactly stable |
Come on MSFT, you guys should re-think this strategy to release new versions of MAUI tied to VS/.NET releases. |
My application is also broken as IsVisible being set to false initially causes none of my slide menus to function properly |
Seeing this on Android 11 & 12. Using Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.3.0 Preview 2.0. All good if bound property is initially set to true. Otherwise not. Edit: But not binding related apparently, as setting IsVisible manually in code behind gives the same results. |
For those struggling to work around this, there are some instructions here https://github.com/dotnet/maui/blob/main/.github/DEVELOPMENT.md that kind of explain how to get a nightly build. However, I found they were quite confusing and incomplete. If you want to try a nightly build here is what I did. Run the command found on the DEVELOPMENT.md page:
(I added the --include-previews I'm not sure if this is necessary) This seems to install the latest nightly build version of the workload Open the file https://aka.ms/dotnet/maui/net6.0.json in your browser. There is a line: "microsoft.net.sdk.maui": "6.0.500-preview.1.6059/6.0.300", Now go into your csproj files and add the version number from the net6.0.json file in a PropertyGroup, e.g.:
Now IsVisible is working again. Hopefully that helps people out - good luck.. |
This issue could be related. |
Same issue here :( my whole app is broken now. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This bug made me think choosing .NET MAUI at this earlier stage is a blunt mistake. We wasted few man-days on this. |
With rowdef children inside of a grid is visible, so you need to hide them as well which is a bumer, especially if you want to DRY. |
Just for now, in order to work, I setted |
I was confusing the Maui version with Dotnet version. I was setting But what we can consider is the Maui version and I don't know why the default on VS 2022 Preview is 6.0.500-preview.1.6059. If we look for "Maui.Core" on nuget we can find some stable versions. I set |
After 2 days of search .. the trick call Arrange() after IsVisible modifications: Exemple :
It redraws the controls ! |
2 days Carl.... :) .... of random methods cycle :) |
Hey @ajphall (or others) : I used your technique above last week and it was working/ I was able to run my App :
Then, I (foolishly) decided to try and grab an updated nightly build using same technique a couple of days ago (and again today) :
Now when I load the solution and try to compile it I'm getting the error (one of therse for each target) : Assets file '\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project. And I've not been able to get past this since.. (retried this last 3 days with nightly build numbers) and keep getting same error. I also tried the 'dotnet nuget locals all --clear' command from that Developement.md doc just in case that would help plus trying to do dotnet workload restore variations. Any ideas on how to get back to scenario where I can compile/run my app from the latest nightly build again? thanks in advance if any ideas? |
i'm still with this problem, when trying to set a button to false, don't work, but when trying to set an entry, it works fine. |
In last VS 2022 Preview ( Version 17.3.0 Preview 4.0) this is fixed. |
@fabio-popup i'm 5.0 and the issue still occurs. have you tested in windows ? |
Description
After updating to Sr1, binding to IsVisible no longer works
iOS & MacOS works
I've asked before and will try again
Since a lot of things no longer work for me with this version, I wanted to know how I can get the penultimate version
![Android](https://user-images.githubusercontent.com/53478848/173807575-483afa5a-2363-4113-bbac-d6392c9aeb9f.gif)
Android
iOS
![ios](https://user-images.githubusercontent.com/53478848/173808443-38c8afbd-88f1-492e-9637-9cbdcd74d796.gif)
Steps to Reproduce
1.Use Repro https://github.com/HausBJB/MauiApp3.git
2.Run
3.Click to Click me
4. image is not displayed
5. But the text changes
Version with bug
6.0.400 (current)
Last version that worked well
6.0.312
Affected platforms
Android
Affected platform versions
Android 12
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: