Skip to content

Xaml-PasswordPage Modernize - #904

Draft
AndromedaMelody wants to merge 3 commits into
M2Team:mainfrom
AndromedaMelody:dev/pwddlg
Draft

AndromedaMelody wants to merge 3 commits into
M2Team:mainfrom
AndromedaMelody:dev/pwddlg

Conversation

@AndromedaMelody

@AndromedaMelody AndromedaMelody commented May 3, 2026 •

Copy link
Copy Markdown
Member
  • UI XAML
  • Non-English Password and switch code page
@dinhngtu

dinhngtu commented May 3, 2026

Copy link
Copy Markdown
Member

Looks like you can just exclude PasswordDialog.cpp from the NanaZip.UI.Modern project? Then you wouldn't need any changes to the PasswordDialog* files, and that'd make code sync with 7-Zip easier.

@AndromedaMelody AndromedaMelody changed the title XamlPasswordPage and PasswordManager Aug 6, 2026
@AndromedaMelody
AndromedaMelody force-pushed the dev/pwddlg branch 2 times, most recently from b3affde to 595e49b Compare August 6, 2026 15:53
@AndromedaMelody AndromedaMelody changed the title Xaml-PasswordPage Aug 6, 2026
@AndromedaMelody
AndromedaMelody marked this pull request as ready for review August 6, 2026 16:11
Comment thread NanaZip.Modern/Strings/en/PasswordPage.resjson
return E_ABORT;
}

Password.SetFrom(PasswordInput, ::lstrlenW(PasswordInput));

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.

Considering that winrt::hstring already gives us the size, should we pass that through K7ModernShowPasswordDialog as well instead of using strlen here?

this->OkKeyAcc().ScopeOwner(this->PasswordBoxInput());

winrt::hstring WindowTitle = winrt::hstring(
::K7ModernGetLegacyStringResource(3800));

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.

We should migrate this resource to modern RESW.

@AndromedaMelody
AndromedaMelody marked this pull request as draft September 9, 2026 13:33

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants