Skip to content

Commit 2fd4af8

Browse files
committed
Update WinUIEssential package to workaround NonMaximizableWindow
1 parent b34c2b0 commit 2fd4af8

File tree

8 files changed

+18
-4
lines changed

8 files changed

+18
-4
lines changed

FastCopy/CopyDialogWindow.xaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
<Grid>
1515
<Grid.Resources>
1616
<essential:ModernStandardWindowContextMenu x:Name="WindowContextMenu" Window="{x:Bind}" />
17+
<essential:WindowWorkaround
18+
x:Name="NonMaximizableWindowWorkaround"
19+
IsMaximizable="False"
20+
Window="{x:Bind}" />
1721
<local:TaskbarControl
1822
x:Name="TaskbarControl"
1923
State="{x:Bind ViewModel.State, Mode=OneWay}"

FastCopy/FastCopy.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ xcopy "$(SolutionDir)$(Platform)\$(Configuration)\FastCopy\FastCopyShellExtensio
668668
<Import Project="..\packages\Microsoft.WindowsAppSDK.Widgets.1.8.250904007\build\native\Microsoft.WindowsAppSDK.Widgets.targets" Condition="Exists('..\packages\Microsoft.WindowsAppSDK.Widgets.1.8.250904007\build\native\Microsoft.WindowsAppSDK.Widgets.targets')" />
669669
<Import Project="..\packages\Microsoft.WindowsAppSDK.WinUI.1.8.250906003\build\native\Microsoft.WindowsAppSDK.WinUI.targets" Condition="Exists('..\packages\Microsoft.WindowsAppSDK.WinUI.1.8.250906003\build\native\Microsoft.WindowsAppSDK.WinUI.targets')" />
670670
<Import Project="..\packages\Microsoft.WindowsAppSDK.1.8.250916003\build\native\Microsoft.WindowsAppSDK.targets" Condition="Exists('..\packages\Microsoft.WindowsAppSDK.1.8.250916003\build\native\Microsoft.WindowsAppSDK.targets')" />
671-
<Import Project="..\packages\WinUIEssential.WinUI3.1.3.18\build\native\WinUIEssential.WinUI3.targets" Condition="Exists('..\packages\WinUIEssential.WinUI3.1.3.18\build\native\WinUIEssential.WinUI3.targets')" />
671+
<Import Project="..\packages\WinUIEssential.WinUI3.1.3.22\build\native\WinUIEssential.WinUI3.targets" Condition="Exists('..\packages\WinUIEssential.WinUI3.1.3.22\build\native\WinUIEssential.WinUI3.targets')" />
672672
</ImportGroup>
673673
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
674674
<PropertyGroup>
@@ -704,6 +704,6 @@ xcopy "$(SolutionDir)$(Platform)\$(Configuration)\FastCopy\FastCopyShellExtensio
704704
<Error Condition="!Exists('..\packages\Microsoft.WindowsAppSDK.WinUI.1.8.250906003\build\native\Microsoft.WindowsAppSDK.WinUI.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.WindowsAppSDK.WinUI.1.8.250906003\build\native\Microsoft.WindowsAppSDK.WinUI.targets'))" />
705705
<Error Condition="!Exists('..\packages\Microsoft.WindowsAppSDK.1.8.250916003\build\native\Microsoft.WindowsAppSDK.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.WindowsAppSDK.1.8.250916003\build\native\Microsoft.WindowsAppSDK.props'))" />
706706
<Error Condition="!Exists('..\packages\Microsoft.WindowsAppSDK.1.8.250916003\build\native\Microsoft.WindowsAppSDK.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.WindowsAppSDK.1.8.250916003\build\native\Microsoft.WindowsAppSDK.targets'))" />
707-
<Error Condition="!Exists('..\packages\WinUIEssential.WinUI3.1.3.18\build\native\WinUIEssential.WinUI3.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\WinUIEssential.WinUI3.1.3.18\build\native\WinUIEssential.WinUI3.targets'))" />
707+
<Error Condition="!Exists('..\packages\WinUIEssential.WinUI3.1.3.22\build\native\WinUIEssential.WinUI3.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\WinUIEssential.WinUI3.1.3.22\build\native\WinUIEssential.WinUI3.targets'))" />
708708
</Target>
709709
</Project>

FastCopy/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Identity
1515
Name="HO-COOH.RoboCopyEx"
1616
Publisher="CN=0000973C-93A8-4716-8C14-5EC442A69DBE"
17-
Version="1.0.9.0" />
17+
Version="1.0.10.0" />
1818

1919
<Properties>
2020
<DisplayName>RoboCopyEx</DisplayName>

FastCopy/SettingsWindow.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
mc:Ignorable="d">
1717

1818
<Grid x:Name="RootPanel">
19+
<Grid.Resources>
20+
<essential:WindowWorkaround
21+
x:Name="NonMaximizableWindowWorkaround"
22+
IsMaximizable="False"
23+
Window="{x:Bind}" />
24+
</Grid.Resources>
1925
<Grid.RowDefinitions>
2026
<RowDefinition Height="Auto" />
2127
<RowDefinition Height="*" />

FastCopy/WelcomeWindow.xaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222

2323
<StackPanel.Resources>
2424
<essential:WindowCaptionButtonThemeWorkaround x:Name="CaptionButtonsWorkaround" Window="{x:Bind}" />
25+
<essential:WindowWorkaround
26+
x:Name="NonMaximizableWindowWorkaround"
27+
IsMaximizable="False"
28+
Window="{x:Bind}" />
2529
<Style x:Key="AccentButtonStyleSupportAnimatedIcon" TargetType="Button">
2630
<Setter Property="Foreground" Value="{ThemeResource AccentButtonForeground}" />
2731
<Setter Property="Background" Value="{ThemeResource AccentButtonBackground}" />

FastCopy/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
<package id="Microsoft.WindowsAppSDK.Runtime" version="1.8.250916003" targetFramework="native" />
1818
<package id="Microsoft.WindowsAppSDK.Widgets" version="1.8.250904007" targetFramework="native" />
1919
<package id="Microsoft.WindowsAppSDK.WinUI" version="1.8.250906003" targetFramework="native" />
20-
<package id="WinUIEssential.WinUI3" version="1.3.18" targetFramework="native" />
20+
<package id="WinUIEssential.WinUI3" version="1.3.22" targetFramework="native" />
2121
</packages>

README.md

9.58 KB

Frame 8 FastCopy

A GUI wrapper for Windows' built-in robocopy and xcopy.

⚠️ WARNING ⚠️

MY SUBMISSION TO MICROSOFT STORE IS GETTING REJECTED FOR NO OBVIOUS REASON. BLAME THEM FOR ALL CONSEQUENCES.

I am very UPSET about the whole Microsoft business and eco-system, especially about WinUI and WASDK team. I do all these things just out of plain enthusiasm, and there IS a limit for that. I, myself alone, raised 100+ issues to the WinUI repro and majority of them have been ignored for years.

Some funny reasons for rejection:

Features

  • Easy to use copy/paste/move/delete dialog, just like your good old explorer, but much faster🚀

  • Support the new Windows 11 context menu, and the old windows context menu, with the fluent design icon adapted to Light/Dark theme

Screenshots/drama-1.png

180 KB
Loading

0 commit comments

Comments
 (0)