lepoco / wpfui

WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
https://wpfui.lepo.co
MIT License
7.03k stars 666 forks source link

Passwordbox issue #1139

Open littlegend opened 2 weeks ago

littlegend commented 2 weeks ago

Describe the bug

when any char is used as the passwordchar and it happens to your password contains this char, unless this char is in the first poistion of your password, or the control would not accept your input to this char.

To Reproduce

  1. set passwordchar="*"
  2. input "abc*"
  3. you will find last char "*" can't be inputted
  4. set passwordchar="_"
  5. input "abc_"
  6. you will find last char "_" can't be inputted

Expected behavior

any legal char should be accepted no matter which char passwordchar is.

Screenshots

No response

OS version

Win11

.NET version

.NET 8 and .NET 4.8

WPF-UI NuGet version

3.0.4

Additional context

NA

m0lDaViA commented 2 weeks ago

grafik Don't know what you got, it's working for me.

textGamex commented 1 week ago

grafik Don't know what you got, it's working for me.

I believe what he mean is to input at runtime, rather than assigning a value directly.

m0lDaViA commented 1 week ago

grafik Don't know what you got, it's working for me.

I believe what he mean is to input at runtime, rather than assigning a value directly.

I did that too and it worked just fine for me.

textGamex commented 1 week ago

grafik Don't know what you got, it's working for me.

I believe what he mean is to input at runtime, rather than assigning a value directly.

I did that too and it worked just fine for me.

That's peculiar, because in my development environment, I can consistently reproduce this bug.

m0lDaViA commented 1 week ago

grafik Don't know what you got, it's working for me.

I believe what he mean is to input at runtime, rather than assigning a value directly.

I did that too and it worked just fine for me.

That's peculiar, because in my development environment, I can consistently reproduce this bug.

Can you take a video?

textGamex commented 1 week ago

grafik Don't know what you got, it's working for me.

I believe what he mean is to input at runtime, rather than assigning a value directly.

I did that too and it worked just fine for me.

That's peculiar, because in my development environment, I can consistently reproduce this bug.

Can you take a video?

https://github.com/lepoco/wpfui/assets/69706040/dadd76e5-4d5f-4fd4-bc90-f993865777a7

m0lDaViA commented 1 week ago

grafik Don't know what you got, it's working for me.

I believe what he mean is to input at runtime, rather than assigning a value directly.

I did that too and it worked just fine for me.

That's peculiar, because in my development environment, I can consistently reproduce this bug.

Can you take a video?

2024-06-21.23-46-44.mp4

Seems working to me.

textGamex commented 1 week ago

grafik Don't know what you got, it's working for me.

I believe what he mean is to input at runtime, rather than assigning a value directly.

I did that too and it worked just fine for me.

That's peculiar, because in my development environment, I can consistently reproduce this bug.

Can you take a video?

2024-06-21.23-46-44.mp4

Seems working to me.

That is indeed peculiar