Skip to content

feat: (macOS) Add support for PasswordBox - #3034

Merged
jeromelaban merged 11 commits into
unoplatform:masterfrom
ajpinedam:dev/anpi/passwordBox.macOS
May 4, 2020
Merged

jeromelaban merged 11 commits into
unoplatform:masterfrom
ajpinedam:dev/anpi/passwordBox.macOS

Conversation

@ajpinedam

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): #
closes: #3005

PR Type

  • Feature

What is the current behavior?

PasswordBox is not supported on macOS

What is the new behavior?

macOS does support PasswordBox

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@gitpod-io

gitpod-io Bot commented Apr 22, 2020 •

Copy link
Copy Markdown

@ajpinedam

Copy link
Copy Markdown
Contributor Author

macOS_Login

@jeromelaban

Copy link
Copy Markdown
Member

@ajpinedam looks like the build failed.

@ajpinedam

ajpinedam commented Apr 27, 2020 •

Copy link
Copy Markdown
Contributor Author

The build is failing with this error, what is it about?

##[error]EXEC(0,0): Error : Removed method Windows.UI.Xaml.DependencyProperty Windows.UI.Xaml.Controls.PasswordBox.get_IsPasswordRevealButtonEnabledProperty() not found in ignore set.

##[error]EXEC(0,0): Error : Removed method System.Void Windows.UI.Xaml.Controls.TextBox..ctor(System.Boolean isPassword) not found in ignore set.

##[error]EXEC(0,0): Error : Removed property Windows.UI.Xaml.DependencyProperty Windows.UI.Xaml.Controls.PasswordBox::IsPasswordRevealButtonEnabledProperty() not found in ignore set.

@jeromelaban / @davidjohnoliver


private void OnParentChanged(object instance, object key, DependencyObjectParentChangedEventArgs args) => UpdateFontPartial();

protected TextBox(bool isPassword)

@jeromelaban jeromelaban Apr 28, 2020 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this one is not used, you'll need to add System.Void Windows.UI.Xaml.Controls.TextBox..ctor(System.Boolean isPassword) to the DiffIgnore file. There's a block missing since the update to 2.2.0, carl's PR will add it. Once the block is there, you can add your method.

@ajpinedam
ajpinedam force-pushed the dev/anpi/passwordBox.macOS branch from 9804bf3 to 9eca43a Compare May 4, 2020 02:28
@jeromelaban
jeromelaban merged commit 4332fdc into unoplatform:master May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[macOS] Support for PasswordBox

3 participants