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

[Windows] IconImageSource as StreamImageSource of ContentPage in TabbedPage doesn't display #24214

Open
siem300 opened this issue Aug 13, 2024 · 2 comments
Labels
area-image Image loading, sources, caching migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@siem300
Copy link

siem300 commented Aug 13, 2024

Description

In our app we use the TabbedPage to display a couple of pages. Each of these pages has an icon so the user knows which tab he opens. These icons in our case are a StreamImageSource. When a StreamImageSource is used for these icons they aren't visible on Windows. Android and iOS works as intended.

This only happens when we use a StreamImageSource. When we use a FileImageSource it works. We unfortunately can't do that because we get our images from a service as a bytearray.

See below screenshot:
image

Steps to Reproduce

  1. Start the attached reproduction project
  2. The first tab displays the tab icon with a FileImageSource
  3. The second tab display the tab icon with a StreamImageSource, which isn't visible
  4. In the second tab the icon used for the tab is also displayed in the ContentPage itself where it is visible

Link to public reproduction project repository

https://github.com/siem300/Maui-Windows-StreamImageSource-TabbedPage-issue/tree/main/WindowsTabbedPageIcons

Version with bug

8.0.70 SR7

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@siem300 siem300 added the t/bug Something isn't working label Aug 13, 2024
Copy link
Contributor

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:

Closed similar issues:

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

@jfversluis jfversluis added platform/windows 🪟 area-image Image loading, sources, caching migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert labels Aug 13, 2024
@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Aug 14, 2024
@Zhanglirong-Winnie
Copy link

Zhanglirong-Winnie commented Aug 14, 2024

This issue has been verified using Visual Studio 17.11.0 Preview 7.0 (8.0.80 & 8.0.40 & 8.0.3 & 7.0.101). Can repro on Windows platform.

@jsuarezruiz jsuarezruiz added this to the Backlog milestone Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-image Image loading, sources, caching migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants