maui icon indicating copy to clipboard operation
maui copied to clipboard

Entry - Different font for placeholder when password mode is enabled

Open KSemenenko opened this issue 2 years ago • 10 comments

Description

I found that when I set IsPassword, the Placeholder font is changed.

I have attached pictures, I can not understand whether it is a different font, or the spacing between the letters or size of font has changed, but if you quickly change the IsPassword, you can see how the placeholder changes.

password

https://user-images.githubusercontent.com/4385716/202398682-7af1f2a6-567a-46f2-848e-72d79d2f6c13.MOV

Steps to Reproduce

  1. Create Entry
  2. Set custom Font
  3. Set custom front size
  4. Set Placeholder Color
  5. Set Placeholder text
  6. Set IsPassword to true
  7. Check font

Link to public reproduction project repository

no

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

All

Did you find any workaround?

No response

Relevant log output

No response

KSemenenko avatar Nov 17 '22 08:11 KSemenenko

Hi @KSemenenko. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Nov 17 '22 19:11 ghost

@KSemenenko also, your video doesn't seem to play - can you try uploading it again?

hartez avatar Nov 17 '22 19:11 hartez

Let me create new one

KSemenenko avatar Nov 18 '22 21:11 KSemenenko

this is test project. MauiApp1.zip

and this is screenshots, so IsPassword change font at all

Screenshot 2022-11-19 at 19 14 15 Screenshot 2022-11-19 at 19 14 11

KSemenenko avatar Nov 19 '22 18:11 KSemenenko

@hartez I realised that video will be avaialalbe after 6-8 minutes. seesm it take some time for loading. anyway, I made screenshots and test project.

I found most different font, by button press I just invert IsPassword for fields.

<Entry FontFamily="RubikDistressedRegular"  Placeholder="Password" FontSize="16" x:Name="EntryBox1"/>
<Entry FontFamily="RubikDistressedRegular"  Placeholder="Password" Text="My Complicated Password" FontSize="16" IsPassword="True" x:Name="EntryBox2"/>

KSemenenko avatar Nov 19 '22 18:11 KSemenenko

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

ghost avatar Nov 23 '22 19:11 ghost

Cannot reproduce the issue in current main branch: Captura de pantalla 2022-11-25 a las 13 53 19

jsuarezruiz avatar Nov 25 '22 12:11 jsuarezruiz

when you click on the button (to change the IsPassword) are the fonts the same in the two comments?

KSemenenko avatar Nov 25 '22 13:11 KSemenenko

For me, when IsPassword is enabled, it uses the default font and not the one I set back in the Entry settings.

KSemenenko avatar Nov 25 '22 13:11 KSemenenko

do you have new versions of maui?

KSemenenko avatar Nov 25 '22 13:11 KSemenenko

confirming that I'm able to reproduce this issue on the current main branch. Will continue investigating!

rachelkang avatar Jan 18 '23 21:01 rachelkang